- simplify config options of the ip applet.

This commit is contained in:
Bernhard Reutner-Fischer 2006-04-18 08:11:37 +00:00
parent a2e98043d5
commit 2949577981

View File

@ -337,61 +337,67 @@ config CONFIG_IP
utility. You generally don't need "ip" to use busybox with utility. You generally don't need "ip" to use busybox with
TCP/IP. TCP/IP.
if CONFIG_IP && CONFIG_IPADDR config CONFIG_FEATURE_IP_ADDRESS
config CONFIG_FEATURE_IP_ADDRESS bool "ip address"
default y default y
comment " address (forced enabled for ipaddr)" depends on CONFIG_IP
endif help
if ! (CONFIG_IP && CONFIG_IPADDR) Address manipulation support for the "ip" applet.
config CONFIG_FEATURE_IP_ADDRESS
bool " address"
default y
depends on CONFIG_IP
help
Address manipulation support for the "ip" applet.
endif
if CONFIG_IP && CONFIG_IPLINK config CONFIG_FEATURE_IP_LINK
config CONFIG_FEATURE_IP_LINK bool "ip link"
default y default y
comment " link (forced enabled for iplink)" depends on CONFIG_IP
endif help
if !(CONFIG_IP && CONFIG_IPLINK) Configure network devices with "ip".
config CONFIG_FEATURE_IP_LINK
bool " link"
default y
depends on CONFIG_IP
help
Configure network devices with "ip".
endif
if CONFIG_IP && CONFIG_IPROUTE config CONFIG_FEATURE_IP_ROUTE
config CONFIG_FEATURE_IP_ROUTE bool "ip route"
default y default y
comment " route (forced enabled for iproute)" depends on CONFIG_IP
endif help
if !(CONFIG_IP && CONFIG_IPROUTE) Add support for routing table management to "ip".
config CONFIG_FEATURE_IP_ROUTE
bool " route"
default y
depends on CONFIG_IP
help
Add support for routing table management to "ip".
endif
if CONFIG_IP && CONFIG_IPTUNNEL config CONFIG_FEATURE_IP_TUNNEL
config CONFIG_FEATURE_IP_TUNNEL bool "ip tunnel"
default y default n
comment " tunnel (forced enabled for iptunnel)" depends on CONFIG_IP
endif help
if !(CONFIG_IP && CONFIG_IPTUNNEL) Add support for tunneling commands to "ip".
config CONFIG_FEATURE_IP_TUNNEL
bool " tunnel" config CONFIG_FEATURE_IP_SHORT_FORMS
default n bool "Support short forms of ip commands."
depends on CONFIG_IP default n
help depends on CONFIG_IP
Add support for tunneling commands to "ip". help
endif Also support short-form of ip <OBJECT> commands:
ip addr -> ipaddr
ip link -> iplink
ip route -> iproute
ip tunnel -> iptunnel
Say N unless you desparately need the short form of the ip
object commands.
config CONFIG_IPADDR
bool
default y
depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_ADDRESS
config CONFIG_IPLINK
bool
default y
depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_LINK
config CONFIG_IPROUTE
bool
default y
depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_ROUTE
config CONFIG_IPTUNNEL
bool
default y
depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_TUNNEL
config CONFIG_IPCALC config CONFIG_IPCALC
bool "ipcalc" bool "ipcalc"
@ -407,30 +413,6 @@ config CONFIG_FEATURE_IPCALC_FANCY
help help
Adds the options hostname, prefix and silent to the output of "ipcalc". Adds the options hostname, prefix and silent to the output of "ipcalc".
config CONFIG_IPADDR
bool "ipaddr"
default n
help
Equivalent to selecting address support to "ip", above.
config CONFIG_IPLINK
bool "iplink"
default n
help
Equivalent to selecting link support to "ip", above.
config CONFIG_IPROUTE
bool "iproute"
default n
help
Equivalent to selecting route support to "ip", above.
config CONFIG_IPTUNNEL
bool "iptunnel"
default n
help
Equivalent to selecting tunnel support to "ip", above.
config CONFIG_NAMEIF config CONFIG_NAMEIF
bool "nameif" bool "nameif"
default n default n