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
@@ -9,7 +9,6 @@
|
||||
//config:config ACPID
|
||||
//config: bool "acpid (9 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: acpid listens to ACPI events coming either in textual form from
|
||||
//config: /proc/acpi/event (though it is marked deprecated it is still widely
|
||||
|
@@ -8,7 +8,6 @@
|
||||
//config:config BLKDISCARD
|
||||
//config: bool "blkdiscard (4.3 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: blkdiscard discards sectors on a given device.
|
||||
|
||||
|
@@ -9,7 +9,6 @@
|
||||
//config:config BLKID
|
||||
//config: bool "blkid (12 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: select VOLUMEID
|
||||
//config: help
|
||||
//config: Lists labels and UUIDs of all filesystems.
|
||||
|
@@ -11,7 +11,6 @@
|
||||
//config:config DMESG
|
||||
//config: bool "dmesg (3.7 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: dmesg is used to examine or control the kernel ring buffer. When the
|
||||
//config: Linux kernel prints messages to the system log, they are stored in
|
||||
|
@@ -15,7 +15,6 @@
|
||||
//config:config EJECT
|
||||
//config: bool "eject (4 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: Used to eject cdroms. (defaults to /dev/cdrom)
|
||||
//config:
|
||||
|
@@ -11,7 +11,6 @@
|
||||
//config:config FATATTR
|
||||
//config: bool "fatattr (1.9 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: fatattr lists or changes the file attributes on a fat file system.
|
||||
|
||||
|
@@ -14,7 +14,6 @@
|
||||
//config:config FBSET
|
||||
//config: bool "fbset (5.9 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: fbset is used to show or change the settings of a Linux frame buffer
|
||||
//config: device. The frame buffer device provides a simple and unique
|
||||
|
@@ -8,7 +8,6 @@
|
||||
//config:config FDFORMAT
|
||||
//config: bool "fdformat (4.4 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: fdformat is used to low-level format a floppy disk.
|
||||
|
||||
|
@@ -10,7 +10,6 @@
|
||||
//config:config FDISK
|
||||
//config: bool "fdisk (37 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: The fdisk utility is used to divide hard disks into one or more
|
||||
//config: logical disks, which are generally called partitions. This utility
|
||||
|
@@ -10,7 +10,6 @@
|
||||
//config:config FINDFS
|
||||
//config: bool "findfs (12 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: select VOLUMEID
|
||||
//config: help
|
||||
//config: Prints the name of a filesystem with given label or UUID.
|
||||
|
@@ -11,7 +11,6 @@
|
||||
//config:config FDFLUSH
|
||||
//config: bool "fdflush (1.3 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: fdflush is only needed when changing media on slightly-broken
|
||||
//config: removable media drives. It is used to make Linux believe that a
|
||||
@@ -24,7 +23,6 @@
|
||||
//config:config FREERAMDISK
|
||||
//config: bool "freeramdisk (1.3 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: Linux allows you to create ramdisks. This utility allows you to
|
||||
//config: delete them and completely free all memory that was used for the
|
||||
|
@@ -7,7 +7,6 @@
|
||||
//config:config FSFREEZE
|
||||
//config: bool "fsfreeze (3.5 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: select LONG_OPTS
|
||||
//config: help
|
||||
//config: Halt new accesses and flush writes on a mounted filesystem.
|
||||
|
@@ -10,7 +10,6 @@
|
||||
//config:config FSTRIM
|
||||
//config: bool "fstrim (4.4 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: Discard unused blocks on a mounted filesystem.
|
||||
|
||||
|
@@ -9,7 +9,6 @@
|
||||
//config:config HWCLOCK
|
||||
//config: bool "hwclock (5.8 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: The hwclock utility is used to read and set the hardware clock
|
||||
//config: on a system. This is primarily used to set the current time on
|
||||
|
@@ -9,7 +9,6 @@
|
||||
//config:config IONICE
|
||||
//config: bool "ionice (3.8 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: Set/set program io scheduling class and priority
|
||||
//config: Requires kernel >= 2.6.13
|
||||
|
@@ -10,7 +10,6 @@
|
||||
//config:config IPCS
|
||||
//config: bool "ipcs (11 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: The ipcs utility is used to provide information on the currently
|
||||
//config: allocated System V interprocess (IPC) objects in the system.
|
||||
|
@@ -9,7 +9,6 @@
|
||||
//config:config LOSETUP
|
||||
//config: bool "losetup (5.5 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: losetup is used to associate or detach a loop device with a regular
|
||||
//config: file or block device, and to query the status of a loop device. This
|
||||
|
@@ -9,7 +9,6 @@
|
||||
//config:config LSPCI
|
||||
//config: bool "lspci (6.3 kb)"
|
||||
//config: default y
|
||||
//config: #select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: lspci is a utility for displaying information about PCI buses in the
|
||||
//config: system and devices connected to them.
|
||||
|
@@ -9,7 +9,6 @@
|
||||
//config:config LSUSB
|
||||
//config: bool "lsusb (4.2 kb)"
|
||||
//config: default y
|
||||
//config: #select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: lsusb is a utility for displaying information about USB buses in the
|
||||
//config: system and devices connected to them.
|
||||
|
@@ -10,7 +10,6 @@
|
||||
//config:config MDEV
|
||||
//config: bool "mdev (17 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: mdev is a mini-udev implementation for dynamically creating device
|
||||
//config: nodes in the /dev directory.
|
||||
|
@@ -10,14 +10,12 @@
|
||||
//config:config MKE2FS
|
||||
//config: bool "mke2fs (10 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: Utility to create EXT2 filesystems.
|
||||
//config:
|
||||
//config:config MKFS_EXT2
|
||||
//config: bool "mkfs.ext2 (10 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: Alias to "mke2fs".
|
||||
|
||||
|
@@ -65,7 +65,6 @@
|
||||
//config:config MKFS_MINIX
|
||||
//config: bool "mkfs.minix (10 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: The minix filesystem is a nice, small, compact, read-write filesystem
|
||||
//config: with little overhead. If you wish to be able to create minix
|
||||
|
@@ -9,7 +9,6 @@
|
||||
//config:config MKFS_REISER
|
||||
//config: bool "mkfs_reiser"
|
||||
//config: default n
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: Utility to create ReiserFS filesystems.
|
||||
//config: Note: this applet needs a lot of testing and polishing.
|
||||
|
@@ -10,14 +10,12 @@
|
||||
//config:config MKDOSFS
|
||||
//config: bool "mkdosfs (7.2 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: Utility to create FAT32 filesystems.
|
||||
//config:
|
||||
//config:config MKFS_VFAT
|
||||
//config: bool "mkfs.vfat (7.2 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: Alias to "mkdosfs".
|
||||
|
||||
|
@@ -20,7 +20,6 @@
|
||||
//config:config MOUNT
|
||||
//config: bool "mount (23 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: All files and filesystems in Unix are arranged into one big directory
|
||||
//config: tree. The 'mount' utility is used to graft a filesystem onto a
|
||||
|
@@ -9,7 +9,6 @@
|
||||
//config:config NSENTER
|
||||
//config: bool "nsenter (6.5 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: Run program with namespaces of other processes.
|
||||
|
||||
|
@@ -11,7 +11,6 @@
|
||||
//config:config PIVOT_ROOT
|
||||
//config: bool "pivot_root (1.1 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: The pivot_root utility swaps the mount points for the root filesystem
|
||||
//config: with some other mounted filesystem. This allows you to do all sorts
|
||||
|
@@ -34,7 +34,6 @@
|
||||
//config:config READPROFILE
|
||||
//config: bool "readprofile (7.1 kb)"
|
||||
//config: default y
|
||||
//config: #select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: This allows you to parse /proc/profile for basic profiling.
|
||||
|
||||
|
@@ -25,7 +25,6 @@
|
||||
//config:config RTCWAKE
|
||||
//config: bool "rtcwake (6.8 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: Enter a system sleep state until specified wakeup time.
|
||||
|
||||
|
@@ -9,7 +9,6 @@
|
||||
//config:config SETARCH
|
||||
//config: bool "setarch (3.6 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: The linux32 utility is used to create a 32bit environment for the
|
||||
//config: specified program (usually a shell). It only makes sense to have
|
||||
@@ -19,14 +18,12 @@
|
||||
//config:config LINUX32
|
||||
//config: bool "linux32 (3.3 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: Alias to "setarch linux32".
|
||||
//config:
|
||||
//config:config LINUX64
|
||||
//config: bool "linux64 (3.3 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: Alias to "setarch linux64".
|
||||
|
||||
|
@@ -9,7 +9,6 @@
|
||||
//config:config SETPRIV
|
||||
//config: bool "setpriv (6.6 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: select LONG_OPTS
|
||||
//config: help
|
||||
//config: Run a program with different Linux privilege settings.
|
||||
|
@@ -9,7 +9,6 @@
|
||||
//config:config SWAPON
|
||||
//config: bool "swapon (15 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: Once you have created some swap space using 'mkswap', you also need
|
||||
//config: to enable your swap space with the 'swapon' utility. The 'swapoff'
|
||||
@@ -36,7 +35,6 @@
|
||||
//config:config SWAPOFF
|
||||
//config: bool "swapoff (14 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config:
|
||||
//config:config FEATURE_SWAPONOFF_LABEL
|
||||
//config: bool "Support specifying devices by label or UUID"
|
||||
|
@@ -9,7 +9,6 @@
|
||||
//config:config SWITCH_ROOT
|
||||
//config: bool "switch_root (5.5 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: The switch_root utility is used from initramfs to select a new
|
||||
//config: root device. Under initramfs, you have to use this instead of
|
||||
|
@@ -6,7 +6,6 @@
|
||||
//config:config UEVENT
|
||||
//config: bool "uevent (3.1 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: uevent is a netlink listener for kernel uevent notifications
|
||||
//config: sent via netlink. It is usually used for dynamic device creation.
|
||||
|
@@ -10,7 +10,6 @@
|
||||
//config:config UMOUNT
|
||||
//config: bool "umount (5.1 kb)"
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: When you want to remove a mounted filesystem from its current mount
|
||||
//config: point, for example when you are shutting down the system, the
|
||||
|
@@ -10,7 +10,6 @@
|
||||
//config: bool "unshare (7.2 kb)"
|
||||
//config: default y
|
||||
//config: depends on !NOMMU
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: select LONG_OPTS
|
||||
//config: help
|
||||
//config: Run program with some namespaces unshared from parent.
|
||||
|
Reference in New Issue
Block a user