Fix non-Linux builds
Various tools are Linuxish and should thus only attempted to build on Linux only. Some features are also Linux-only. Also, libresolv is used on all GNU platforms, notably GNU/Hurd and GNU/kfreeBSD. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
committed by
Denys Vlasenko
parent
75fbff1326
commit
77216c368f
@ -11,6 +11,7 @@
|
||||
//config:config IP
|
||||
//config: bool "ip (35 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: The "ip" applet is a TCP/IP interface configuration and routing
|
||||
//config: utility.
|
||||
@ -21,6 +22,7 @@
|
||||
//config:config IPADDR
|
||||
//config: bool "ipaddr (14 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: select FEATURE_IP_ADDRESS
|
||||
//config: help
|
||||
//config: Short form of "ip addr"
|
||||
@ -28,6 +30,7 @@
|
||||
//config:config IPLINK
|
||||
//config: bool "iplink (17 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: select FEATURE_IP_LINK
|
||||
//config: help
|
||||
//config: Short form of "ip link"
|
||||
@ -35,6 +38,7 @@
|
||||
//config:config IPROUTE
|
||||
//config: bool "iproute (15 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: select FEATURE_IP_ROUTE
|
||||
//config: help
|
||||
//config: Short form of "ip route"
|
||||
@ -49,6 +53,7 @@
|
||||
//config:config IPRULE
|
||||
//config: bool "iprule (10 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: select FEATURE_IP_RULE
|
||||
//config: help
|
||||
//config: Short form of "ip rule"
|
||||
@ -56,6 +61,7 @@
|
||||
//config:config IPNEIGH
|
||||
//config: bool "ipneigh (8.3 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: select FEATURE_IP_NEIGH
|
||||
//config: help
|
||||
//config: Short form of "ip neigh"
|
||||
|
Reference in New Issue
Block a user