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 | |
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>
109 files changed, 2 insertions, 146 deletions
@@ -312,7 +312,6 @@ config BUSYBOX_EXEC_PATH | |||
312 | config SELINUX | 312 | config SELINUX |
313 | bool "Support NSA Security Enhanced Linux" | 313 | bool "Support NSA Security Enhanced Linux" |
314 | default n | 314 | default n |
315 | select PLATFORM_LINUX | ||
316 | help | 315 | help |
317 | Enable support for SELinux in applets ls, ps, and id. Also provide | 316 | Enable support for SELinux in applets ls, ps, and id. Also provide |
318 | the option of compiling in SELinux applets. | 317 | the option of compiling in SELinux applets. |
@@ -358,17 +357,6 @@ config FEATURE_SYSLOG | |||
358 | #This option is auto-selected when you select any applet which may | 357 | #This option is auto-selected when you select any applet which may |
359 | #send its output to syslog. You do not need to select it manually. | 358 | #send its output to syslog. You do not need to select it manually. |
360 | 359 | ||
361 | config PLATFORM_LINUX | ||
362 | bool #No description makes it a hidden option | ||
363 | default n | ||
364 | #help | ||
365 | #For the most part, busybox requires only POSIX compatibility | ||
366 | #from the target system, but some applets and features use | ||
367 | #Linux-specific interfaces. | ||
368 | # | ||
369 | #This is automatically selected if any applet or feature requires | ||
370 | #Linux-specific interfaces. You do not need to select it manually. | ||
371 | |||
372 | comment 'Build Options' | 360 | comment 'Build Options' |
373 | 361 | ||
374 | config STATIC | 362 | config STATIC |
diff --git a/configs/android2_defconfig b/configs/android2_defconfig index 03323654d..d4b8f1616 100644 --- a/configs/android2_defconfig +++ b/configs/android2_defconfig | |||
@@ -16,7 +16,6 @@ CONFIG_HAVE_DOT_CONFIG=y | |||
16 | # CONFIG_EXTRA_COMPAT is not set | 16 | # CONFIG_EXTRA_COMPAT is not set |
17 | # CONFIG_INCLUDE_SUSv2 is not set | 17 | # CONFIG_INCLUDE_SUSv2 is not set |
18 | # CONFIG_USE_PORTABLE_CODE is not set | 18 | # CONFIG_USE_PORTABLE_CODE is not set |
19 | CONFIG_PLATFORM_LINUX=y | ||
20 | CONFIG_FEATURE_BUFFERS_USE_MALLOC=y | 19 | CONFIG_FEATURE_BUFFERS_USE_MALLOC=y |
21 | # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set | 20 | # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set |
22 | # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set | 21 | # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set |
diff --git a/configs/android_502_defconfig b/configs/android_502_defconfig index 6b640bfb7..503157c12 100644 --- a/configs/android_502_defconfig +++ b/configs/android_502_defconfig | |||
@@ -87,7 +87,6 @@ CONFIG_DESKTOP=y | |||
87 | # CONFIG_EXTRA_COMPAT is not set | 87 | # CONFIG_EXTRA_COMPAT is not set |
88 | CONFIG_INCLUDE_SUSv2=y | 88 | CONFIG_INCLUDE_SUSv2=y |
89 | # CONFIG_USE_PORTABLE_CODE is not set | 89 | # CONFIG_USE_PORTABLE_CODE is not set |
90 | CONFIG_PLATFORM_LINUX=y | ||
91 | CONFIG_FEATURE_BUFFERS_USE_MALLOC=y | 90 | CONFIG_FEATURE_BUFFERS_USE_MALLOC=y |
92 | # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set | 91 | # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set |
93 | # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set | 92 | # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set |
diff --git a/configs/android_defconfig b/configs/android_defconfig index 3b34f37aa..92a66048a 100644 --- a/configs/android_defconfig +++ b/configs/android_defconfig | |||
@@ -16,7 +16,6 @@ CONFIG_DESKTOP=y | |||
16 | # CONFIG_EXTRA_COMPAT is not set | 16 | # CONFIG_EXTRA_COMPAT is not set |
17 | # CONFIG_INCLUDE_SUSv2 is not set | 17 | # CONFIG_INCLUDE_SUSv2 is not set |
18 | # CONFIG_USE_PORTABLE_CODE is not set | 18 | # CONFIG_USE_PORTABLE_CODE is not set |
19 | CONFIG_PLATFORM_LINUX=y | ||
20 | CONFIG_FEATURE_BUFFERS_USE_MALLOC=y | 19 | CONFIG_FEATURE_BUFFERS_USE_MALLOC=y |
21 | # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set | 20 | # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set |
22 | # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set | 21 | # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set |
diff --git a/configs/android_ndk_defconfig b/configs/android_ndk_defconfig index 7f65d544c..03d497d2e 100644 --- a/configs/android_ndk_defconfig +++ b/configs/android_ndk_defconfig | |||
@@ -16,7 +16,6 @@ CONFIG_DESKTOP=y | |||
16 | # CONFIG_EXTRA_COMPAT is not set | 16 | # CONFIG_EXTRA_COMPAT is not set |
17 | # CONFIG_INCLUDE_SUSv2 is not set | 17 | # CONFIG_INCLUDE_SUSv2 is not set |
18 | # CONFIG_USE_PORTABLE_CODE is not set | 18 | # CONFIG_USE_PORTABLE_CODE is not set |
19 | CONFIG_PLATFORM_LINUX=y | ||
20 | CONFIG_FEATURE_BUFFERS_USE_MALLOC=y | 19 | CONFIG_FEATURE_BUFFERS_USE_MALLOC=y |
21 | # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set | 20 | # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set |
22 | # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set | 21 | # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set |
diff --git a/configs/cygwin_defconfig b/configs/cygwin_defconfig index ee370a61d..c09bc9281 100644 --- a/configs/cygwin_defconfig +++ b/configs/cygwin_defconfig | |||
@@ -16,7 +16,6 @@ CONFIG_DESKTOP=y | |||
16 | # CONFIG_EXTRA_COMPAT is not set | 16 | # CONFIG_EXTRA_COMPAT is not set |
17 | CONFIG_INCLUDE_SUSv2=y | 17 | CONFIG_INCLUDE_SUSv2=y |
18 | # CONFIG_USE_PORTABLE_CODE is not set | 18 | # CONFIG_USE_PORTABLE_CODE is not set |
19 | CONFIG_PLATFORM_LINUX=y | ||
20 | CONFIG_FEATURE_BUFFERS_USE_MALLOC=y | 19 | CONFIG_FEATURE_BUFFERS_USE_MALLOC=y |
21 | # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set | 20 | # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set |
22 | # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set | 21 | # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set |
diff --git a/configs/freebsd_defconfig b/configs/freebsd_defconfig index 47e705963..6cbd54895 100644 --- a/configs/freebsd_defconfig +++ b/configs/freebsd_defconfig | |||
@@ -16,7 +16,6 @@ CONFIG_HAVE_DOT_CONFIG=y | |||
16 | # CONFIG_EXTRA_COMPAT is not set | 16 | # CONFIG_EXTRA_COMPAT is not set |
17 | CONFIG_INCLUDE_SUSv2=y | 17 | CONFIG_INCLUDE_SUSv2=y |
18 | CONFIG_USE_PORTABLE_CODE=y | 18 | CONFIG_USE_PORTABLE_CODE=y |
19 | # CONFIG_PLATFORM_LINUX is not set | ||
20 | CONFIG_FEATURE_BUFFERS_USE_MALLOC=y | 19 | CONFIG_FEATURE_BUFFERS_USE_MALLOC=y |
21 | # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set | 20 | # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set |
22 | # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set | 21 | # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set |
diff --git a/console-tools/chvt.c b/console-tools/chvt.c index 75380a90b..7c2814d1c 100644 --- a/console-tools/chvt.c +++ b/console-tools/chvt.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config CHVT | 9 | //config:config CHVT |
10 | //config: bool "chvt (2 kb)" | 10 | //config: bool "chvt (2 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: This program is used to change to another terminal. | 13 | //config: This program is used to change to another terminal. |
15 | //config: Example: chvt 4 (change to terminal /dev/tty4) | 14 | //config: Example: chvt 4 (change to terminal /dev/tty4) |
diff --git a/console-tools/deallocvt.c b/console-tools/deallocvt.c index 05731fb78..6cd54653c 100644 --- a/console-tools/deallocvt.c +++ b/console-tools/deallocvt.c | |||
@@ -10,7 +10,6 @@ | |||
10 | //config:config DEALLOCVT | 10 | //config:config DEALLOCVT |
11 | //config: bool "deallocvt (1.9 kb)" | 11 | //config: bool "deallocvt (1.9 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | ||
14 | //config: help | 13 | //config: help |
15 | //config: This program deallocates unused virtual consoles. | 14 | //config: This program deallocates unused virtual consoles. |
16 | 15 | ||
diff --git a/console-tools/dumpkmap.c b/console-tools/dumpkmap.c index fd4fd5623..3d8de6bed 100644 --- a/console-tools/dumpkmap.c +++ b/console-tools/dumpkmap.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config DUMPKMAP | 9 | //config:config DUMPKMAP |
10 | //config: bool "dumpkmap (1.6 kb)" | 10 | //config: bool "dumpkmap (1.6 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: This program dumps the kernel's keyboard translation table to | 13 | //config: This program dumps the kernel's keyboard translation table to |
15 | //config: stdout, in binary format. You can then use loadkmap to load it. | 14 | //config: stdout, in binary format. You can then use loadkmap to load it. |
diff --git a/console-tools/fgconsole.c b/console-tools/fgconsole.c index 554a32403..9bfb68017 100644 --- a/console-tools/fgconsole.c +++ b/console-tools/fgconsole.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config FGCONSOLE | 9 | //config:config FGCONSOLE |
10 | //config: bool "fgconsole (1.5 kb)" | 10 | //config: bool "fgconsole (1.5 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: This program prints active (foreground) console number. | 13 | //config: This program prints active (foreground) console number. |
15 | 14 | ||
diff --git a/console-tools/kbd_mode.c b/console-tools/kbd_mode.c index cee37ab50..b0b963ee0 100644 --- a/console-tools/kbd_mode.c +++ b/console-tools/kbd_mode.c | |||
@@ -11,7 +11,6 @@ | |||
11 | //config:config KBD_MODE | 11 | //config:config KBD_MODE |
12 | //config: bool "kbd_mode (4.1 kb)" | 12 | //config: bool "kbd_mode (4.1 kb)" |
13 | //config: default y | 13 | //config: default y |
14 | //config: select PLATFORM_LINUX | ||
15 | //config: help | 14 | //config: help |
16 | //config: This program reports and sets keyboard mode. | 15 | //config: This program reports and sets keyboard mode. |
17 | 16 | ||
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c index caad7d9ac..7533b0aad 100644 --- a/console-tools/loadfont.c +++ b/console-tools/loadfont.c | |||
@@ -12,14 +12,12 @@ | |||
12 | //config:config LOADFONT | 12 | //config:config LOADFONT |
13 | //config: bool "loadfont (5.2 kb)" | 13 | //config: bool "loadfont (5.2 kb)" |
14 | //config: default y | 14 | //config: default y |
15 | //config: select PLATFORM_LINUX | ||
16 | //config: help | 15 | //config: help |
17 | //config: This program loads a console font from standard input. | 16 | //config: This program loads a console font from standard input. |
18 | //config: | 17 | //config: |
19 | //config:config SETFONT | 18 | //config:config SETFONT |
20 | //config: bool "setfont (24 kb)" | 19 | //config: bool "setfont (24 kb)" |
21 | //config: default y | 20 | //config: default y |
22 | //config: select PLATFORM_LINUX | ||
23 | //config: help | 21 | //config: help |
24 | //config: Allows to load console screen map. Useful for i18n. | 22 | //config: Allows to load console screen map. Useful for i18n. |
25 | //config: | 23 | //config: |
diff --git a/console-tools/loadkmap.c b/console-tools/loadkmap.c index 91ef50884..c038e2d22 100644 --- a/console-tools/loadkmap.c +++ b/console-tools/loadkmap.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config LOADKMAP | 9 | //config:config LOADKMAP |
10 | //config: bool "loadkmap (1.8 kb)" | 10 | //config: bool "loadkmap (1.8 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: This program loads a keyboard translation table from | 13 | //config: This program loads a keyboard translation table from |
15 | //config: standard input. | 14 | //config: standard input. |
diff --git a/console-tools/openvt.c b/console-tools/openvt.c index 9e6cffecc..db2f073b2 100644 --- a/console-tools/openvt.c +++ b/console-tools/openvt.c | |||
@@ -10,7 +10,6 @@ | |||
10 | //config:config OPENVT | 10 | //config:config OPENVT |
11 | //config: bool "openvt (7.2 kb)" | 11 | //config: bool "openvt (7.2 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | ||
14 | //config: help | 13 | //config: help |
15 | //config: This program is used to start a command on an unused | 14 | //config: This program is used to start a command on an unused |
16 | //config: virtual terminal. | 15 | //config: virtual terminal. |
diff --git a/console-tools/setconsole.c b/console-tools/setconsole.c index 0bc587241..461a98c6a 100644 --- a/console-tools/setconsole.c +++ b/console-tools/setconsole.c | |||
@@ -10,7 +10,6 @@ | |||
10 | //config:config SETCONSOLE | 10 | //config:config SETCONSOLE |
11 | //config: bool "setconsole (3.6 kb)" | 11 | //config: bool "setconsole (3.6 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | ||
14 | //config: help | 13 | //config: help |
15 | //config: Redirect writes to /dev/console to another device, | 14 | //config: Redirect writes to /dev/console to another device, |
16 | //config: like the current tty while logged in via telnet. | 15 | //config: like the current tty while logged in via telnet. |
diff --git a/console-tools/setkeycodes.c b/console-tools/setkeycodes.c index 259946dbb..5de18b8ea 100644 --- a/console-tools/setkeycodes.c +++ b/console-tools/setkeycodes.c | |||
@@ -11,7 +11,6 @@ | |||
11 | //config:config SETKEYCODES | 11 | //config:config SETKEYCODES |
12 | //config: bool "setkeycodes (2.1 kb)" | 12 | //config: bool "setkeycodes (2.1 kb)" |
13 | //config: default y | 13 | //config: default y |
14 | //config: select PLATFORM_LINUX | ||
15 | //config: help | 14 | //config: help |
16 | //config: This program loads entries into the kernel's scancode-to-keycode | 15 | //config: This program loads entries into the kernel's scancode-to-keycode |
17 | //config: map, allowing unusual keyboards to generate usable keycodes. | 16 | //config: map, allowing unusual keyboards to generate usable keycodes. |
diff --git a/console-tools/setlogcons.c b/console-tools/setlogcons.c index 0fad6600a..e9c2f516e 100644 --- a/console-tools/setlogcons.c +++ b/console-tools/setlogcons.c | |||
@@ -11,7 +11,6 @@ | |||
11 | //config:config SETLOGCONS | 11 | //config:config SETLOGCONS |
12 | //config: bool "setlogcons (1.8 kb)" | 12 | //config: bool "setlogcons (1.8 kb)" |
13 | //config: default y | 13 | //config: default y |
14 | //config: select PLATFORM_LINUX | ||
15 | //config: help | 14 | //config: help |
16 | //config: This program redirects the output console of kernel messages. | 15 | //config: This program redirects the output console of kernel messages. |
17 | 16 | ||
diff --git a/console-tools/showkey.c b/console-tools/showkey.c index 8f0e9d938..4d7a9b9e5 100644 --- a/console-tools/showkey.c +++ b/console-tools/showkey.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config SHOWKEY | 9 | //config:config SHOWKEY |
10 | //config: bool "showkey (4.7 kb)" | 10 | //config: bool "showkey (4.7 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: Shows keys pressed. | 13 | //config: Shows keys pressed. |
15 | 14 | ||
diff --git a/coreutils/date.c b/coreutils/date.c index b9b7fd2cb..d84e1c31a 100644 --- a/coreutils/date.c +++ b/coreutils/date.c | |||
@@ -37,7 +37,6 @@ | |||
37 | //config: bool "Support %[num]N nanosecond format specifier" | 37 | //config: bool "Support %[num]N nanosecond format specifier" |
38 | //config: default n # stat's nanosecond field is a bit non-portable | 38 | //config: default n # stat's nanosecond field is a bit non-portable |
39 | //config: depends on DATE | 39 | //config: depends on DATE |
40 | //config: select PLATFORM_LINUX | ||
41 | //config: help | 40 | //config: help |
42 | //config: Support %[num]N format specifier. Adds ~250 bytes of code. | 41 | //config: Support %[num]N format specifier. Adds ~250 bytes of code. |
43 | //config: | 42 | //config: |
diff --git a/coreutils/stat.c b/coreutils/stat.c index fa9ac7b10..8a23d687b 100644 --- a/coreutils/stat.c +++ b/coreutils/stat.c | |||
@@ -31,7 +31,6 @@ | |||
31 | //config: bool "Enable display of filesystem status (-f)" | 31 | //config: bool "Enable display of filesystem status (-f)" |
32 | //config: default y | 32 | //config: default y |
33 | //config: depends on STAT | 33 | //config: depends on STAT |
34 | //config: select PLATFORM_LINUX # statfs() | ||
35 | //config: help | 34 | //config: help |
36 | //config: Without this, stat will not support the '-f' option to display | 35 | //config: Without this, stat will not support the '-f' option to display |
37 | //config: information about filesystem status. | 36 | //config: information about filesystem status. |
diff --git a/e2fsprogs/lsattr.c b/e2fsprogs/lsattr.c index be1488b79..91205ff65 100644 --- a/e2fsprogs/lsattr.c +++ b/e2fsprogs/lsattr.c | |||
@@ -12,7 +12,6 @@ | |||
12 | //config:config LSATTR | 12 | //config:config LSATTR |
13 | //config: bool "lsattr (5.5 kb)" | 13 | //config: bool "lsattr (5.5 kb)" |
14 | //config: default y | 14 | //config: default y |
15 | //config: select PLATFORM_LINUX | ||
16 | //config: help | 15 | //config: help |
17 | //config: lsattr lists the file attributes on a second extended file system. | 16 | //config: lsattr lists the file attributes on a second extended file system. |
18 | 17 | ||
diff --git a/klibc-utils/run-init.c b/klibc-utils/run-init.c index 77fc0e60c..73c677bab 100644 --- a/klibc-utils/run-init.c +++ b/klibc-utils/run-init.c | |||
@@ -8,7 +8,6 @@ | |||
8 | //config:config RUN_INIT | 8 | //config:config RUN_INIT |
9 | //config: bool "run-init (7.7 kb)" | 9 | //config: bool "run-init (7.7 kb)" |
10 | //config: default y | 10 | //config: default y |
11 | //config: select PLATFORM_LINUX | ||
12 | //config: help | 11 | //config: help |
13 | //config: The run-init utility is used from initramfs to select a new | 12 | //config: The run-init utility is used from initramfs to select a new |
14 | //config: root device. Under initramfs, you have to use this instead of | 13 | //config: root device. Under initramfs, you have to use this instead of |
diff --git a/libbb/Config.src b/libbb/Config.src index 312aa1831..f97de8ef7 100644 --- a/libbb/Config.src +++ b/libbb/Config.src | |||
@@ -334,7 +334,6 @@ config FEATURE_VERBOSE_CP_MESSAGE | |||
334 | config FEATURE_USE_SENDFILE | 334 | config FEATURE_USE_SENDFILE |
335 | bool "Use sendfile system call" | 335 | bool "Use sendfile system call" |
336 | default y | 336 | default y |
337 | select PLATFORM_LINUX | ||
338 | help | 337 | help |
339 | When enabled, busybox will use the kernel sendfile() function | 338 | When enabled, busybox will use the kernel sendfile() function |
340 | instead of read/write loops to copy data between file descriptors | 339 | instead of read/write loops to copy data between file descriptors |
@@ -376,7 +375,6 @@ config FEATURE_SKIP_ROOTFS | |||
376 | config MONOTONIC_SYSCALL | 375 | config MONOTONIC_SYSCALL |
377 | bool "Use clock_gettime(CLOCK_MONOTONIC) syscall" | 376 | bool "Use clock_gettime(CLOCK_MONOTONIC) syscall" |
378 | default y | 377 | default y |
379 | select PLATFORM_LINUX | ||
380 | help | 378 | help |
381 | Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring | 379 | Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring |
382 | time intervals (time, ping, traceroute etc need this). | 380 | time intervals (time, ping, traceroute etc need this). |
diff --git a/libbb/Kbuild.src b/libbb/Kbuild.src index 8c9ba8cca..676300801 100644 --- a/libbb/Kbuild.src +++ b/libbb/Kbuild.src | |||
@@ -112,7 +112,8 @@ lib-y += xgethostbyname.o | |||
112 | lib-y += xreadlink.o | 112 | lib-y += xreadlink.o |
113 | lib-y += xrealloc_vector.o | 113 | lib-y += xrealloc_vector.o |
114 | 114 | ||
115 | lib-$(CONFIG_PLATFORM_LINUX) += match_fstype.o | 115 | lib-$(CONFIG_MOUNT) += match_fstype.o |
116 | lib-$(CONFIG_UMOUNT) += match_fstype.o | ||
116 | 117 | ||
117 | lib-$(CONFIG_FEATURE_UTMP) += utmp.o | 118 | lib-$(CONFIG_FEATURE_UTMP) += utmp.o |
118 | 119 | ||
diff --git a/miscutils/adjtimex.c b/miscutils/adjtimex.c index 8ca90d58a..a9de0f9aa 100644 --- a/miscutils/adjtimex.c +++ b/miscutils/adjtimex.c | |||
@@ -13,7 +13,6 @@ | |||
13 | //config:config ADJTIMEX | 13 | //config:config ADJTIMEX |
14 | //config: bool "adjtimex (4.7 kb)" | 14 | //config: bool "adjtimex (4.7 kb)" |
15 | //config: default y | 15 | //config: default y |
16 | //config: select PLATFORM_LINUX | ||
17 | //config: help | 16 | //config: help |
18 | //config: Adjtimex reads and optionally sets adjustment parameters for | 17 | //config: Adjtimex reads and optionally sets adjustment parameters for |
19 | //config: the Linux clock adjustment algorithm. | 18 | //config: the Linux clock adjustment algorithm. |
diff --git a/miscutils/beep.c b/miscutils/beep.c index 92faa1cd5..1669332fd 100644 --- a/miscutils/beep.c +++ b/miscutils/beep.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config BEEP | 9 | //config:config BEEP |
10 | //config: bool "beep (2.4 kb)" | 10 | //config: bool "beep (2.4 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: The beep applets beeps in a given freq/Hz. | 13 | //config: The beep applets beeps in a given freq/Hz. |
15 | //config: | 14 | //config: |
diff --git a/miscutils/conspy.c b/miscutils/conspy.c index a0e0d4e4b..fac11d339 100644 --- a/miscutils/conspy.c +++ b/miscutils/conspy.c | |||
@@ -12,7 +12,6 @@ | |||
12 | //config:config CONSPY | 12 | //config:config CONSPY |
13 | //config: bool "conspy (10 kb)" | 13 | //config: bool "conspy (10 kb)" |
14 | //config: default y | 14 | //config: default y |
15 | //config: select PLATFORM_LINUX | ||
16 | //config: help | 15 | //config: help |
17 | //config: A text-mode VNC like program for Linux virtual terminals. | 16 | //config: A text-mode VNC like program for Linux virtual terminals. |
18 | //config: example: conspy NUM shared access to console num | 17 | //config: example: conspy NUM shared access to console num |
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c index d47ee4d47..17d8fb6b9 100644 --- a/miscutils/devfsd.c +++ b/miscutils/devfsd.c | |||
@@ -56,7 +56,6 @@ | |||
56 | //config:config DEVFSD | 56 | //config:config DEVFSD |
57 | //config: bool "devfsd (obsolete)" | 57 | //config: bool "devfsd (obsolete)" |
58 | //config: default n | 58 | //config: default n |
59 | //config: select PLATFORM_LINUX | ||
60 | //config: select FEATURE_SYSLOG | 59 | //config: select FEATURE_SYSLOG |
61 | //config: help | 60 | //config: help |
62 | //config: This is deprecated and should NOT be used anymore. | 61 | //config: This is deprecated and should NOT be used anymore. |
@@ -99,7 +98,6 @@ | |||
99 | //config:config FEATURE_DEVFS | 98 | //config:config FEATURE_DEVFS |
100 | //config: bool "Use devfs names for all devices (obsolete)" | 99 | //config: bool "Use devfs names for all devices (obsolete)" |
101 | //config: default n | 100 | //config: default n |
102 | //config: select PLATFORM_LINUX | ||
103 | //config: help | 101 | //config: help |
104 | //config: This is obsolete and should NOT be used anymore. | 102 | //config: This is obsolete and should NOT be used anymore. |
105 | //config: Use linux >= 2.6 (optionally with hotplug) and mdev instead! | 103 | //config: Use linux >= 2.6 (optionally with hotplug) and mdev instead! |
diff --git a/miscutils/fbsplash.c b/miscutils/fbsplash.c index 141957809..2934d8eb7 100644 --- a/miscutils/fbsplash.c +++ b/miscutils/fbsplash.c | |||
@@ -23,7 +23,6 @@ | |||
23 | //config:config FBSPLASH | 23 | //config:config FBSPLASH |
24 | //config: bool "fbsplash (26 kb)" | 24 | //config: bool "fbsplash (26 kb)" |
25 | //config: default y | 25 | //config: default y |
26 | //config: select PLATFORM_LINUX | ||
27 | //config: help | 26 | //config: help |
28 | //config: Shows splash image and progress bar on framebuffer device. | 27 | //config: Shows splash image and progress bar on framebuffer device. |
29 | //config: Can be used during boot phase of an embedded device. | 28 | //config: Can be used during boot phase of an embedded device. |
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c index beabb1ad5..d25a2466e 100644 --- a/miscutils/hdparm.c +++ b/miscutils/hdparm.c | |||
@@ -14,7 +14,6 @@ | |||
14 | //config:config HDPARM | 14 | //config:config HDPARM |
15 | //config: bool "hdparm (25 kb)" | 15 | //config: bool "hdparm (25 kb)" |
16 | //config: default y | 16 | //config: default y |
17 | //config: select PLATFORM_LINUX | ||
18 | //config: help | 17 | //config: help |
19 | //config: Get/Set hard drive parameters. Primarily intended for ATA | 18 | //config: Get/Set hard drive parameters. Primarily intended for ATA |
20 | //config: drives. | 19 | //config: drives. |
diff --git a/miscutils/i2c_tools.c b/miscutils/i2c_tools.c index 82a559f74..cc8b99a92 100644 --- a/miscutils/i2c_tools.c +++ b/miscutils/i2c_tools.c | |||
@@ -11,35 +11,30 @@ | |||
11 | //config:config I2CGET | 11 | //config:config I2CGET |
12 | //config: bool "i2cget (5.5 kb)" | 12 | //config: bool "i2cget (5.5 kb)" |
13 | //config: default y | 13 | //config: default y |
14 | //config: select PLATFORM_LINUX | ||
15 | //config: help | 14 | //config: help |
16 | //config: Read from I2C/SMBus chip registers. | 15 | //config: Read from I2C/SMBus chip registers. |
17 | //config: | 16 | //config: |
18 | //config:config I2CSET | 17 | //config:config I2CSET |
19 | //config: bool "i2cset (6.7 kb)" | 18 | //config: bool "i2cset (6.7 kb)" |
20 | //config: default y | 19 | //config: default y |
21 | //config: select PLATFORM_LINUX | ||
22 | //config: help | 20 | //config: help |
23 | //config: Set I2C registers. | 21 | //config: Set I2C registers. |
24 | //config: | 22 | //config: |
25 | //config:config I2CDUMP | 23 | //config:config I2CDUMP |
26 | //config: bool "i2cdump (7.1 kb)" | 24 | //config: bool "i2cdump (7.1 kb)" |
27 | //config: default y | 25 | //config: default y |
28 | //config: select PLATFORM_LINUX | ||
29 | //config: help | 26 | //config: help |
30 | //config: Examine I2C registers. | 27 | //config: Examine I2C registers. |
31 | //config: | 28 | //config: |
32 | //config:config I2CDETECT | 29 | //config:config I2CDETECT |
33 | //config: bool "i2cdetect (7.1 kb)" | 30 | //config: bool "i2cdetect (7.1 kb)" |
34 | //config: default y | 31 | //config: default y |
35 | //config: select PLATFORM_LINUX | ||
36 | //config: help | 32 | //config: help |
37 | //config: Detect I2C chips. | 33 | //config: Detect I2C chips. |
38 | //config: | 34 | //config: |
39 | //config:config I2CTRANSFER | 35 | //config:config I2CTRANSFER |
40 | //config: bool "i2ctransfer (4.0 kb)" | 36 | //config: bool "i2ctransfer (4.0 kb)" |
41 | //config: default y | 37 | //config: default y |
42 | //config: select PLATFORM_LINUX | ||
43 | //config: help | 38 | //config: help |
44 | //config: Send user-defined I2C messages in one transfer. | 39 | //config: Send user-defined I2C messages in one transfer. |
45 | //config: | 40 | //config: |
diff --git a/miscutils/lsscsi.c b/miscutils/lsscsi.c index 76c281264..8f7eda761 100644 --- a/miscutils/lsscsi.c +++ b/miscutils/lsscsi.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config LSSCSI | 9 | //config:config LSSCSI |
10 | //config: bool "lsscsi (2.5 kb)" | 10 | //config: bool "lsscsi (2.5 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: #select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: lsscsi is a utility for displaying information about SCSI buses in the | 13 | //config: lsscsi is a utility for displaying information about SCSI buses in the |
15 | //config: system and devices connected to them. | 14 | //config: system and devices connected to them. |
diff --git a/miscutils/nandwrite.c b/miscutils/nandwrite.c index f111c6363..52bf49434 100644 --- a/miscutils/nandwrite.c +++ b/miscutils/nandwrite.c | |||
@@ -10,14 +10,12 @@ | |||
10 | //config:config NANDWRITE | 10 | //config:config NANDWRITE |
11 | //config: bool "nandwrite (4.8 kb)" | 11 | //config: bool "nandwrite (4.8 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | ||
14 | //config: help | 13 | //config: help |
15 | //config: Write to the specified MTD device, with bad blocks awareness | 14 | //config: Write to the specified MTD device, with bad blocks awareness |
16 | //config: | 15 | //config: |
17 | //config:config NANDDUMP | 16 | //config:config NANDDUMP |
18 | //config: bool "nanddump (5.2 kb)" | 17 | //config: bool "nanddump (5.2 kb)" |
19 | //config: default y | 18 | //config: default y |
20 | //config: select PLATFORM_LINUX | ||
21 | //config: help | 19 | //config: help |
22 | //config: Dump the content of raw NAND chip | 20 | //config: Dump the content of raw NAND chip |
23 | 21 | ||
diff --git a/miscutils/partprobe.c b/miscutils/partprobe.c index 0abed6ff1..0fb1927b7 100644 --- a/miscutils/partprobe.c +++ b/miscutils/partprobe.c | |||
@@ -7,7 +7,6 @@ | |||
7 | //config:config PARTPROBE | 7 | //config:config PARTPROBE |
8 | //config: bool "partprobe (3.5 kb)" | 8 | //config: bool "partprobe (3.5 kb)" |
9 | //config: default y | 9 | //config: default y |
10 | //config: select PLATFORM_LINUX | ||
11 | //config: help | 10 | //config: help |
12 | //config: Ask kernel to rescan partition table. | 11 | //config: Ask kernel to rescan partition table. |
13 | 12 | ||
diff --git a/miscutils/raidautorun.c b/miscutils/raidautorun.c index 39816ab1f..905862cf7 100644 --- a/miscutils/raidautorun.c +++ b/miscutils/raidautorun.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config RAIDAUTORUN | 9 | //config:config RAIDAUTORUN |
10 | //config: bool "raidautorun (1.3 kb)" | 10 | //config: bool "raidautorun (1.3 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: raidautorun tells the kernel md driver to | 13 | //config: raidautorun tells the kernel md driver to |
15 | //config: search and start RAID arrays. | 14 | //config: search and start RAID arrays. |
diff --git a/miscutils/readahead.c b/miscutils/readahead.c index cc0ba5ba3..d2bed2092 100644 --- a/miscutils/readahead.c +++ b/miscutils/readahead.c | |||
@@ -13,7 +13,6 @@ | |||
13 | //config: bool "readahead (1.5 kb)" | 13 | //config: bool "readahead (1.5 kb)" |
14 | //config: default y | 14 | //config: default y |
15 | //config: depends on LFS | 15 | //config: depends on LFS |
16 | //config: select PLATFORM_LINUX | ||
17 | //config: help | 16 | //config: help |
18 | //config: Preload the files listed on the command line into RAM cache so that | 17 | //config: Preload the files listed on the command line into RAM cache so that |
19 | //config: subsequent reads on these files will not block on disk I/O. | 18 | //config: subsequent reads on these files will not block on disk I/O. |
diff --git a/miscutils/rfkill.c b/miscutils/rfkill.c index db7c83750..9d91ea82f 100644 --- a/miscutils/rfkill.c +++ b/miscutils/rfkill.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config RFKILL | 9 | //config:config RFKILL |
10 | //config: bool "rfkill (4.4 kb)" | 10 | //config: bool "rfkill (4.4 kb)" |
11 | //config: default n # doesn't build on Ubuntu 9.04 | 11 | //config: default n # doesn't build on Ubuntu 9.04 |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: Enable/disable wireless devices. | 13 | //config: Enable/disable wireless devices. |
15 | //config: | 14 | //config: |
diff --git a/miscutils/rx.c b/miscutils/rx.c index 319ec1d49..d8b041480 100644 --- a/miscutils/rx.c +++ b/miscutils/rx.c | |||
@@ -17,7 +17,6 @@ | |||
17 | //config:config RX | 17 | //config:config RX |
18 | //config: bool "rx (2.9 kb)" | 18 | //config: bool "rx (2.9 kb)" |
19 | //config: default y | 19 | //config: default y |
20 | //config: select PLATFORM_LINUX | ||
21 | //config: help | 20 | //config: help |
22 | //config: Receive files using the Xmodem protocol. | 21 | //config: Receive files using the Xmodem protocol. |
23 | 22 | ||
diff --git a/miscutils/setserial.c b/miscutils/setserial.c index 71b274568..1e75bf433 100644 --- a/miscutils/setserial.c +++ b/miscutils/setserial.c | |||
@@ -10,7 +10,6 @@ | |||
10 | //config:config SETSERIAL | 10 | //config:config SETSERIAL |
11 | //config: bool "setserial (6.9 kb)" | 11 | //config: bool "setserial (6.9 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | ||
14 | //config: help | 13 | //config: help |
15 | //config: Retrieve or set Linux serial port. | 14 | //config: Retrieve or set Linux serial port. |
16 | 15 | ||
diff --git a/miscutils/ubi_tools.c b/miscutils/ubi_tools.c index 8318df0f9..94a637eee 100644 --- a/miscutils/ubi_tools.c +++ b/miscutils/ubi_tools.c | |||
@@ -6,42 +6,36 @@ | |||
6 | //config:config UBIATTACH | 6 | //config:config UBIATTACH |
7 | //config: bool "ubiattach (4.2 kb)" | 7 | //config: bool "ubiattach (4.2 kb)" |
8 | //config: default y | 8 | //config: default y |
9 | //config: select PLATFORM_LINUX | ||
10 | //config: help | 9 | //config: help |
11 | //config: Attach MTD device to an UBI device. | 10 | //config: Attach MTD device to an UBI device. |
12 | //config: | 11 | //config: |
13 | //config:config UBIDETACH | 12 | //config:config UBIDETACH |
14 | //config: bool "ubidetach (4.1 kb)" | 13 | //config: bool "ubidetach (4.1 kb)" |
15 | //config: default y | 14 | //config: default y |
16 | //config: select PLATFORM_LINUX | ||
17 | //config: help | 15 | //config: help |
18 | //config: Detach MTD device from an UBI device. | 16 | //config: Detach MTD device from an UBI device. |
19 | //config: | 17 | //config: |
20 | //config:config UBIMKVOL | 18 | //config:config UBIMKVOL |
21 | //config: bool "ubimkvol (5.3 kb)" | 19 | //config: bool "ubimkvol (5.3 kb)" |
22 | //config: default y | 20 | //config: default y |
23 | //config: select PLATFORM_LINUX | ||
24 | //config: help | 21 | //config: help |
25 | //config: Create a UBI volume. | 22 | //config: Create a UBI volume. |
26 | //config: | 23 | //config: |
27 | //config:config UBIRMVOL | 24 | //config:config UBIRMVOL |
28 | //config: bool "ubirmvol (4.9 kb)" | 25 | //config: bool "ubirmvol (4.9 kb)" |
29 | //config: default y | 26 | //config: default y |
30 | //config: select PLATFORM_LINUX | ||
31 | //config: help | 27 | //config: help |
32 | //config: Delete a UBI volume. | 28 | //config: Delete a UBI volume. |
33 | //config: | 29 | //config: |
34 | //config:config UBIRSVOL | 30 | //config:config UBIRSVOL |
35 | //config: bool "ubirsvol (4.2 kb)" | 31 | //config: bool "ubirsvol (4.2 kb)" |
36 | //config: default y | 32 | //config: default y |
37 | //config: select PLATFORM_LINUX | ||
38 | //config: help | 33 | //config: help |
39 | //config: Resize a UBI volume. | 34 | //config: Resize a UBI volume. |
40 | //config: | 35 | //config: |
41 | //config:config UBIUPDATEVOL | 36 | //config:config UBIUPDATEVOL |
42 | //config: bool "ubiupdatevol (5.2 kb)" | 37 | //config: bool "ubiupdatevol (5.2 kb)" |
43 | //config: default y | 38 | //config: default y |
44 | //config: select PLATFORM_LINUX | ||
45 | //config: help | 39 | //config: help |
46 | //config: Update a UBI volume. | 40 | //config: Update a UBI volume. |
47 | 41 | ||
diff --git a/miscutils/ubirename.c b/miscutils/ubirename.c index e7c56640c..06a0adacf 100644 --- a/miscutils/ubirename.c +++ b/miscutils/ubirename.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config UBIRENAME | 9 | //config:config UBIRENAME |
10 | //config: bool "ubirename (2.4 kb)" | 10 | //config: bool "ubirename (2.4 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: Utility to rename UBI volumes | 13 | //config: Utility to rename UBI volumes |
15 | 14 | ||
diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c index 86600b72f..8c8d7217f 100644 --- a/miscutils/watchdog.c +++ b/miscutils/watchdog.c | |||
@@ -11,7 +11,6 @@ | |||
11 | //config:config WATCHDOG | 11 | //config:config WATCHDOG |
12 | //config: bool "watchdog (5.3 kb)" | 12 | //config: bool "watchdog (5.3 kb)" |
13 | //config: default y | 13 | //config: default y |
14 | //config: select PLATFORM_LINUX | ||
15 | //config: help | 14 | //config: help |
16 | //config: The watchdog utility is used with hardware or software watchdog | 15 | //config: The watchdog utility is used with hardware or software watchdog |
17 | //config: device drivers. It opens the specified watchdog device special file | 16 | //config: device drivers. It opens the specified watchdog device special file |
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 | ||
diff --git a/networking/arp.c b/networking/arp.c index 6519f8156..16783ab95 100644 --- a/networking/arp.c +++ b/networking/arp.c | |||
@@ -15,7 +15,6 @@ | |||
15 | //config:config ARP | 15 | //config:config ARP |
16 | //config: bool "arp (10 kb)" | 16 | //config: bool "arp (10 kb)" |
17 | //config: default y | 17 | //config: default y |
18 | //config: select PLATFORM_LINUX | ||
19 | //config: help | 18 | //config: help |
20 | //config: Manipulate the system ARP cache. | 19 | //config: Manipulate the system ARP cache. |
21 | 20 | ||
diff --git a/networking/arping.c b/networking/arping.c index 2a256aaa0..d44d7d697 100644 --- a/networking/arping.c +++ b/networking/arping.c | |||
@@ -8,7 +8,6 @@ | |||
8 | //config:config ARPING | 8 | //config:config ARPING |
9 | //config: bool "arping (9 kb)" | 9 | //config: bool "arping (9 kb)" |
10 | //config: default y | 10 | //config: default y |
11 | //config: select PLATFORM_LINUX | ||
12 | //config: help | 11 | //config: help |
13 | //config: Ping hosts by ARP packets. | 12 | //config: Ping hosts by ARP packets. |
14 | 13 | ||
diff --git a/networking/brctl.c b/networking/brctl.c index 2f4ac4a87..f057f9b60 100644 --- a/networking/brctl.c +++ b/networking/brctl.c | |||
@@ -12,7 +12,6 @@ | |||
12 | //config:config BRCTL | 12 | //config:config BRCTL |
13 | //config: bool "brctl (4.7 kb)" | 13 | //config: bool "brctl (4.7 kb)" |
14 | //config: default y | 14 | //config: default y |
15 | //config: select PLATFORM_LINUX | ||
16 | //config: help | 15 | //config: help |
17 | //config: Manage ethernet bridges. | 16 | //config: Manage ethernet bridges. |
18 | //config: Supports addbr/delbr and addif/delif. | 17 | //config: Supports addbr/delbr and addif/delif. |
diff --git a/networking/ether-wake.c b/networking/ether-wake.c index f45d43609..36e90acfb 100644 --- a/networking/ether-wake.c +++ b/networking/ether-wake.c | |||
@@ -66,7 +66,6 @@ | |||
66 | //config:config ETHER_WAKE | 66 | //config:config ETHER_WAKE |
67 | //config: bool "ether-wake (4.9 kb)" | 67 | //config: bool "ether-wake (4.9 kb)" |
68 | //config: default y | 68 | //config: default y |
69 | //config: select PLATFORM_LINUX | ||
70 | //config: help | 69 | //config: help |
71 | //config: Send a magic packet to wake up sleeping machines. | 70 | //config: Send a magic packet to wake up sleeping machines. |
72 | 71 | ||
diff --git a/networking/ifconfig.c b/networking/ifconfig.c index b566d91a9..3c9a2dfb3 100644 --- a/networking/ifconfig.c +++ b/networking/ifconfig.c | |||
@@ -27,7 +27,6 @@ | |||
27 | //config:config IFCONFIG | 27 | //config:config IFCONFIG |
28 | //config: bool "ifconfig (12 kb)" | 28 | //config: bool "ifconfig (12 kb)" |
29 | //config: default y | 29 | //config: default y |
30 | //config: select PLATFORM_LINUX | ||
31 | //config: help | 30 | //config: help |
32 | //config: Ifconfig is used to configure the kernel-resident network interfaces. | 31 | //config: Ifconfig is used to configure the kernel-resident network interfaces. |
33 | //config: | 32 | //config: |
diff --git a/networking/ifenslave.c b/networking/ifenslave.c index 5e769b61d..bdb9894be 100644 --- a/networking/ifenslave.c +++ b/networking/ifenslave.c | |||
@@ -100,7 +100,6 @@ | |||
100 | //config:config IFENSLAVE | 100 | //config:config IFENSLAVE |
101 | //config: bool "ifenslave (13 kb)" | 101 | //config: bool "ifenslave (13 kb)" |
102 | //config: default y | 102 | //config: default y |
103 | //config: select PLATFORM_LINUX | ||
104 | //config: help | 103 | //config: help |
105 | //config: Userspace application to bind several interfaces | 104 | //config: Userspace application to bind several interfaces |
106 | //config: to a logical interface (use with kernel bonding driver). | 105 | //config: to a logical interface (use with kernel bonding driver). |
diff --git a/networking/ifplugd.c b/networking/ifplugd.c index fa18edd57..0d17b7d8c 100644 --- a/networking/ifplugd.c +++ b/networking/ifplugd.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config IFPLUGD | 9 | //config:config IFPLUGD |
10 | //config: bool "ifplugd (10 kb)" | 10 | //config: bool "ifplugd (10 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: Network interface plug detection daemon. | 13 | //config: Network interface plug detection daemon. |
15 | 14 | ||
diff --git a/networking/ip.c b/networking/ip.c index 45bf1dc0a..7d3faf7f8 100644 --- a/networking/ip.c +++ b/networking/ip.c | |||
@@ -11,7 +11,6 @@ | |||
11 | //config:config IP | 11 | //config:config IP |
12 | //config: bool "ip (35 kb)" | 12 | //config: bool "ip (35 kb)" |
13 | //config: default y | 13 | //config: default y |
14 | //config: select PLATFORM_LINUX | ||
15 | //config: help | 14 | //config: help |
16 | //config: The "ip" applet is a TCP/IP interface configuration and routing | 15 | //config: The "ip" applet is a TCP/IP interface configuration and routing |
17 | //config: utility. | 16 | //config: utility. |
@@ -23,7 +22,6 @@ | |||
23 | //config: bool "ipaddr (14 kb)" | 22 | //config: bool "ipaddr (14 kb)" |
24 | //config: default y | 23 | //config: default y |
25 | //config: select FEATURE_IP_ADDRESS | 24 | //config: select FEATURE_IP_ADDRESS |
26 | //config: select PLATFORM_LINUX | ||
27 | //config: help | 25 | //config: help |
28 | //config: Short form of "ip addr" | 26 | //config: Short form of "ip addr" |
29 | //config: | 27 | //config: |
@@ -31,7 +29,6 @@ | |||
31 | //config: bool "iplink (17 kb)" | 29 | //config: bool "iplink (17 kb)" |
32 | //config: default y | 30 | //config: default y |
33 | //config: select FEATURE_IP_LINK | 31 | //config: select FEATURE_IP_LINK |
34 | //config: select PLATFORM_LINUX | ||
35 | //config: help | 32 | //config: help |
36 | //config: Short form of "ip link" | 33 | //config: Short form of "ip link" |
37 | //config: | 34 | //config: |
@@ -39,7 +36,6 @@ | |||
39 | //config: bool "iproute (15 kb)" | 36 | //config: bool "iproute (15 kb)" |
40 | //config: default y | 37 | //config: default y |
41 | //config: select FEATURE_IP_ROUTE | 38 | //config: select FEATURE_IP_ROUTE |
42 | //config: select PLATFORM_LINUX | ||
43 | //config: help | 39 | //config: help |
44 | //config: Short form of "ip route" | 40 | //config: Short form of "ip route" |
45 | //config: | 41 | //config: |
@@ -47,7 +43,6 @@ | |||
47 | //config: bool "iptunnel (9.6 kb)" | 43 | //config: bool "iptunnel (9.6 kb)" |
48 | //config: default y | 44 | //config: default y |
49 | //config: select FEATURE_IP_TUNNEL | 45 | //config: select FEATURE_IP_TUNNEL |
50 | //config: select PLATFORM_LINUX | ||
51 | //config: help | 46 | //config: help |
52 | //config: Short form of "ip tunnel" | 47 | //config: Short form of "ip tunnel" |
53 | //config: | 48 | //config: |
@@ -55,7 +50,6 @@ | |||
55 | //config: bool "iprule (10 kb)" | 50 | //config: bool "iprule (10 kb)" |
56 | //config: default y | 51 | //config: default y |
57 | //config: select FEATURE_IP_RULE | 52 | //config: select FEATURE_IP_RULE |
58 | //config: select PLATFORM_LINUX | ||
59 | //config: help | 53 | //config: help |
60 | //config: Short form of "ip rule" | 54 | //config: Short form of "ip rule" |
61 | //config: | 55 | //config: |
@@ -63,7 +57,6 @@ | |||
63 | //config: bool "ipneigh (8.3 kb)" | 57 | //config: bool "ipneigh (8.3 kb)" |
64 | //config: default y | 58 | //config: default y |
65 | //config: select FEATURE_IP_NEIGH | 59 | //config: select FEATURE_IP_NEIGH |
66 | //config: select PLATFORM_LINUX | ||
67 | //config: help | 60 | //config: help |
68 | //config: Short form of "ip neigh" | 61 | //config: Short form of "ip neigh" |
69 | //config: | 62 | //config: |
diff --git a/networking/nameif.c b/networking/nameif.c index 91d50536a..854594c83 100644 --- a/networking/nameif.c +++ b/networking/nameif.c | |||
@@ -12,7 +12,6 @@ | |||
12 | //config:config NAMEIF | 12 | //config:config NAMEIF |
13 | //config: bool "nameif (6.6 kb)" | 13 | //config: bool "nameif (6.6 kb)" |
14 | //config: default y | 14 | //config: default y |
15 | //config: select PLATFORM_LINUX | ||
16 | //config: select FEATURE_SYSLOG | 15 | //config: select FEATURE_SYSLOG |
17 | //config: help | 16 | //config: help |
18 | //config: nameif is used to rename network interface by its MAC address. | 17 | //config: nameif is used to rename network interface by its MAC address. |
diff --git a/networking/netstat.c b/networking/netstat.c index c7934423b..936610f89 100644 --- a/networking/netstat.c +++ b/networking/netstat.c | |||
@@ -16,7 +16,6 @@ | |||
16 | //config:config NETSTAT | 16 | //config:config NETSTAT |
17 | //config: bool "netstat (10 kb)" | 17 | //config: bool "netstat (10 kb)" |
18 | //config: default y | 18 | //config: default y |
19 | //config: select PLATFORM_LINUX | ||
20 | //config: help | 19 | //config: help |
21 | //config: netstat prints information about the Linux networking subsystem. | 20 | //config: netstat prints information about the Linux networking subsystem. |
22 | //config: | 21 | //config: |
diff --git a/networking/ntpd.c b/networking/ntpd.c index b08de504e..d721fe80c 100644 --- a/networking/ntpd.c +++ b/networking/ntpd.c | |||
@@ -43,7 +43,6 @@ | |||
43 | //config:config NTPD | 43 | //config:config NTPD |
44 | //config: bool "ntpd (22 kb)" | 44 | //config: bool "ntpd (22 kb)" |
45 | //config: default y | 45 | //config: default y |
46 | //config: select PLATFORM_LINUX | ||
47 | //config: help | 46 | //config: help |
48 | //config: The NTP client/server daemon. | 47 | //config: The NTP client/server daemon. |
49 | //config: | 48 | //config: |
diff --git a/networking/ping.c b/networking/ping.c index a47342fee..47b6ab1b2 100644 --- a/networking/ping.c +++ b/networking/ping.c | |||
@@ -27,7 +27,6 @@ | |||
27 | //config:config PING | 27 | //config:config PING |
28 | //config: bool "ping (10 kb)" | 28 | //config: bool "ping (10 kb)" |
29 | //config: default y | 29 | //config: default y |
30 | //config: select PLATFORM_LINUX | ||
31 | //config: help | 30 | //config: help |
32 | //config: ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to | 31 | //config: ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to |
33 | //config: elicit an ICMP ECHO_RESPONSE from a host or gateway. | 32 | //config: elicit an ICMP ECHO_RESPONSE from a host or gateway. |
diff --git a/networking/route.c b/networking/route.c index e785b1da6..4d9aad6cc 100644 --- a/networking/route.c +++ b/networking/route.c | |||
@@ -27,7 +27,6 @@ | |||
27 | //config:config ROUTE | 27 | //config:config ROUTE |
28 | //config: bool "route (8.7 kb)" | 28 | //config: bool "route (8.7 kb)" |
29 | //config: default y | 29 | //config: default y |
30 | //config: select PLATFORM_LINUX | ||
31 | //config: help | 30 | //config: help |
32 | //config: Route displays or manipulates the kernel's IP routing tables. | 31 | //config: Route displays or manipulates the kernel's IP routing tables. |
33 | 32 | ||
diff --git a/networking/slattach.c b/networking/slattach.c index 659822a91..51fbc1f49 100644 --- a/networking/slattach.c +++ b/networking/slattach.c | |||
@@ -15,7 +15,6 @@ | |||
15 | //config:config SLATTACH | 15 | //config:config SLATTACH |
16 | //config: bool "slattach (6.2 kb)" | 16 | //config: bool "slattach (6.2 kb)" |
17 | //config: default y | 17 | //config: default y |
18 | //config: select PLATFORM_LINUX | ||
19 | //config: help | 18 | //config: help |
20 | //config: slattach configures serial line as SLIP network interface. | 19 | //config: slattach configures serial line as SLIP network interface. |
21 | 20 | ||
diff --git a/networking/traceroute.c b/networking/traceroute.c index 06d3f19da..5068f654b 100644 --- a/networking/traceroute.c +++ b/networking/traceroute.c | |||
@@ -212,7 +212,6 @@ | |||
212 | //config:config TRACEROUTE | 212 | //config:config TRACEROUTE |
213 | //config: bool "traceroute (11 kb)" | 213 | //config: bool "traceroute (11 kb)" |
214 | //config: default y | 214 | //config: default y |
215 | //config: select PLATFORM_LINUX | ||
216 | //config: help | 215 | //config: help |
217 | //config: Utility to trace the route of IP packets. | 216 | //config: Utility to trace the route of IP packets. |
218 | //config: | 217 | //config: |
diff --git a/networking/tunctl.c b/networking/tunctl.c index a0e3926e9..0f010e196 100644 --- a/networking/tunctl.c +++ b/networking/tunctl.c | |||
@@ -12,7 +12,6 @@ | |||
12 | //config:config TUNCTL | 12 | //config:config TUNCTL |
13 | //config: bool "tunctl (6.2 kb)" | 13 | //config: bool "tunctl (6.2 kb)" |
14 | //config: default y | 14 | //config: default y |
15 | //config: select PLATFORM_LINUX | ||
16 | //config: help | 15 | //config: help |
17 | //config: tunctl creates or deletes tun devices. | 16 | //config: tunctl creates or deletes tun devices. |
18 | //config: | 17 | //config: |
diff --git a/networking/udhcp/Config.src b/networking/udhcp/Config.src index 8ef24748e..7d04bb246 100644 --- a/networking/udhcp/Config.src +++ b/networking/udhcp/Config.src | |||
@@ -6,7 +6,6 @@ | |||
6 | config UDHCPD | 6 | config UDHCPD |
7 | bool "udhcpd (21 kb)" | 7 | bool "udhcpd (21 kb)" |
8 | default y | 8 | default y |
9 | select PLATFORM_LINUX | ||
10 | help | 9 | help |
11 | udhcpd is a DHCP server geared primarily toward embedded systems, | 10 | udhcpd is a DHCP server geared primarily toward embedded systems, |
12 | while striving to be fully functional and RFC compliant. | 11 | while striving to be fully functional and RFC compliant. |
@@ -62,7 +61,6 @@ config DHCPRELAY | |||
62 | config UDHCPC | 61 | config UDHCPC |
63 | bool "udhcpc (24 kb)" | 62 | bool "udhcpc (24 kb)" |
64 | default y | 63 | default y |
65 | select PLATFORM_LINUX | ||
66 | help | 64 | help |
67 | udhcpc is a DHCP client geared primarily toward embedded systems, | 65 | udhcpc is a DHCP client geared primarily toward embedded systems, |
68 | while striving to be fully functional and RFC compliant. | 66 | while striving to be fully functional and RFC compliant. |
diff --git a/networking/vconfig.c b/networking/vconfig.c index 3cc5f2460..4f1fbe280 100644 --- a/networking/vconfig.c +++ b/networking/vconfig.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config VCONFIG | 9 | //config:config VCONFIG |
10 | //config: bool "vconfig (2.3 kb)" | 10 | //config: bool "vconfig (2.3 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: Creates, removes, and configures VLAN interfaces | 13 | //config: Creates, removes, and configures VLAN interfaces |
15 | 14 | ||
diff --git a/networking/zcip.c b/networking/zcip.c index 134dfb2df..311dfbe4c 100644 --- a/networking/zcip.c +++ b/networking/zcip.c | |||
@@ -16,7 +16,6 @@ | |||
16 | //config:config ZCIP | 16 | //config:config ZCIP |
17 | //config: bool "zcip (8.4 kb)" | 17 | //config: bool "zcip (8.4 kb)" |
18 | //config: default y | 18 | //config: default y |
19 | //config: select PLATFORM_LINUX | ||
20 | //config: select FEATURE_SYSLOG | 19 | //config: select FEATURE_SYSLOG |
21 | //config: help | 20 | //config: help |
22 | //config: ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. | 21 | //config: ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. |
diff --git a/procps/free.c b/procps/free.c index 1e5d36742..b33506b9e 100644 --- a/procps/free.c +++ b/procps/free.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config FREE | 9 | //config:config FREE |
10 | //config: bool "free (3.1 kb)" | 10 | //config: bool "free (3.1 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX #sysinfo() | ||
13 | //config: help | 12 | //config: help |
14 | //config: free displays the total amount of free and used physical and swap | 13 | //config: free displays the total amount of free and used physical and swap |
15 | //config: memory in the system, as well as the buffers used by the kernel. | 14 | //config: memory in the system, as well as the buffers used by the kernel. |
diff --git a/procps/ps.c b/procps/ps.c index 815c11578..48f96209f 100644 --- a/procps/ps.c +++ b/procps/ps.c | |||
@@ -35,7 +35,6 @@ | |||
35 | //config: bool "Enable -o time and -o etime specifiers" | 35 | //config: bool "Enable -o time and -o etime specifiers" |
36 | //config: default y | 36 | //config: default y |
37 | //config: depends on (PS || MINIPS) && DESKTOP | 37 | //config: depends on (PS || MINIPS) && DESKTOP |
38 | //config: select PLATFORM_LINUX | ||
39 | //config: | 38 | //config: |
40 | //config:config FEATURE_PS_UNUSUAL_SYSTEMS | 39 | //config:config FEATURE_PS_UNUSUAL_SYSTEMS |
41 | //config: bool "Support Linux prior to 2.4.0 and non-ELF systems" | 40 | //config: bool "Support Linux prior to 2.4.0 and non-ELF systems" |
diff --git a/procps/uptime.c b/procps/uptime.c index 31581271f..4fd0c9d2d 100644 --- a/procps/uptime.c +++ b/procps/uptime.c | |||
@@ -14,7 +14,6 @@ | |||
14 | //config:config UPTIME | 14 | //config:config UPTIME |
15 | //config: bool "uptime (3.7 kb)" | 15 | //config: bool "uptime (3.7 kb)" |
16 | //config: default y | 16 | //config: default y |
17 | //config: select PLATFORM_LINUX #sysinfo() | ||
18 | //config: help | 17 | //config: help |
19 | //config: uptime gives a one line display of the current time, how long | 18 | //config: uptime gives a one line display of the current time, how long |
20 | //config: the system has been running, how many users are currently logged | 19 | //config: the system has been running, how many users are currently logged |
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c index bdd0b6325..c0ec1c0bf 100644 --- a/sysklogd/klogd.c +++ b/sysklogd/klogd.c | |||
@@ -33,7 +33,6 @@ | |||
33 | //config: bool "Use the klogctl() interface" | 33 | //config: bool "Use the klogctl() interface" |
34 | //config: default y | 34 | //config: default y |
35 | //config: depends on KLOGD | 35 | //config: depends on KLOGD |
36 | //config: select PLATFORM_LINUX | ||
37 | //config: help | 36 | //config: help |
38 | //config: The klogd applet supports two interfaces for reading | 37 | //config: The klogd applet supports two interfaces for reading |
39 | //config: kernel messages. Linux provides the klogctl() interface | 38 | //config: kernel messages. Linux provides the klogctl() interface |
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index ab50f4a28..f61da9de5 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c | |||
@@ -109,7 +109,6 @@ | |||
109 | //config: bool "Linux kernel printk buffer support" | 109 | //config: bool "Linux kernel printk buffer support" |
110 | //config: default y | 110 | //config: default y |
111 | //config: depends on SYSLOGD | 111 | //config: depends on SYSLOGD |
112 | //config: select PLATFORM_LINUX | ||
113 | //config: help | 112 | //config: help |
114 | //config: When you enable this feature, the syslogd utility will | 113 | //config: When you enable this feature, the syslogd utility will |
115 | //config: write system log message to the Linux kernel's printk buffer. | 114 | //config: write system log message to the Linux kernel's printk buffer. |
diff --git a/util-linux/acpid.c b/util-linux/acpid.c index fc8215cce..d473e24fc 100644 --- a/util-linux/acpid.c +++ b/util-linux/acpid.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config ACPID | 9 | //config:config ACPID |
10 | //config: bool "acpid (9 kb)" | 10 | //config: bool "acpid (9 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: acpid listens to ACPI events coming either in textual form from | 13 | //config: acpid listens to ACPI events coming either in textual form from |
15 | //config: /proc/acpi/event (though it is marked deprecated it is still widely | 14 | //config: /proc/acpi/event (though it is marked deprecated it is still widely |
diff --git a/util-linux/blkdiscard.c b/util-linux/blkdiscard.c index a77c7d057..ff2101ed0 100644 --- a/util-linux/blkdiscard.c +++ b/util-linux/blkdiscard.c | |||
@@ -8,7 +8,6 @@ | |||
8 | //config:config BLKDISCARD | 8 | //config:config BLKDISCARD |
9 | //config: bool "blkdiscard (4.3 kb)" | 9 | //config: bool "blkdiscard (4.3 kb)" |
10 | //config: default y | 10 | //config: default y |
11 | //config: select PLATFORM_LINUX | ||
12 | //config: help | 11 | //config: help |
13 | //config: blkdiscard discards sectors on a given device. | 12 | //config: blkdiscard discards sectors on a given device. |
14 | 13 | ||
diff --git a/util-linux/blkid.c b/util-linux/blkid.c index 008ae5d9e..4a820771f 100644 --- a/util-linux/blkid.c +++ b/util-linux/blkid.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config BLKID | 9 | //config:config BLKID |
10 | //config: bool "blkid (12 kb)" | 10 | //config: bool "blkid (12 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: select VOLUMEID | 12 | //config: select VOLUMEID |
14 | //config: help | 13 | //config: help |
15 | //config: Lists labels and UUIDs of all filesystems. | 14 | //config: Lists labels and UUIDs of all filesystems. |
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c index a1f269142..dc4e57169 100644 --- a/util-linux/dmesg.c +++ b/util-linux/dmesg.c | |||
@@ -11,7 +11,6 @@ | |||
11 | //config:config DMESG | 11 | //config:config DMESG |
12 | //config: bool "dmesg (3.7 kb)" | 12 | //config: bool "dmesg (3.7 kb)" |
13 | //config: default y | 13 | //config: default y |
14 | //config: select PLATFORM_LINUX | ||
15 | //config: help | 14 | //config: help |
16 | //config: dmesg is used to examine or control the kernel ring buffer. When the | 15 | //config: dmesg is used to examine or control the kernel ring buffer. When the |
17 | //config: Linux kernel prints messages to the system log, they are stored in | 16 | //config: Linux kernel prints messages to the system log, they are stored in |
diff --git a/util-linux/eject.c b/util-linux/eject.c index 3ccb4ae89..29b0a86bd 100644 --- a/util-linux/eject.c +++ b/util-linux/eject.c | |||
@@ -15,7 +15,6 @@ | |||
15 | //config:config EJECT | 15 | //config:config EJECT |
16 | //config: bool "eject (4 kb)" | 16 | //config: bool "eject (4 kb)" |
17 | //config: default y | 17 | //config: default y |
18 | //config: select PLATFORM_LINUX | ||
19 | //config: help | 18 | //config: help |
20 | //config: Used to eject cdroms. (defaults to /dev/cdrom) | 19 | //config: Used to eject cdroms. (defaults to /dev/cdrom) |
21 | //config: | 20 | //config: |
diff --git a/util-linux/fatattr.c b/util-linux/fatattr.c index 770b1d2f9..afd70c45d 100644 --- a/util-linux/fatattr.c +++ b/util-linux/fatattr.c | |||
@@ -11,7 +11,6 @@ | |||
11 | //config:config FATATTR | 11 | //config:config FATATTR |
12 | //config: bool "fatattr (1.9 kb)" | 12 | //config: bool "fatattr (1.9 kb)" |
13 | //config: default y | 13 | //config: default y |
14 | //config: select PLATFORM_LINUX | ||
15 | //config: help | 14 | //config: help |
16 | //config: fatattr lists or changes the file attributes on a fat file system. | 15 | //config: fatattr lists or changes the file attributes on a fat file system. |
17 | 16 | ||
diff --git a/util-linux/fbset.c b/util-linux/fbset.c index 699a19372..0b9a9a6bc 100644 --- a/util-linux/fbset.c +++ b/util-linux/fbset.c | |||
@@ -14,7 +14,6 @@ | |||
14 | //config:config FBSET | 14 | //config:config FBSET |
15 | //config: bool "fbset (5.9 kb)" | 15 | //config: bool "fbset (5.9 kb)" |
16 | //config: default y | 16 | //config: default y |
17 | //config: select PLATFORM_LINUX | ||
18 | //config: help | 17 | //config: help |
19 | //config: fbset is used to show or change the settings of a Linux frame buffer | 18 | //config: fbset is used to show or change the settings of a Linux frame buffer |
20 | //config: device. The frame buffer device provides a simple and unique | 19 | //config: device. The frame buffer device provides a simple and unique |
diff --git a/util-linux/fdformat.c b/util-linux/fdformat.c index e1c8561d6..f0466fdbd 100644 --- a/util-linux/fdformat.c +++ b/util-linux/fdformat.c | |||
@@ -8,7 +8,6 @@ | |||
8 | //config:config FDFORMAT | 8 | //config:config FDFORMAT |
9 | //config: bool "fdformat (4.4 kb)" | 9 | //config: bool "fdformat (4.4 kb)" |
10 | //config: default y | 10 | //config: default y |
11 | //config: select PLATFORM_LINUX | ||
12 | //config: help | 11 | //config: help |
13 | //config: fdformat is used to low-level format a floppy disk. | 12 | //config: fdformat is used to low-level format a floppy disk. |
14 | 13 | ||
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index f568fe92c..0fb2e3e17 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
@@ -10,7 +10,6 @@ | |||
10 | //config:config FDISK | 10 | //config:config FDISK |
11 | //config: bool "fdisk (37 kb)" | 11 | //config: bool "fdisk (37 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | ||
14 | //config: help | 13 | //config: help |
15 | //config: The fdisk utility is used to divide hard disks into one or more | 14 | //config: The fdisk utility is used to divide hard disks into one or more |
16 | //config: logical disks, which are generally called partitions. This utility | 15 | //config: logical disks, which are generally called partitions. This utility |
diff --git a/util-linux/findfs.c b/util-linux/findfs.c index 7ca9dc96b..f5621a1fa 100644 --- a/util-linux/findfs.c +++ b/util-linux/findfs.c | |||
@@ -10,7 +10,6 @@ | |||
10 | //config:config FINDFS | 10 | //config:config FINDFS |
11 | //config: bool "findfs (12 kb)" | 11 | //config: bool "findfs (12 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | ||
14 | //config: select VOLUMEID | 13 | //config: select VOLUMEID |
15 | //config: help | 14 | //config: help |
16 | //config: Prints the name of a filesystem with given label or UUID. | 15 | //config: Prints the name of a filesystem with given label or UUID. |
diff --git a/util-linux/freeramdisk.c b/util-linux/freeramdisk.c index d27113d97..309169d25 100644 --- a/util-linux/freeramdisk.c +++ b/util-linux/freeramdisk.c | |||
@@ -11,7 +11,6 @@ | |||
11 | //config:config FDFLUSH | 11 | //config:config FDFLUSH |
12 | //config: bool "fdflush (1.3 kb)" | 12 | //config: bool "fdflush (1.3 kb)" |
13 | //config: default y | 13 | //config: default y |
14 | //config: select PLATFORM_LINUX | ||
15 | //config: help | 14 | //config: help |
16 | //config: fdflush is only needed when changing media on slightly-broken | 15 | //config: fdflush is only needed when changing media on slightly-broken |
17 | //config: removable media drives. It is used to make Linux believe that a | 16 | //config: removable media drives. It is used to make Linux believe that a |
@@ -24,7 +23,6 @@ | |||
24 | //config:config FREERAMDISK | 23 | //config:config FREERAMDISK |
25 | //config: bool "freeramdisk (1.3 kb)" | 24 | //config: bool "freeramdisk (1.3 kb)" |
26 | //config: default y | 25 | //config: default y |
27 | //config: select PLATFORM_LINUX | ||
28 | //config: help | 26 | //config: help |
29 | //config: Linux allows you to create ramdisks. This utility allows you to | 27 | //config: Linux allows you to create ramdisks. This utility allows you to |
30 | //config: delete them and completely free all memory that was used for the | 28 | //config: delete them and completely free all memory that was used for the |
diff --git a/util-linux/fsfreeze.c b/util-linux/fsfreeze.c index fb0b3c4bd..6e2ff0a54 100644 --- a/util-linux/fsfreeze.c +++ b/util-linux/fsfreeze.c | |||
@@ -7,7 +7,6 @@ | |||
7 | //config:config FSFREEZE | 7 | //config:config FSFREEZE |
8 | //config: bool "fsfreeze (3.5 kb)" | 8 | //config: bool "fsfreeze (3.5 kb)" |
9 | //config: default y | 9 | //config: default y |
10 | //config: select PLATFORM_LINUX | ||
11 | //config: select LONG_OPTS | 10 | //config: select LONG_OPTS |
12 | //config: help | 11 | //config: help |
13 | //config: Halt new accesses and flush writes on a mounted filesystem. | 12 | //config: Halt new accesses and flush writes on a mounted filesystem. |
diff --git a/util-linux/fstrim.c b/util-linux/fstrim.c index 48948e839..8d29a6d54 100644 --- a/util-linux/fstrim.c +++ b/util-linux/fstrim.c | |||
@@ -10,7 +10,6 @@ | |||
10 | //config:config FSTRIM | 10 | //config:config FSTRIM |
11 | //config: bool "fstrim (4.4 kb)" | 11 | //config: bool "fstrim (4.4 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | ||
14 | //config: help | 13 | //config: help |
15 | //config: Discard unused blocks on a mounted filesystem. | 14 | //config: Discard unused blocks on a mounted filesystem. |
16 | 15 | ||
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c index dc97d8fb4..357906cca 100644 --- a/util-linux/hwclock.c +++ b/util-linux/hwclock.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config HWCLOCK | 9 | //config:config HWCLOCK |
10 | //config: bool "hwclock (5.8 kb)" | 10 | //config: bool "hwclock (5.8 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: The hwclock utility is used to read and set the hardware clock | 13 | //config: The hwclock utility is used to read and set the hardware clock |
15 | //config: on a system. This is primarily used to set the current time on | 14 | //config: on a system. This is primarily used to set the current time on |
diff --git a/util-linux/ionice.c b/util-linux/ionice.c index daf64d537..40c04d5e0 100644 --- a/util-linux/ionice.c +++ b/util-linux/ionice.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config IONICE | 9 | //config:config IONICE |
10 | //config: bool "ionice (3.8 kb)" | 10 | //config: bool "ionice (3.8 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: Set/set program io scheduling class and priority | 13 | //config: Set/set program io scheduling class and priority |
15 | //config: Requires kernel >= 2.6.13 | 14 | //config: Requires kernel >= 2.6.13 |
diff --git a/util-linux/ipcs.c b/util-linux/ipcs.c index df86cfb9d..ef2529c05 100644 --- a/util-linux/ipcs.c +++ b/util-linux/ipcs.c | |||
@@ -10,7 +10,6 @@ | |||
10 | //config:config IPCS | 10 | //config:config IPCS |
11 | //config: bool "ipcs (11 kb)" | 11 | //config: bool "ipcs (11 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | ||
14 | //config: help | 13 | //config: help |
15 | //config: The ipcs utility is used to provide information on the currently | 14 | //config: The ipcs utility is used to provide information on the currently |
16 | //config: allocated System V interprocess (IPC) objects in the system. | 15 | //config: allocated System V interprocess (IPC) objects in the system. |
diff --git a/util-linux/losetup.c b/util-linux/losetup.c index cc6c2b1d5..ac8b79502 100644 --- a/util-linux/losetup.c +++ b/util-linux/losetup.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config LOSETUP | 9 | //config:config LOSETUP |
10 | //config: bool "losetup (5.5 kb)" | 10 | //config: bool "losetup (5.5 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: losetup is used to associate or detach a loop device with a regular | 13 | //config: losetup is used to associate or detach a loop device with a regular |
15 | //config: file or block device, and to query the status of a loop device. This | 14 | //config: file or block device, and to query the status of a loop device. This |
diff --git a/util-linux/lspci.c b/util-linux/lspci.c index a6b4e850f..2f0b5fab9 100644 --- a/util-linux/lspci.c +++ b/util-linux/lspci.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config LSPCI | 9 | //config:config LSPCI |
10 | //config: bool "lspci (6.3 kb)" | 10 | //config: bool "lspci (6.3 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: #select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: lspci is a utility for displaying information about PCI buses in the | 13 | //config: lspci is a utility for displaying information about PCI buses in the |
15 | //config: system and devices connected to them. | 14 | //config: system and devices connected to them. |
diff --git a/util-linux/lsusb.c b/util-linux/lsusb.c index e27aa7f31..64a00eee2 100644 --- a/util-linux/lsusb.c +++ b/util-linux/lsusb.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config LSUSB | 9 | //config:config LSUSB |
10 | //config: bool "lsusb (4.2 kb)" | 10 | //config: bool "lsusb (4.2 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: #select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: lsusb is a utility for displaying information about USB buses in the | 13 | //config: lsusb is a utility for displaying information about USB buses in the |
15 | //config: system and devices connected to them. | 14 | //config: system and devices connected to them. |
diff --git a/util-linux/mdev.c b/util-linux/mdev.c index 207a112c1..f42bebc20 100644 --- a/util-linux/mdev.c +++ b/util-linux/mdev.c | |||
@@ -10,7 +10,6 @@ | |||
10 | //config:config MDEV | 10 | //config:config MDEV |
11 | //config: bool "mdev (17 kb)" | 11 | //config: bool "mdev (17 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | ||
14 | //config: help | 13 | //config: help |
15 | //config: mdev is a mini-udev implementation for dynamically creating device | 14 | //config: mdev is a mini-udev implementation for dynamically creating device |
16 | //config: nodes in the /dev directory. | 15 | //config: nodes in the /dev directory. |
diff --git a/util-linux/mkfs_ext2.c b/util-linux/mkfs_ext2.c index d568f4be5..1f525d75b 100644 --- a/util-linux/mkfs_ext2.c +++ b/util-linux/mkfs_ext2.c | |||
@@ -10,14 +10,12 @@ | |||
10 | //config:config MKE2FS | 10 | //config:config MKE2FS |
11 | //config: bool "mke2fs (10 kb)" | 11 | //config: bool "mke2fs (10 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | ||
14 | //config: help | 13 | //config: help |
15 | //config: Utility to create EXT2 filesystems. | 14 | //config: Utility to create EXT2 filesystems. |
16 | //config: | 15 | //config: |
17 | //config:config MKFS_EXT2 | 16 | //config:config MKFS_EXT2 |
18 | //config: bool "mkfs.ext2 (10 kb)" | 17 | //config: bool "mkfs.ext2 (10 kb)" |
19 | //config: default y | 18 | //config: default y |
20 | //config: select PLATFORM_LINUX | ||
21 | //config: help | 19 | //config: help |
22 | //config: Alias to "mke2fs". | 20 | //config: Alias to "mke2fs". |
23 | 21 | ||
diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c index 8f791cf66..3c72e5419 100644 --- a/util-linux/mkfs_minix.c +++ b/util-linux/mkfs_minix.c | |||
@@ -65,7 +65,6 @@ | |||
65 | //config:config MKFS_MINIX | 65 | //config:config MKFS_MINIX |
66 | //config: bool "mkfs.minix (10 kb)" | 66 | //config: bool "mkfs.minix (10 kb)" |
67 | //config: default y | 67 | //config: default y |
68 | //config: select PLATFORM_LINUX | ||
69 | //config: help | 68 | //config: help |
70 | //config: The minix filesystem is a nice, small, compact, read-write filesystem | 69 | //config: The minix filesystem is a nice, small, compact, read-write filesystem |
71 | //config: with little overhead. If you wish to be able to create minix | 70 | //config: with little overhead. If you wish to be able to create minix |
diff --git a/util-linux/mkfs_reiser.c b/util-linux/mkfs_reiser.c index d2eaf5f94..44a743147 100644 --- a/util-linux/mkfs_reiser.c +++ b/util-linux/mkfs_reiser.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config MKFS_REISER | 9 | //config:config MKFS_REISER |
10 | //config: bool "mkfs_reiser" | 10 | //config: bool "mkfs_reiser" |
11 | //config: default n | 11 | //config: default n |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: Utility to create ReiserFS filesystems. | 13 | //config: Utility to create ReiserFS filesystems. |
15 | //config: Note: this applet needs a lot of testing and polishing. | 14 | //config: Note: this applet needs a lot of testing and polishing. |
diff --git a/util-linux/mkfs_vfat.c b/util-linux/mkfs_vfat.c index 16c1fac00..844d965f8 100644 --- a/util-linux/mkfs_vfat.c +++ b/util-linux/mkfs_vfat.c | |||
@@ -10,14 +10,12 @@ | |||
10 | //config:config MKDOSFS | 10 | //config:config MKDOSFS |
11 | //config: bool "mkdosfs (7.2 kb)" | 11 | //config: bool "mkdosfs (7.2 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | ||
14 | //config: help | 13 | //config: help |
15 | //config: Utility to create FAT32 filesystems. | 14 | //config: Utility to create FAT32 filesystems. |
16 | //config: | 15 | //config: |
17 | //config:config MKFS_VFAT | 16 | //config:config MKFS_VFAT |
18 | //config: bool "mkfs.vfat (7.2 kb)" | 17 | //config: bool "mkfs.vfat (7.2 kb)" |
19 | //config: default y | 18 | //config: default y |
20 | //config: select PLATFORM_LINUX | ||
21 | //config: help | 19 | //config: help |
22 | //config: Alias to "mkdosfs". | 20 | //config: Alias to "mkdosfs". |
23 | 21 | ||
diff --git a/util-linux/mount.c b/util-linux/mount.c index 84c85c057..b92e2c297 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -20,7 +20,6 @@ | |||
20 | //config:config MOUNT | 20 | //config:config MOUNT |
21 | //config: bool "mount (23 kb)" | 21 | //config: bool "mount (23 kb)" |
22 | //config: default y | 22 | //config: default y |
23 | //config: select PLATFORM_LINUX | ||
24 | //config: help | 23 | //config: help |
25 | //config: All files and filesystems in Unix are arranged into one big directory | 24 | //config: All files and filesystems in Unix are arranged into one big directory |
26 | //config: tree. The 'mount' utility is used to graft a filesystem onto a | 25 | //config: tree. The 'mount' utility is used to graft a filesystem onto a |
diff --git a/util-linux/nsenter.c b/util-linux/nsenter.c index 304f2d748..c48dcf885 100644 --- a/util-linux/nsenter.c +++ b/util-linux/nsenter.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config NSENTER | 9 | //config:config NSENTER |
10 | //config: bool "nsenter (6.5 kb)" | 10 | //config: bool "nsenter (6.5 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: Run program with namespaces of other processes. | 13 | //config: Run program with namespaces of other processes. |
15 | 14 | ||
diff --git a/util-linux/pivot_root.c b/util-linux/pivot_root.c index 41f29da32..ecc891100 100644 --- a/util-linux/pivot_root.c +++ b/util-linux/pivot_root.c | |||
@@ -11,7 +11,6 @@ | |||
11 | //config:config PIVOT_ROOT | 11 | //config:config PIVOT_ROOT |
12 | //config: bool "pivot_root (1.1 kb)" | 12 | //config: bool "pivot_root (1.1 kb)" |
13 | //config: default y | 13 | //config: default y |
14 | //config: select PLATFORM_LINUX | ||
15 | //config: help | 14 | //config: help |
16 | //config: The pivot_root utility swaps the mount points for the root filesystem | 15 | //config: The pivot_root utility swaps the mount points for the root filesystem |
17 | //config: with some other mounted filesystem. This allows you to do all sorts | 16 | //config: with some other mounted filesystem. This allows you to do all sorts |
diff --git a/util-linux/readprofile.c b/util-linux/readprofile.c index c4ea374be..32d9987e7 100644 --- a/util-linux/readprofile.c +++ b/util-linux/readprofile.c | |||
@@ -34,7 +34,6 @@ | |||
34 | //config:config READPROFILE | 34 | //config:config READPROFILE |
35 | //config: bool "readprofile (7.1 kb)" | 35 | //config: bool "readprofile (7.1 kb)" |
36 | //config: default y | 36 | //config: default y |
37 | //config: #select PLATFORM_LINUX | ||
38 | //config: help | 37 | //config: help |
39 | //config: This allows you to parse /proc/profile for basic profiling. | 38 | //config: This allows you to parse /proc/profile for basic profiling. |
40 | 39 | ||
diff --git a/util-linux/rtcwake.c b/util-linux/rtcwake.c index cad0f9d64..823e55662 100644 --- a/util-linux/rtcwake.c +++ b/util-linux/rtcwake.c | |||
@@ -25,7 +25,6 @@ | |||
25 | //config:config RTCWAKE | 25 | //config:config RTCWAKE |
26 | //config: bool "rtcwake (6.8 kb)" | 26 | //config: bool "rtcwake (6.8 kb)" |
27 | //config: default y | 27 | //config: default y |
28 | //config: select PLATFORM_LINUX | ||
29 | //config: help | 28 | //config: help |
30 | //config: Enter a system sleep state until specified wakeup time. | 29 | //config: Enter a system sleep state until specified wakeup time. |
31 | 30 | ||
diff --git a/util-linux/setarch.c b/util-linux/setarch.c index 57051a683..cf8ef0064 100644 --- a/util-linux/setarch.c +++ b/util-linux/setarch.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config SETARCH | 9 | //config:config SETARCH |
10 | //config: bool "setarch (3.6 kb)" | 10 | //config: bool "setarch (3.6 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: The linux32 utility is used to create a 32bit environment for the | 13 | //config: The linux32 utility is used to create a 32bit environment for the |
15 | //config: specified program (usually a shell). It only makes sense to have | 14 | //config: specified program (usually a shell). It only makes sense to have |
@@ -19,14 +18,12 @@ | |||
19 | //config:config LINUX32 | 18 | //config:config LINUX32 |
20 | //config: bool "linux32 (3.3 kb)" | 19 | //config: bool "linux32 (3.3 kb)" |
21 | //config: default y | 20 | //config: default y |
22 | //config: select PLATFORM_LINUX | ||
23 | //config: help | 21 | //config: help |
24 | //config: Alias to "setarch linux32". | 22 | //config: Alias to "setarch linux32". |
25 | //config: | 23 | //config: |
26 | //config:config LINUX64 | 24 | //config:config LINUX64 |
27 | //config: bool "linux64 (3.3 kb)" | 25 | //config: bool "linux64 (3.3 kb)" |
28 | //config: default y | 26 | //config: default y |
29 | //config: select PLATFORM_LINUX | ||
30 | //config: help | 27 | //config: help |
31 | //config: Alias to "setarch linux64". | 28 | //config: Alias to "setarch linux64". |
32 | 29 | ||
diff --git a/util-linux/setpriv.c b/util-linux/setpriv.c index e5cf96957..37e8821a1 100644 --- a/util-linux/setpriv.c +++ b/util-linux/setpriv.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config SETPRIV | 9 | //config:config SETPRIV |
10 | //config: bool "setpriv (6.6 kb)" | 10 | //config: bool "setpriv (6.6 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: select LONG_OPTS | 12 | //config: select LONG_OPTS |
14 | //config: help | 13 | //config: help |
15 | //config: Run a program with different Linux privilege settings. | 14 | //config: Run a program with different Linux privilege settings. |
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c index 567869cc7..e2ff4b5cc 100644 --- a/util-linux/swaponoff.c +++ b/util-linux/swaponoff.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config SWAPON | 9 | //config:config SWAPON |
10 | //config: bool "swapon (15 kb)" | 10 | //config: bool "swapon (15 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: Once you have created some swap space using 'mkswap', you also need | 13 | //config: Once you have created some swap space using 'mkswap', you also need |
15 | //config: to enable your swap space with the 'swapon' utility. The 'swapoff' | 14 | //config: to enable your swap space with the 'swapon' utility. The 'swapoff' |
@@ -36,7 +35,6 @@ | |||
36 | //config:config SWAPOFF | 35 | //config:config SWAPOFF |
37 | //config: bool "swapoff (14 kb)" | 36 | //config: bool "swapoff (14 kb)" |
38 | //config: default y | 37 | //config: default y |
39 | //config: select PLATFORM_LINUX | ||
40 | //config: | 38 | //config: |
41 | //config:config FEATURE_SWAPONOFF_LABEL | 39 | //config:config FEATURE_SWAPONOFF_LABEL |
42 | //config: bool "Support specifying devices by label or UUID" | 40 | //config: bool "Support specifying devices by label or UUID" |
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c index a483893ed..c65096c27 100644 --- a/util-linux/switch_root.c +++ b/util-linux/switch_root.c | |||
@@ -9,7 +9,6 @@ | |||
9 | //config:config SWITCH_ROOT | 9 | //config:config SWITCH_ROOT |
10 | //config: bool "switch_root (5.5 kb)" | 10 | //config: bool "switch_root (5.5 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: select PLATFORM_LINUX | ||
13 | //config: help | 12 | //config: help |
14 | //config: The switch_root utility is used from initramfs to select a new | 13 | //config: The switch_root utility is used from initramfs to select a new |
15 | //config: root device. Under initramfs, you have to use this instead of | 14 | //config: root device. Under initramfs, you have to use this instead of |
diff --git a/util-linux/uevent.c b/util-linux/uevent.c index 7a1d7d4a7..57d9328ef 100644 --- a/util-linux/uevent.c +++ b/util-linux/uevent.c | |||
@@ -6,7 +6,6 @@ | |||
6 | //config:config UEVENT | 6 | //config:config UEVENT |
7 | //config: bool "uevent (3.1 kb)" | 7 | //config: bool "uevent (3.1 kb)" |
8 | //config: default y | 8 | //config: default y |
9 | //config: select PLATFORM_LINUX | ||
10 | //config: help | 9 | //config: help |
11 | //config: uevent is a netlink listener for kernel uevent notifications | 10 | //config: uevent is a netlink listener for kernel uevent notifications |
12 | //config: sent via netlink. It is usually used for dynamic device creation. | 11 | //config: sent via netlink. It is usually used for dynamic device creation. |
diff --git a/util-linux/umount.c b/util-linux/umount.c index 077b635c8..63a3bf504 100644 --- a/util-linux/umount.c +++ b/util-linux/umount.c | |||
@@ -10,7 +10,6 @@ | |||
10 | //config:config UMOUNT | 10 | //config:config UMOUNT |
11 | //config: bool "umount (5.1 kb)" | 11 | //config: bool "umount (5.1 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: select PLATFORM_LINUX | ||
14 | //config: help | 13 | //config: help |
15 | //config: When you want to remove a mounted filesystem from its current mount | 14 | //config: When you want to remove a mounted filesystem from its current mount |
16 | //config: point, for example when you are shutting down the system, the | 15 | //config: point, for example when you are shutting down the system, the |
diff --git a/util-linux/unshare.c b/util-linux/unshare.c index a943e7b03..2087413e8 100644 --- a/util-linux/unshare.c +++ b/util-linux/unshare.c | |||
@@ -10,7 +10,6 @@ | |||
10 | //config: bool "unshare (7.2 kb)" | 10 | //config: bool "unshare (7.2 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: depends on !NOMMU | 12 | //config: depends on !NOMMU |
13 | //config: select PLATFORM_LINUX | ||
14 | //config: select LONG_OPTS | 13 | //config: select LONG_OPTS |
15 | //config: help | 14 | //config: help |
16 | //config: Run program with some namespaces unshared from parent. | 15 | //config: Run program with some namespaces unshared from parent. |