diff options
author | Ron Yorston <rmy@pobox.com> | 2020-08-04 08:24:19 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-08-13 17:12:56 +0200 |
commit | 5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d (patch) | |
tree | aeb911b86b6dab262429a8a9fa76bcdf697b02a3 /modutils | |
parent | 9914d8b861a0edb42051bd68a37bceb0562daa70 (diff) | |
download | busybox-w32-5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d.tar.gz busybox-w32-5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d.tar.bz2 busybox-w32-5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d.zip |
build system: drop PLATFORM_LINUX
PLATFORM_LINUX is a hidden configuration option which is disabled by
default and enabled at over a hundred locations for features that are
deemed to be Linux specific.
The only effect of PLATFORM_LINUX is to control compilation of
libbb/match_fstype.c. This file is only needed by mount and umount.
Remove all references to PLATFORM_LINUX and compile match_fstype.c
if mount or umount is enabled.
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/depmod.c | 1 | ||||
-rw-r--r-- | modutils/insmod.c | 1 | ||||
-rw-r--r-- | modutils/lsmod.c | 1 | ||||
-rw-r--r-- | modutils/modinfo.c | 1 | ||||
-rw-r--r-- | modutils/modprobe.c | 1 | ||||
-rw-r--r-- | modutils/rmmod.c | 1 |
6 files changed, 0 insertions, 6 deletions
diff --git a/modutils/depmod.c b/modutils/depmod.c index b5244fc60..318e7cdc7 100644 --- a/modutils/depmod.c +++ b/modutils/depmod.c | |||
@@ -10,7 +10,6 @@ | |||
10 | //config:config DEPMOD | 10 | //config:config DEPMOD |
11 | //config: bool "depmod (27 kb)" | 11 | //config: bool "depmod (27 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | ||
14 | //config: help | 13 | //config: help |
15 | //config: depmod generates modules.dep (and potentially modules.alias | 14 | //config: depmod generates modules.dep (and potentially modules.alias |
16 | //config: and modules.symbols) that contain dependency information | 15 | //config: and modules.symbols) that contain dependency information |
diff --git a/modutils/insmod.c b/modutils/insmod.c index 4dc0b6608..bd79a0f26 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config INSMOD | 9 | //config:config INSMOD |
10 | //config: bool "insmod (22 kb)" | 10 | //config: bool "insmod (22 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: insmod is used to load specified modules in the running kernel. | 13 | //config: insmod is used to load specified modules in the running kernel. |
15 | 14 | ||
diff --git a/modutils/lsmod.c b/modutils/lsmod.c index 39dc8e6b7..2beb12362 100644 --- a/modutils/lsmod.c +++ b/modutils/lsmod.c | |||
@@ -10,7 +10,6 @@ | |||
10 | //config:config LSMOD | 10 | //config:config LSMOD |
11 | //config: bool "lsmod (1.9 kb)" | 11 | //config: bool "lsmod (1.9 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | ||
14 | //config: help | 13 | //config: help |
15 | //config: lsmod is used to display a list of loaded modules. | 14 | //config: lsmod is used to display a list of loaded modules. |
16 | //config: | 15 | //config: |
diff --git a/modutils/modinfo.c b/modutils/modinfo.c index 1e63f745f..c5cdc7980 100644 --- a/modutils/modinfo.c +++ b/modutils/modinfo.c | |||
@@ -8,7 +8,6 @@ | |||
8 | //config:config MODINFO | 8 | //config:config MODINFO |
9 | //config: bool "modinfo (24 kb)" | 9 | //config: bool "modinfo (24 kb)" |
10 | //config: default y | 10 | //config: default y |
11 | //config: select PLATFORM_LINUX | ||
12 | //config: help | 11 | //config: help |
13 | //config: Show information about a Linux Kernel module | 12 | //config: Show information about a Linux Kernel module |
14 | 13 | ||
diff --git a/modutils/modprobe.c b/modutils/modprobe.c index 0a372a049..70c45903a 100644 --- a/modutils/modprobe.c +++ b/modutils/modprobe.c | |||
@@ -10,7 +10,6 @@ | |||
10 | //config:config MODPROBE | 10 | //config:config MODPROBE |
11 | //config: bool "modprobe (28 kb)" | 11 | //config: bool "modprobe (28 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | ||
14 | //config: help | 13 | //config: help |
15 | //config: Handle the loading of modules, and their dependencies on a high | 14 | //config: Handle the loading of modules, and their dependencies on a high |
16 | //config: level. | 15 | //config: level. |
diff --git a/modutils/rmmod.c b/modutils/rmmod.c index 8d4639f50..2b3c39153 100644 --- a/modutils/rmmod.c +++ b/modutils/rmmod.c | |||
@@ -10,7 +10,6 @@ | |||
10 | //config:config RMMOD | 10 | //config:config RMMOD |
11 | //config: bool "rmmod (3.3 kb)" | 11 | //config: bool "rmmod (3.3 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | ||
14 | //config: help | 13 | //config: help |
15 | //config: rmmod is used to unload specified modules from the kernel. | 14 | //config: rmmod is used to unload specified modules from the kernel. |
16 | 15 | ||