CONFIG_DHCP -> CONFIG_APP_DHCP.

This commit is contained in:
Rob Landley 2006-06-22 18:48:34 +00:00
parent 135cee3741
commit 67d4943393
3 changed files with 14 additions and 14 deletions

View File

@ -96,7 +96,7 @@ USE_DPKG(APPLET(dpkg, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_DPKG_DEB(APPLET_ODDNAME(dpkg-deb, dpkg_deb, _BB_DIR_USR_BIN, _BB_SUID_NEVER, dpkg_deb)) USE_DPKG_DEB(APPLET_ODDNAME(dpkg-deb, dpkg_deb, _BB_DIR_USR_BIN, _BB_SUID_NEVER, dpkg_deb))
USE_DU(APPLET(du, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) USE_DU(APPLET(du, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_DUMPKMAP(APPLET(dumpkmap, _BB_DIR_BIN, _BB_SUID_NEVER)) USE_DUMPKMAP(APPLET(dumpkmap, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_DUMPLEASES(APPLET(dumpleases, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) USE_APP_DUMPLEASES(APPLET(dumpleases, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_E2FSCK(APPLET(e2fsck, _BB_DIR_SBIN, _BB_SUID_NEVER)) USE_E2FSCK(APPLET(e2fsck, _BB_DIR_SBIN, _BB_SUID_NEVER))
USE_E2LABEL(APPLET_NOUSAGE(e2label, tune2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) USE_E2LABEL(APPLET_NOUSAGE(e2label, tune2fs, _BB_DIR_SBIN, _BB_SUID_NEVER))
USE_ECHO(APPLET(echo, _BB_DIR_BIN, _BB_SUID_NEVER)) USE_ECHO(APPLET(echo, _BB_DIR_BIN, _BB_SUID_NEVER))
@ -276,8 +276,8 @@ USE_TRACEROUTE(APPLET(traceroute, _BB_DIR_USR_BIN, _BB_SUID_MAYBE))
USE_TRUE(APPLET(true, _BB_DIR_BIN, _BB_SUID_NEVER)) USE_TRUE(APPLET(true, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_TTY(APPLET(tty, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) USE_TTY(APPLET(tty, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_TUNE2FS(APPLET(tune2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) USE_TUNE2FS(APPLET(tune2fs, _BB_DIR_SBIN, _BB_SUID_NEVER))
USE_UDHCPC(APPLET(udhcpc, _BB_DIR_SBIN, _BB_SUID_NEVER)) USE_APP_UDHCPC(APPLET(udhcpc, _BB_DIR_SBIN, _BB_SUID_NEVER))
USE_UDHCPD(APPLET(udhcpd, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) USE_APP_UDHCPD(APPLET(udhcpd, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
USE_UMOUNT(APPLET(umount, _BB_DIR_BIN, _BB_SUID_NEVER)) USE_UMOUNT(APPLET(umount, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_UNAME(APPLET(uname, _BB_DIR_BIN, _BB_SUID_NEVER)) USE_UNAME(APPLET(uname, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_UNCOMPRESS(APPLET(uncompress, _BB_DIR_BIN, _BB_SUID_NEVER)) USE_UNCOMPRESS(APPLET(uncompress, _BB_DIR_BIN, _BB_SUID_NEVER))

View File

@ -5,7 +5,7 @@
menu "udhcp Server/Client" menu "udhcp Server/Client"
config CONFIG_UDHCPD config CONFIG_APP_UDHCPD
bool "udhcp Server (udhcpd)" bool "udhcp Server (udhcpd)"
default n default n
help help
@ -14,7 +14,7 @@ config CONFIG_UDHCPD
See http://udhcp.busybox.net for further details. See http://udhcp.busybox.net for further details.
config CONFIG_UDHCPC config CONFIG_APP_UDHCPC
bool "udhcp Client (udhcpc)" bool "udhcp Client (udhcpc)"
default n default n
help help
@ -26,10 +26,10 @@ config CONFIG_UDHCPC
See http://udhcp.busybox.net for further details. See http://udhcp.busybox.net for further details.
config CONFIG_DUMPLEASES config CONFIG_APP_DUMPLEASES
bool "Lease display utility (dumpleases)" bool "Lease display utility (dumpleases)"
default n default n
depends on CONFIG_UDHCPD depends on CONFIG_APP_UDHCPD
help help
dumpleases displays the leases written out by the udhcpd server. dumpleases displays the leases written out by the udhcpd server.
Lease times are stored in the file by time remaining in lease, or Lease times are stored in the file by time remaining in lease, or
@ -40,7 +40,7 @@ config CONFIG_DUMPLEASES
config CONFIG_FEATURE_UDHCP_SYSLOG config CONFIG_FEATURE_UDHCP_SYSLOG
bool " Log udhcp messages to syslog (instead of stdout)" bool " Log udhcp messages to syslog (instead of stdout)"
default n default n
depends on CONFIG_UDHCPD || CONFIG_UDHCPC depends on CONFIG_APP_UDHCPD || CONFIG_APP_UDHCPC
help help
If selected, udhcpd will log all its messages to syslog, otherwise, If selected, udhcpd will log all its messages to syslog, otherwise,
it will attempt to log them to stdout. it will attempt to log them to stdout.
@ -50,7 +50,7 @@ config CONFIG_FEATURE_UDHCP_SYSLOG
config CONFIG_FEATURE_UDHCP_DEBUG config CONFIG_FEATURE_UDHCP_DEBUG
bool " Compile udhcp with noisy debugging messages" bool " Compile udhcp with noisy debugging messages"
default n default n
depends on CONFIG_UDHCPD || CONFIG_UDHCPC depends on CONFIG_APP_UDHCPD || CONFIG_APP_UDHCPC
help help
If selected, udhcpd will output extra debugging output. If using If selected, udhcpd will output extra debugging output. If using
this option, compile uDHCP with "-g", and do not fork the daemon to this option, compile uDHCP with "-g", and do not fork the daemon to

View File

@ -12,10 +12,10 @@ endif
srcdir=$(top_srcdir)/networking/udhcp srcdir=$(top_srcdir)/networking/udhcp
#ok, so I forgot how to do an or, but this is a quick and dirty hack #ok, so I forgot how to do an or, but this is a quick and dirty hack
ifeq ($(strip $(CONFIG_UDHCPC)),y) ifeq ($(strip $(CONFIG_APP_UDHCPC)),y)
CONFIG_UDHCP_SHARED=y CONFIG_UDHCP_SHARED=y
else else
ifeq ($(strip $(CONFIG_UDHCPD)),y) ifeq ($(strip $(CONFIG_APP_UDHCPD)),y)
CONFIG_UDHCP_SHARED=y CONFIG_UDHCP_SHARED=y
else else
CONFIG_UDHCP_SHARED=n CONFIG_UDHCP_SHARED=n
@ -25,11 +25,11 @@ endif
UDHCP-y:= UDHCP-y:=
UDHCP-$(CONFIG_UDHCP_SHARED) += common.c options.c packet.c pidfile.c \ UDHCP-$(CONFIG_UDHCP_SHARED) += common.c options.c packet.c pidfile.c \
signalpipe.c socket.c signalpipe.c socket.c
UDHCP-$(CONFIG_UDHCPC) += dhcpc.c clientpacket.c clientsocket.c \ UDHCP-$(CONFIG_APP_UDHCPC) += dhcpc.c clientpacket.c clientsocket.c \
script.c script.c
UDHCP-$(CONFIG_UDHCPD) += dhcpd.c arpping.c files.c leases.c \ UDHCP-$(CONFIG_APP_UDHCPD) += dhcpd.c arpping.c files.c leases.c \
serverpacket.c static_leases.c serverpacket.c static_leases.c
UDHCP-$(CONFIG_DUMPLEASES) += dumpleases.c UDHCP-$(CONFIG_APP_DUMPLEASES) += dumpleases.c
UDHCP_OBJS:=$(patsubst %.c,$(UDHCP_DIR)%.o, $(UDHCP-y)) UDHCP_OBJS:=$(patsubst %.c,$(UDHCP_DIR)%.o, $(UDHCP-y))
ifneq ($(strip $(UDHCP-y)),) ifneq ($(strip $(UDHCP-y)),)