[Buildroot] [PATCH 1/2] alsa-utils: add udev optional dependency

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Dec 14 08:09:28 UTC 2018


On Fri, 14 Dec 2018 08:52:18 +0100, Fabrice Fontaine wrote:

> > Is there a build time dependency of alsa-utils on udev? As far as I can
> > see alsa-utils only installs the .rules file, so the order of build
> > should not matter.  
> Indeed, there is no build time dependency however if we remove
> --with-udev-rules-dir workaround, udev dependency will be needed to
> have a reproducible build because if udev.pc is not found, rules will
> be installed in /lib/udev/rules.d and if udev.pc is found, rules will
> be installed in /usr/lib/udev/rules.d.

I think what Baruch said is that you should keep:

+ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
+ALSA_UTILS_CONF_OPTS += --with-udev-rules-dir=/usr/lib/udev/rules.d

Best regards,

Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering

More information about the buildroot mailing list