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>
This commit is contained in:
committed by
Denys Vlasenko
parent
9914d8b861
commit
5c69ad0ecd
@@ -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.
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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!
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user