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:
parent
75fbff1326
commit
77216c368f
56 changed files with 89 additions and 3 deletions
|
@ -8,6 +8,7 @@ menu "Linux Module Utilities"
|
|||
config MODPROBE_SMALL
|
||||
bool "Simplified modutils"
|
||||
default y
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
Build smaller (~1.5 kbytes), simplified module tools.
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
//config:config DEPMOD
|
||||
//config: bool "depmod (27 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: depmod generates modules.dep (and potentially modules.alias
|
||||
//config: and modules.symbols) that contain dependency information
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
//config:config INSMOD
|
||||
//config: bool "insmod (22 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: insmod is used to load specified modules in the running kernel.
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
//config:config LSMOD
|
||||
//config: bool "lsmod (1.9 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: lsmod is used to display a list of loaded modules.
|
||||
//config:
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
//config:config MODINFO
|
||||
//config: bool "modinfo (24 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: Show information about a Linux Kernel module
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
//config:config MODPROBE
|
||||
//config: bool "modprobe (28 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: Handle the loading of modules, and their dependencies on a high
|
||||
//config: level.
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
//config:config RMMOD
|
||||
//config: bool "rmmod (3.3 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: rmmod is used to unload specified modules from the kernel.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue