From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay03.ispgateway.de ([80.67.18.15]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Sd6hZ-0002iS-2c for ptxdist@pengutronix.de; Fri, 08 Jun 2012 23:26:56 +0200 Received: from [88.217.102.78] (helo=localhost) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1Sd6hY-00067A-Cw for ptxdist@pengutronix.de; Fri, 08 Jun 2012 23:26:36 +0200 From: Bernhard Walle Date: Fri, 8 Jun 2012 23:26:34 +0200 Message-Id: <1339190794-21985-1-git-send-email-bernhard@bwalle.de> Subject: [ptxdist] [PATCH] dhcp: Add option to disable DHCPv6 Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de I needed that option to compile the DHCP client on an IPv4-only uclibc-based target system. Signed-off-by: Bernhard Walle --- rules/dhcp.in | 7 +++++++ rules/dhcp.make | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/rules/dhcp.in b/rules/dhcp.in index f2b920c..57dc1db 100644 --- a/rules/dhcp.in +++ b/rules/dhcp.in @@ -16,6 +16,13 @@ menuconfig DHCP if DHCP +config DHCP_DHCPV6 + bool + prompt "Enable DHCPv6" + default y + help + Enables/disables the DHCPv6 protocol. + config DHCP_SERVER bool prompt "DHCP Server dhcpd" diff --git a/rules/dhcp.make b/rules/dhcp.make index fc42a87..ab1b42e 100644 --- a/rules/dhcp.make +++ b/rules/dhcp.make @@ -38,7 +38,7 @@ DHCP_DIR := $(BUILDDIR)/$(DHCP) # DHCP_AUTOCONF := \ $(CROSS_AUTOCONF_ROOT) \ - --enable-dhcpv6 + --$(call ptx/endis, PTXCONF_DHCP_DHCPV6)-dhcpv6 # overwrite CFLAGS to remove -Werror DHCP_MAKE_OPT := \ -- 1.7.9.5 -- ptxdist mailing list ptxdist@pengutronix.de