mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 05:51:45 -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
a69107c62b
commit
c91c3b9b96
@@ -15,6 +15,13 @@ DHCPCD_CONFIG_OPTS = \
|
|||||||
--libexecdir=/lib/dhcpcd \
|
--libexecdir=/lib/dhcpcd \
|
||||||
--os=linux
|
--os=linux
|
||||||
|
|
||||||
|
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)
|
ifeq ($(BR2_STATIC_LIBS),y)
|
||||||
DHCPCD_CONFIG_OPTS += --enable-static
|
DHCPCD_CONFIG_OPTS += --enable-static
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user