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 /miscutils | |
parent | 9914d8b861a0edb42051bd68a37bceb0562daa70 (diff) | |
download | busybox-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 'miscutils')
-rw-r--r-- | miscutils/adjtimex.c | 1 | ||||
-rw-r--r-- | miscutils/beep.c | 1 | ||||
-rw-r--r-- | miscutils/conspy.c | 1 | ||||
-rw-r--r-- | miscutils/devfsd.c | 2 | ||||
-rw-r--r-- | miscutils/fbsplash.c | 1 | ||||
-rw-r--r-- | miscutils/hdparm.c | 1 | ||||
-rw-r--r-- | miscutils/i2c_tools.c | 5 | ||||
-rw-r--r-- | miscutils/lsscsi.c | 1 | ||||
-rw-r--r-- | miscutils/nandwrite.c | 2 | ||||
-rw-r--r-- | miscutils/partprobe.c | 1 | ||||
-rw-r--r-- | miscutils/raidautorun.c | 1 | ||||
-rw-r--r-- | miscutils/readahead.c | 1 | ||||
-rw-r--r-- | miscutils/rfkill.c | 1 | ||||
-rw-r--r-- | miscutils/rx.c | 1 | ||||
-rw-r--r-- | miscutils/setserial.c | 1 | ||||
-rw-r--r-- | miscutils/ubi_tools.c | 6 | ||||
-rw-r--r-- | miscutils/ubirename.c | 1 | ||||
-rw-r--r-- | miscutils/watchdog.c | 1 |
18 files changed, 0 insertions, 29 deletions
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 @@ //config:config ADJTIMEX //config: bool "adjtimex (4.7 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Adjtimex reads and optionally sets adjustment parameters for //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 @@ //config:config BEEP //config: bool "beep (2.4 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: The beep applets beeps in a given freq/Hz. //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 @@ //config:config CONSPY //config: bool "conspy (10 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: A text-mode VNC like program for Linux virtual terminals. //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 @@ //config:config DEVFSD //config: bool "devfsd (obsolete)" //config: default n -//config: select PLATFORM_LINUX //config: select FEATURE_SYSLOG //config: help //config: This is deprecated and should NOT be used anymore. @@ -99,7 +98,6 @@ //config:config FEATURE_DEVFS //config: bool "Use devfs names for all devices (obsolete)" //config: default n -//config: select PLATFORM_LINUX //config: help //config: This is obsolete and should NOT be used anymore. //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 @@ //config:config FBSPLASH //config: bool "fbsplash (26 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Shows splash image and progress bar on framebuffer device. //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 @@ //config:config HDPARM //config: bool "hdparm (25 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Get/Set hard drive parameters. Primarily intended for ATA //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 @@ //config:config I2CGET //config: bool "i2cget (5.5 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Read from I2C/SMBus chip registers. //config: //config:config I2CSET //config: bool "i2cset (6.7 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Set I2C registers. //config: //config:config I2CDUMP //config: bool "i2cdump (7.1 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Examine I2C registers. //config: //config:config I2CDETECT //config: bool "i2cdetect (7.1 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Detect I2C chips. //config: //config:config I2CTRANSFER //config: bool "i2ctransfer (4.0 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Send user-defined I2C messages in one transfer. //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 @@ //config:config LSSCSI //config: bool "lsscsi (2.5 kb)" //config: default y -//config: #select PLATFORM_LINUX //config: help //config: lsscsi is a utility for displaying information about SCSI buses in the //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 @@ //config:config NANDWRITE //config: bool "nandwrite (4.8 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Write to the specified MTD device, with bad blocks awareness //config: //config:config NANDDUMP //config: bool "nanddump (5.2 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Dump the content of raw NAND chip 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 @@ //config:config PARTPROBE //config: bool "partprobe (3.5 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Ask kernel to rescan partition table. 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 @@ //config:config RAIDAUTORUN //config: bool "raidautorun (1.3 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: raidautorun tells the kernel md driver to //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 @@ //config: bool "readahead (1.5 kb)" //config: default y //config: depends on LFS -//config: select PLATFORM_LINUX //config: help //config: Preload the files listed on the command line into RAM cache so that //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 @@ //config:config RFKILL //config: bool "rfkill (4.4 kb)" //config: default n # doesn't build on Ubuntu 9.04 -//config: select PLATFORM_LINUX //config: help //config: Enable/disable wireless devices. //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 @@ //config:config RX //config: bool "rx (2.9 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Receive files using the Xmodem protocol. 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 @@ //config:config SETSERIAL //config: bool "setserial (6.9 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Retrieve or set Linux serial port. 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 @@ //config:config UBIATTACH //config: bool "ubiattach (4.2 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Attach MTD device to an UBI device. //config: //config:config UBIDETACH //config: bool "ubidetach (4.1 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Detach MTD device from an UBI device. //config: //config:config UBIMKVOL //config: bool "ubimkvol (5.3 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Create a UBI volume. //config: //config:config UBIRMVOL //config: bool "ubirmvol (4.9 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Delete a UBI volume. //config: //config:config UBIRSVOL //config: bool "ubirsvol (4.2 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Resize a UBI volume. //config: //config:config UBIUPDATEVOL //config: bool "ubiupdatevol (5.2 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Update a UBI volume. 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 @@ //config:config UBIRENAME //config: bool "ubirename (2.4 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Utility to rename UBI volumes 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 @@ //config:config WATCHDOG //config: bool "watchdog (5.3 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: The watchdog utility is used with hardware or software watchdog //config: device drivers. It opens the specified watchdog device special file |