config BR2_PACKAGE_DHCPCD
- depends on BR2_INET_IPV6
- depends on BR2_USE_MMU # fork()
bool "dhcpcd"
+ # No support for AI_ADDRCONFIG
+ depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
+ !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
help
An RFC2131 compliant DHCP client
http://roy.marples.name/downloads/dhcpcd
-
-comment "dhcpcd needs a toolchain w/ IPv6"
- depends on !BR2_INET_IPV6
#
################################################################################
-DHCPCD_VERSION = 5.6.7
+DHCPCD_VERSION = 6.1.0
DHCPCD_SOURCE = dhcpcd-$(DHCPCD_VERSION).tar.bz2
-DHCPCD_SITE = http://roy.marples.name/downloads/dhcpcd/
+DHCPCD_SITE = http://roy.marples.name/downloads/dhcpcd
DHCPCD_LICENSE = BSD-2c
+ifeq ($(BR2_INET_IPV6),)
+ DHCPCD_CONFIG_OPT += --disable-ipv6
+endif
+
+ifeq ($(BR2_USE_MMU),)
+ DHCPCD_CONFIG_OPT += --disable-fork
+endif
+
define DHCPCD_CONFIGURE_CMDS
(cd $(@D); \
- ./configure \
+ $(TARGET_CONFIGURE_OPTS) ./configure \
--target=$(BR2_GCC_TARGET_ARCH) \
--os=linux \
$(DHCPCD_CONFIG_OPT) )
endef
define DHCPCD_BUILD_CMDS
- $(MAKE) \
- $(TARGET_CONFIGURE_OPTS) \
+ $(TARGET_MAKE_ENV) $(MAKE) \
-C $(@D) all
endef