|
@@ -16,6 +16,13 @@ DHCPCD_CONFIG_OPTS = \
|
|
--os=linux \
|
|
--os=linux \
|
|
--privsepuser=dhcpcd
|
|
--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)
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
DHCPCD_CONFIG_OPTS += --enable-static
|
|
DHCPCD_CONFIG_OPTS += --enable-static
|
|
endif
|
|
endif
|