package/dhcpcd: add udev optional dependency
udev is an optional dependency (enabled by default) since version 6.1.0:
12bbc8cb5c
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
9e20f09109
commit
580eac9468
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user