aboutsummaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2020-08-04 08:24:19 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-08-13 17:12:56 +0200
commit5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d (patch)
treeaeb911b86b6dab262429a8a9fa76bcdf697b02a3 /console-tools
parent9914d8b861a0edb42051bd68a37bceb0562daa70 (diff)
downloadbusybox-5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d.tar.gz
build system: drop PLATFORM_LINUX
PLATFORM_LINUX is a hidden configuration option which is disabled by default and enabled at over a hundred locations for features that are deemed to be Linux specific. The only effect of PLATFORM_LINUX is to control compilation of libbb/match_fstype.c. This file is only needed by mount and umount. Remove all references to PLATFORM_LINUX and compile match_fstype.c if mount or umount is enabled. Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'console-tools')
-rw-r--r--console-tools/chvt.c1
-rw-r--r--console-tools/deallocvt.c1
-rw-r--r--console-tools/dumpkmap.c1
-rw-r--r--console-tools/fgconsole.c1
-rw-r--r--console-tools/kbd_mode.c1
-rw-r--r--console-tools/loadfont.c2
-rw-r--r--console-tools/loadkmap.c1
-rw-r--r--console-tools/openvt.c1
-rw-r--r--console-tools/setconsole.c1
-rw-r--r--console-tools/setkeycodes.c1
-rw-r--r--console-tools/setlogcons.c1
-rw-r--r--console-tools/showkey.c1
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 @@
//config:config CHVT
//config: bool "chvt (2 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: This program is used to change to another terminal.
//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 @@
//config:config DEALLOCVT
//config: bool "deallocvt (1.9 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: This program deallocates unused virtual consoles.
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 @@
//config:config DUMPKMAP
//config: bool "dumpkmap (1.6 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: This program dumps the kernel's keyboard translation table to
//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 @@
//config:config FGCONSOLE
//config: bool "fgconsole (1.5 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: This program prints active (foreground) console number.
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 @@
//config:config KBD_MODE
//config: bool "kbd_mode (4.1 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: This program reports and sets keyboard mode.
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 @@
//config:config LOADFONT
//config: bool "loadfont (5.2 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: This program loads a console font from standard input.
//config:
//config:config SETFONT
//config: bool "setfont (24 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: Allows to load console screen map. Useful for i18n.
//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 @@
//config:config LOADKMAP
//config: bool "loadkmap (1.8 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: This program loads a keyboard translation table from
//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 @@
//config:config OPENVT
//config: bool "openvt (7.2 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: This program is used to start a command on an unused
//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 @@
//config:config SETCONSOLE
//config: bool "setconsole (3.6 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: Redirect writes to /dev/console to another device,
//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 @@
//config:config SETKEYCODES
//config: bool "setkeycodes (2.1 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: This program loads entries into the kernel's scancode-to-keycode
//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 @@
//config:config SETLOGCONS
//config: bool "setlogcons (1.8 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: This program redirects the output console of kernel messages.
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 @@
//config:config SHOWKEY
//config: bool "showkey (4.7 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: Shows keys pressed.