- simplify config options of the ip applet.
This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)
No binary (build failed)
—
(log yok)
| @@ -337,99 +337,81 @@ config CONFIG_IP | |
| utility. You generally don't need "ip" to use busybox with | |
| TCP/IP. | |
| - | if CONFIG_IP && CONFIG_IPADDR |
| - | config CONFIG_FEATURE_IP_ADDRESS |
| - | default y |
| - | comment " address (forced enabled for ipaddr)" |
| - | endif |
| - | if ! (CONFIG_IP && CONFIG_IPADDR) |
| - | 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 |
| - | default y |
| - | comment " link (forced enabled for iplink)" |
| - | endif |
| - | if !(CONFIG_IP && CONFIG_IPLINK) |
| - | 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 |
| - | default y |
| - | comment " route (forced enabled for iproute)" |
| - | endif |
| - | if !(CONFIG_IP && CONFIG_IPROUTE) |
| - | 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 |
| - | default y |
| - | comment " tunnel (forced enabled for iptunnel)" |
| - | endif |
| - | if !(CONFIG_IP && CONFIG_IPTUNNEL) |
| - | config CONFIG_FEATURE_IP_TUNNEL |
| - | bool " tunnel" |
| - | default n |
| - | depends on CONFIG_IP |
| - | help |
| - | Add support for tunneling commands to "ip". |
| - | endif |
| + | config CONFIG_FEATURE_IP_ADDRESS |
| + | bool "ip address" |
| + | default y |
| + | depends on CONFIG_IP |
| + | help |
| + | Address manipulation support for the "ip" applet. |
| - | config CONFIG_IPCALC |
| - | bool "ipcalc" |
| - | default n |
| + | config CONFIG_FEATURE_IP_LINK |
| + | bool "ip link" |
| + | default y |
| + | depends on CONFIG_IP |
| help | |
| - | ipcalc takes an IP address and netmask and calculates the |
| - | resulting broadcast, network, and host range. |
| + | Configure network devices with "ip". |
| - | config CONFIG_FEATURE_IPCALC_FANCY |
| - | bool " Fancy IPCALC, more options, adds 1 kbyte" |
| + | config CONFIG_FEATURE_IP_ROUTE |
| + | bool "ip route" |
| default y | |
| - | depends on CONFIG_IPCALC |
| + | depends on CONFIG_IP |
| help | |
| - | Adds the options hostname, prefix and silent to the output of "ipcalc". |
| + | Add support for routing table management to "ip". |
| - | config CONFIG_IPADDR |
| - | bool "ipaddr" |
| + | config CONFIG_FEATURE_IP_TUNNEL |
| + | bool "ip tunnel" |
| default n | |
| + | depends on CONFIG_IP |
| help | |
| - | Equivalent to selecting address support to "ip", above. |
| + | Add support for tunneling commands to "ip". |
| - | config CONFIG_IPLINK |
| - | bool "iplink" |
| + | config CONFIG_FEATURE_IP_SHORT_FORMS |
| + | bool "Support short forms of ip commands." |
| default n | |
| + | depends on CONFIG_IP |
| help | |
| - | Equivalent to selecting link support to "ip", above. |
| + | 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 "iproute" |
| - | default n |
| - | help |
| - | Equivalent to selecting route support to "ip", above. |
| + | bool |
| + | default y |
| + | depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_ROUTE |
| config CONFIG_IPTUNNEL | |
| - | bool "iptunnel" |
| + | bool |
| + | default y |
| + | depends on CONFIG_FEATURE_IP_SHORT_FORMS && CONFIG_FEATURE_IP_TUNNEL |
| + | |
| + | config CONFIG_IPCALC |
| + | bool "ipcalc" |
| default n | |
| help | |
| - | Equivalent to selecting tunnel support to "ip", above. |
| + | ipcalc takes an IP address and netmask and calculates the |
| + | resulting broadcast, network, and host range. |
| + | |
| + | config CONFIG_FEATURE_IPCALC_FANCY |
| + | bool " Fancy IPCALC, more options, adds 1 kbyte" |
| + | default y |
| + | depends on CONFIG_IPCALC |
| + | help |
| + | Adds the options hostname, prefix and silent to the output of "ipcalc". |
| config CONFIG_NAMEIF | |
| bool "nameif" | |