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 /console-tools | |
parent | 9914d8b861a0edb42051bd68a37bceb0562daa70 (diff) | |
download | busybox-w32-5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d.tar.gz busybox-w32-5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d.tar.bz2 busybox-w32-5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d.zip |
build system: drop PLATFORM_LINUX
PLATFORM_LINUX is a hidden configuration option which is disabled by
default and enabled at over a hundred locations for features that are
deemed to be Linux specific.
The only effect of PLATFORM_LINUX is to control compilation of
libbb/match_fstype.c. This file is only needed by mount and umount.
Remove all references to PLATFORM_LINUX and compile match_fstype.c
if mount or umount is enabled.
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'console-tools')
-rw-r--r-- | console-tools/chvt.c | 1 | ||||
-rw-r--r-- | console-tools/deallocvt.c | 1 | ||||
-rw-r--r-- | console-tools/dumpkmap.c | 1 | ||||
-rw-r--r-- | console-tools/fgconsole.c | 1 | ||||
-rw-r--r-- | console-tools/kbd_mode.c | 1 | ||||
-rw-r--r-- | console-tools/loadfont.c | 2 | ||||
-rw-r--r-- | console-tools/loadkmap.c | 1 | ||||
-rw-r--r-- | console-tools/openvt.c | 1 | ||||
-rw-r--r-- | console-tools/setconsole.c | 1 | ||||
-rw-r--r-- | console-tools/setkeycodes.c | 1 | ||||
-rw-r--r-- | console-tools/setlogcons.c | 1 | ||||
-rw-r--r-- | console-tools/showkey.c | 1 |
12 files changed, 0 insertions, 13 deletions
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 | ||