aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-12-05 08:41:41 +0000
committerEric Andersen <andersen@codepoet.org>2002-12-05 08:41:41 +0000
commitc9f20d9fb93c6c316518483fd103f3afab5cf1af (patch)
tree72904548bb54dcaf78017d3b35296765437e0bd5 /networking/udhcp
parentdeca106b6dad70ad0a1312a82d762aa8d8ad52ba (diff)
downloadbusybox-w32-c9f20d9fb93c6c316518483fd103f3afab5cf1af.tar.gz
busybox-w32-c9f20d9fb93c6c316518483fd103f3afab5cf1af.tar.bz2
busybox-w32-c9f20d9fb93c6c316518483fd103f3afab5cf1af.zip
Yet another major rework of the BusyBox config system, using the considerably
modified Kbuild system I put into uClibc. With this, there should be no more need to modify Rules.mak since I've moved all the interesting options into the config system. I think I've got everything updated, but you never know, I may have made some mistakes, so watch closely. -Erik
Diffstat (limited to 'networking/udhcp')
-rw-r--r--networking/udhcp/Config.in42
-rw-r--r--networking/udhcp/Makefile.in6
-rw-r--r--networking/udhcp/config.in18
3 files changed, 48 insertions, 18 deletions
diff --git a/networking/udhcp/Config.in b/networking/udhcp/Config.in
new file mode 100644
index 000000000..5baaa6a49
--- /dev/null
+++ b/networking/udhcp/Config.in
@@ -0,0 +1,42 @@
1#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "udhcp Server/Client"
7
8config CONFIG_UDHCPD
9 bool "udhcp Server (udhcpd)"
10 default n
11 help
12 Please submit a patch to add help text for this item.
13
14config CONFIG_UDHCPC
15 bool "udhcp Client (udhcpc)"
16 default n
17 help
18 Please submit a patch to add help text for this item.
19
20config CONFIG_DUMPLEASES
21 bool "Lease display utility (dumpleases)"
22 default n
23 depends on CONFIG_UDHCPD
24 help
25 Please submit a patch to add help text for this item.
26
27config CONFIG_FEATURE_UDHCP_SYSLOG
28 bool " Log udhcp messages to syslog (instead of stdout)"
29 default n
30 depends on CONFIG_UDHCPD || CONFIG_UDHCPC
31 help
32 Please submit a patch to add help text for this item.
33
34config CONFIG_FEATURE_UDHCP_DEBUG
35 bool " Compile udhcp with noisy debugging messages"
36 default n
37 depends on CONFIG_UDHCPD || CONFIG_UDHCPC
38 help
39 Please submit a patch to add help text for this item.
40
41endmenu
42
diff --git a/networking/udhcp/Makefile.in b/networking/udhcp/Makefile.in
index d76715baa..0b94d9c8f 100644
--- a/networking/udhcp/Makefile.in
+++ b/networking/udhcp/Makefile.in
@@ -44,3 +44,9 @@ libraries-y+=$(UDHCP_DIR)$(UDHCP_AR)
44$(UDHCP_DIR)$(UDHCP_AR): $(patsubst %,$(UDHCP_DIR)%, $(UDHCP-y)) 44$(UDHCP_DIR)$(UDHCP_AR): $(patsubst %,$(UDHCP_DIR)%, $(UDHCP-y))
45 $(AR) -ro $@ $(patsubst %,$(UDHCP_DIR)%, $(UDHCP-y)) 45 $(AR) -ro $@ $(patsubst %,$(UDHCP_DIR)%, $(UDHCP-y))
46 46
47$(UDHCP_DIR)dhcpc.o: $(UDHCP_DIR)dhcpc.c
48 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -DCOMBINED_BINARY -c $< -o $@
49
50$(UDHCP_DIR)dhcpd.o: $(UDHCP_DIR)dhcpd.c
51 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -DCOMBINED_BINARY -c $< -o $@
52
diff --git a/networking/udhcp/config.in b/networking/udhcp/config.in
deleted file mode 100644
index ede632a8a..000000000
--- a/networking/udhcp/config.in
+++ /dev/null
@@ -1,18 +0,0 @@
1#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6mainmenu_option next_comment
7comment 'udhcp Server/Client'
8
9bool 'udhcp Server (udhcpd)' CONFIG_UDHCPD
10bool 'udhcp Client (udhcpc)' CONFIG_UDHCPC
11bool 'Lease display utility (dumpleases)' CONFIG_DUMPLEASES
12if [ "$CONFIG_UDHCPD" = "y" -o "$CONFIG_UDHCPC" = "y" ]; then
13 bool ' Log udhcp messages to syslog (instead of stdout)' CONFIG_FEATURE_UDHCP_SYSLOG
14 bool ' Compile udhcp with noisy debugging messages' CONFIG_FEATURE_UDHCP_DEBUG
15fi
16
17endmenu
18