From: Bernhard Walle <bernhard@bwalle.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] dhcp: Add option to disable DHCPv6
Date: Fri, 8 Jun 2012 23:26:34 +0200 [thread overview]
Message-ID: <1339190794-21985-1-git-send-email-bernhard@bwalle.de> (raw)
I needed that option to compile the DHCP client on an IPv4-only
uclibc-based target system.
Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
---
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
reply other threads:[~2012-06-08 21:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1339190794-21985-1-git-send-email-bernhard@bwalle.de \
--to=bernhard@bwalle.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox