mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
package/dhcpcd: add udev optional dependency
udev is an optional dependency (enabled by default) since version 6.1.0:12bbc8cb5cSigned-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit580eac9468) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
bb5d61cf2b
commit
6d02ca1550
@@ -16,6 +16,13 @@ DHCPCD_CONFIG_OPTS = \
|
||||
--os=linux \
|
||||
--privsepuser=dhcpcd
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
DHCPCD_CONFIG_OPTS += --with-udev
|
||||
DHCPCD_DEPENDENCIES += udev
|
||||
else
|
||||
DHCPCD_CONFIG_OPTS += --without-udev
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
DHCPCD_CONFIG_OPTS += --enable-static
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user