aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2020-08-04 08:24:19 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-08-13 17:12:56 +0200
commit5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d (patch)
treeaeb911b86b6dab262429a8a9fa76bcdf697b02a3 /modutils
parent9914d8b861a0edb42051bd68a37bceb0562daa70 (diff)
downloadbusybox-5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d.tar.gz
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.c1
-rw-r--r--modutils/insmod.c1
-rw-r--r--modutils/lsmod.c1
-rw-r--r--modutils/modinfo.c1
-rw-r--r--modutils/modprobe.c1
-rw-r--r--modutils/rmmod.c1
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 @@
//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
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 @@
//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.
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 @@
//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:
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 @@
//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
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 @@
//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.
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 @@
//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.