From 5c69ad0ecdc18cf51b312c7c82848f4438fe1c8d Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Tue, 4 Aug 2020 08:24:19 +0100 Subject: 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 Signed-off-by: Denys Vlasenko --- Config.in | 12 ------------ configs/android2_defconfig | 1 - configs/android_502_defconfig | 1 - configs/android_defconfig | 1 - configs/android_ndk_defconfig | 1 - configs/cygwin_defconfig | 1 - configs/freebsd_defconfig | 1 - console-tools/chvt.c | 1 - console-tools/deallocvt.c | 1 - console-tools/dumpkmap.c | 1 - console-tools/fgconsole.c | 1 - console-tools/kbd_mode.c | 1 - console-tools/loadfont.c | 2 -- console-tools/loadkmap.c | 1 - console-tools/openvt.c | 1 - console-tools/setconsole.c | 1 - console-tools/setkeycodes.c | 1 - console-tools/setlogcons.c | 1 - console-tools/showkey.c | 1 - coreutils/date.c | 1 - coreutils/stat.c | 1 - e2fsprogs/lsattr.c | 1 - klibc-utils/run-init.c | 1 - libbb/Config.src | 2 -- libbb/Kbuild.src | 3 ++- miscutils/adjtimex.c | 1 - miscutils/beep.c | 1 - miscutils/conspy.c | 1 - miscutils/devfsd.c | 2 -- miscutils/fbsplash.c | 1 - miscutils/hdparm.c | 1 - miscutils/i2c_tools.c | 5 ----- miscutils/lsscsi.c | 1 - miscutils/nandwrite.c | 2 -- miscutils/partprobe.c | 1 - miscutils/raidautorun.c | 1 - miscutils/readahead.c | 1 - miscutils/rfkill.c | 1 - miscutils/rx.c | 1 - miscutils/setserial.c | 1 - miscutils/ubi_tools.c | 6 ------ miscutils/ubirename.c | 1 - miscutils/watchdog.c | 1 - modutils/depmod.c | 1 - modutils/insmod.c | 1 - modutils/lsmod.c | 1 - modutils/modinfo.c | 1 - modutils/modprobe.c | 1 - modutils/rmmod.c | 1 - networking/arp.c | 1 - networking/arping.c | 1 - networking/brctl.c | 1 - networking/ether-wake.c | 1 - networking/ifconfig.c | 1 - networking/ifenslave.c | 1 - networking/ifplugd.c | 1 - networking/ip.c | 7 ------- networking/nameif.c | 1 - networking/netstat.c | 1 - networking/ntpd.c | 1 - networking/ping.c | 1 - networking/route.c | 1 - networking/slattach.c | 1 - networking/traceroute.c | 1 - networking/tunctl.c | 1 - networking/udhcp/Config.src | 2 -- networking/vconfig.c | 1 - networking/zcip.c | 1 - procps/free.c | 1 - procps/ps.c | 1 - procps/uptime.c | 1 - sysklogd/klogd.c | 1 - sysklogd/syslogd.c | 1 - util-linux/acpid.c | 1 - util-linux/blkdiscard.c | 1 - util-linux/blkid.c | 1 - util-linux/dmesg.c | 1 - util-linux/eject.c | 1 - util-linux/fatattr.c | 1 - util-linux/fbset.c | 1 - util-linux/fdformat.c | 1 - util-linux/fdisk.c | 1 - util-linux/findfs.c | 1 - util-linux/freeramdisk.c | 2 -- util-linux/fsfreeze.c | 1 - util-linux/fstrim.c | 1 - util-linux/hwclock.c | 1 - util-linux/ionice.c | 1 - util-linux/ipcs.c | 1 - util-linux/losetup.c | 1 - util-linux/lspci.c | 1 - util-linux/lsusb.c | 1 - util-linux/mdev.c | 1 - util-linux/mkfs_ext2.c | 2 -- util-linux/mkfs_minix.c | 1 - util-linux/mkfs_reiser.c | 1 - util-linux/mkfs_vfat.c | 2 -- util-linux/mount.c | 1 - util-linux/nsenter.c | 1 - util-linux/pivot_root.c | 1 - util-linux/readprofile.c | 1 - util-linux/rtcwake.c | 1 - util-linux/setarch.c | 3 --- util-linux/setpriv.c | 1 - util-linux/swaponoff.c | 2 -- util-linux/switch_root.c | 1 - util-linux/uevent.c | 1 - util-linux/umount.c | 1 - util-linux/unshare.c | 1 - 109 files changed, 2 insertions(+), 146 deletions(-) diff --git a/Config.in b/Config.in index b62b2abb8..ac5b13b8d 100644 --- a/Config.in +++ b/Config.in @@ -312,7 +312,6 @@ config BUSYBOX_EXEC_PATH config SELINUX bool "Support NSA Security Enhanced Linux" default n - select PLATFORM_LINUX help Enable support for SELinux in applets ls, ps, and id. Also provide the option of compiling in SELinux applets. @@ -358,17 +357,6 @@ config FEATURE_SYSLOG #This option is auto-selected when you select any applet which may #send its output to syslog. You do not need to select it manually. -config PLATFORM_LINUX - bool #No description makes it a hidden option - default n - #help - #For the most part, busybox requires only POSIX compatibility - #from the target system, but some applets and features use - #Linux-specific interfaces. - # - #This is automatically selected if any applet or feature requires - #Linux-specific interfaces. You do not need to select it manually. - comment 'Build Options' config STATIC diff --git a/configs/android2_defconfig b/configs/android2_defconfig index 03323654d..d4b8f1616 100644 --- a/configs/android2_defconfig +++ b/configs/android2_defconfig @@ -16,7 +16,6 @@ CONFIG_HAVE_DOT_CONFIG=y # CONFIG_EXTRA_COMPAT is not set # CONFIG_INCLUDE_SUSv2 is not set # CONFIG_USE_PORTABLE_CODE is not set -CONFIG_PLATFORM_LINUX=y CONFIG_FEATURE_BUFFERS_USE_MALLOC=y # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set diff --git a/configs/android_502_defconfig b/configs/android_502_defconfig index 6b640bfb7..503157c12 100644 --- a/configs/android_502_defconfig +++ b/configs/android_502_defconfig @@ -87,7 +87,6 @@ CONFIG_DESKTOP=y # CONFIG_EXTRA_COMPAT is not set CONFIG_INCLUDE_SUSv2=y # CONFIG_USE_PORTABLE_CODE is not set -CONFIG_PLATFORM_LINUX=y CONFIG_FEATURE_BUFFERS_USE_MALLOC=y # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set diff --git a/configs/android_defconfig b/configs/android_defconfig index 3b34f37aa..92a66048a 100644 --- a/configs/android_defconfig +++ b/configs/android_defconfig @@ -16,7 +16,6 @@ CONFIG_DESKTOP=y # CONFIG_EXTRA_COMPAT is not set # CONFIG_INCLUDE_SUSv2 is not set # CONFIG_USE_PORTABLE_CODE is not set -CONFIG_PLATFORM_LINUX=y CONFIG_FEATURE_BUFFERS_USE_MALLOC=y # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set diff --git a/configs/android_ndk_defconfig b/configs/android_ndk_defconfig index 7f65d544c..03d497d2e 100644 --- a/configs/android_ndk_defconfig +++ b/configs/android_ndk_defconfig @@ -16,7 +16,6 @@ CONFIG_DESKTOP=y # CONFIG_EXTRA_COMPAT is not set # CONFIG_INCLUDE_SUSv2 is not set # CONFIG_USE_PORTABLE_CODE is not set -CONFIG_PLATFORM_LINUX=y CONFIG_FEATURE_BUFFERS_USE_MALLOC=y # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set diff --git a/configs/cygwin_defconfig b/configs/cygwin_defconfig index ee370a61d..c09bc9281 100644 --- a/configs/cygwin_defconfig +++ b/configs/cygwin_defconfig @@ -16,7 +16,6 @@ CONFIG_DESKTOP=y # CONFIG_EXTRA_COMPAT is not set CONFIG_INCLUDE_SUSv2=y # CONFIG_USE_PORTABLE_CODE is not set -CONFIG_PLATFORM_LINUX=y CONFIG_FEATURE_BUFFERS_USE_MALLOC=y # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set diff --git a/configs/freebsd_defconfig b/configs/freebsd_defconfig index 47e705963..6cbd54895 100644 --- a/configs/freebsd_defconfig +++ b/configs/freebsd_defconfig @@ -16,7 +16,6 @@ CONFIG_HAVE_DOT_CONFIG=y # CONFIG_EXTRA_COMPAT is not set CONFIG_INCLUDE_SUSv2=y CONFIG_USE_PORTABLE_CODE=y -# CONFIG_PLATFORM_LINUX is not set CONFIG_FEATURE_BUFFERS_USE_MALLOC=y # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set 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. diff --git a/coreutils/date.c b/coreutils/date.c index b9b7fd2cb..d84e1c31a 100644 --- a/coreutils/date.c +++ b/coreutils/date.c @@ -37,7 +37,6 @@ //config: bool "Support %[num]N nanosecond format specifier" //config: default n # stat's nanosecond field is a bit non-portable //config: depends on DATE -//config: select PLATFORM_LINUX //config: help //config: Support %[num]N format specifier. Adds ~250 bytes of code. //config: diff --git a/coreutils/stat.c b/coreutils/stat.c index fa9ac7b10..8a23d687b 100644 --- a/coreutils/stat.c +++ b/coreutils/stat.c @@ -31,7 +31,6 @@ //config: bool "Enable display of filesystem status (-f)" //config: default y //config: depends on STAT -//config: select PLATFORM_LINUX # statfs() //config: help //config: Without this, stat will not support the '-f' option to display //config: information about filesystem status. diff --git a/e2fsprogs/lsattr.c b/e2fsprogs/lsattr.c index be1488b79..91205ff65 100644 --- a/e2fsprogs/lsattr.c +++ b/e2fsprogs/lsattr.c @@ -12,7 +12,6 @@ //config:config LSATTR //config: bool "lsattr (5.5 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: lsattr lists the file attributes on a second extended file system. diff --git a/klibc-utils/run-init.c b/klibc-utils/run-init.c index 77fc0e60c..73c677bab 100644 --- a/klibc-utils/run-init.c +++ b/klibc-utils/run-init.c @@ -8,7 +8,6 @@ //config:config RUN_INIT //config: bool "run-init (7.7 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: The run-init utility is used from initramfs to select a new //config: root device. Under initramfs, you have to use this instead of diff --git a/libbb/Config.src b/libbb/Config.src index 312aa1831..f97de8ef7 100644 --- a/libbb/Config.src +++ b/libbb/Config.src @@ -334,7 +334,6 @@ config FEATURE_VERBOSE_CP_MESSAGE config FEATURE_USE_SENDFILE bool "Use sendfile system call" default y - select PLATFORM_LINUX help When enabled, busybox will use the kernel sendfile() function instead of read/write loops to copy data between file descriptors @@ -376,7 +375,6 @@ config FEATURE_SKIP_ROOTFS config MONOTONIC_SYSCALL bool "Use clock_gettime(CLOCK_MONOTONIC) syscall" default y - select PLATFORM_LINUX help Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring time intervals (time, ping, traceroute etc need this). diff --git a/libbb/Kbuild.src b/libbb/Kbuild.src index 8c9ba8cca..676300801 100644 --- a/libbb/Kbuild.src +++ b/libbb/Kbuild.src @@ -112,7 +112,8 @@ lib-y += xgethostbyname.o lib-y += xreadlink.o lib-y += xrealloc_vector.o -lib-$(CONFIG_PLATFORM_LINUX) += match_fstype.o +lib-$(CONFIG_MOUNT) += match_fstype.o +lib-$(CONFIG_UMOUNT) += match_fstype.o lib-$(CONFIG_FEATURE_UTMP) += utmp.o 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 diff --git a/modutils/depmod.c b/modutils/depmod.c index b5244fc60..318e7cdc7 100644 --- a/modutils/depmod.c +++ b/modutils/depmod.c @@ -10,7 +10,6 @@ //config:config DEPMOD //config: bool "depmod (27 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: depmod generates modules.dep (and potentially modules.alias //config: and modules.symbols) that contain dependency information diff --git a/modutils/insmod.c b/modutils/insmod.c index 4dc0b6608..bd79a0f26 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c @@ -9,7 +9,6 @@ //config:config INSMOD //config: bool "insmod (22 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: insmod is used to load specified modules in the running kernel. diff --git a/modutils/lsmod.c b/modutils/lsmod.c index 39dc8e6b7..2beb12362 100644 --- a/modutils/lsmod.c +++ b/modutils/lsmod.c @@ -10,7 +10,6 @@ //config:config LSMOD //config: bool "lsmod (1.9 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: lsmod is used to display a list of loaded modules. //config: diff --git a/modutils/modinfo.c b/modutils/modinfo.c index 1e63f745f..c5cdc7980 100644 --- a/modutils/modinfo.c +++ b/modutils/modinfo.c @@ -8,7 +8,6 @@ //config:config MODINFO //config: bool "modinfo (24 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Show information about a Linux Kernel module diff --git a/modutils/modprobe.c b/modutils/modprobe.c index 0a372a049..70c45903a 100644 --- a/modutils/modprobe.c +++ b/modutils/modprobe.c @@ -10,7 +10,6 @@ //config:config MODPROBE //config: bool "modprobe (28 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Handle the loading of modules, and their dependencies on a high //config: level. diff --git a/modutils/rmmod.c b/modutils/rmmod.c index 8d4639f50..2b3c39153 100644 --- a/modutils/rmmod.c +++ b/modutils/rmmod.c @@ -10,7 +10,6 @@ //config:config RMMOD //config: bool "rmmod (3.3 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: rmmod is used to unload specified modules from the kernel. diff --git a/networking/arp.c b/networking/arp.c index 6519f8156..16783ab95 100644 --- a/networking/arp.c +++ b/networking/arp.c @@ -15,7 +15,6 @@ //config:config ARP //config: bool "arp (10 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Manipulate the system ARP cache. diff --git a/networking/arping.c b/networking/arping.c index 2a256aaa0..d44d7d697 100644 --- a/networking/arping.c +++ b/networking/arping.c @@ -8,7 +8,6 @@ //config:config ARPING //config: bool "arping (9 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Ping hosts by ARP packets. diff --git a/networking/brctl.c b/networking/brctl.c index 2f4ac4a87..f057f9b60 100644 --- a/networking/brctl.c +++ b/networking/brctl.c @@ -12,7 +12,6 @@ //config:config BRCTL //config: bool "brctl (4.7 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Manage ethernet bridges. //config: Supports addbr/delbr and addif/delif. diff --git a/networking/ether-wake.c b/networking/ether-wake.c index f45d43609..36e90acfb 100644 --- a/networking/ether-wake.c +++ b/networking/ether-wake.c @@ -66,7 +66,6 @@ //config:config ETHER_WAKE //config: bool "ether-wake (4.9 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Send a magic packet to wake up sleeping machines. diff --git a/networking/ifconfig.c b/networking/ifconfig.c index b566d91a9..3c9a2dfb3 100644 --- a/networking/ifconfig.c +++ b/networking/ifconfig.c @@ -27,7 +27,6 @@ //config:config IFCONFIG //config: bool "ifconfig (12 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Ifconfig is used to configure the kernel-resident network interfaces. //config: diff --git a/networking/ifenslave.c b/networking/ifenslave.c index 5e769b61d..bdb9894be 100644 --- a/networking/ifenslave.c +++ b/networking/ifenslave.c @@ -100,7 +100,6 @@ //config:config IFENSLAVE //config: bool "ifenslave (13 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Userspace application to bind several interfaces //config: to a logical interface (use with kernel bonding driver). diff --git a/networking/ifplugd.c b/networking/ifplugd.c index fa18edd57..0d17b7d8c 100644 --- a/networking/ifplugd.c +++ b/networking/ifplugd.c @@ -9,7 +9,6 @@ //config:config IFPLUGD //config: bool "ifplugd (10 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Network interface plug detection daemon. diff --git a/networking/ip.c b/networking/ip.c index 45bf1dc0a..7d3faf7f8 100644 --- a/networking/ip.c +++ b/networking/ip.c @@ -11,7 +11,6 @@ //config:config IP //config: bool "ip (35 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: The "ip" applet is a TCP/IP interface configuration and routing //config: utility. @@ -23,7 +22,6 @@ //config: bool "ipaddr (14 kb)" //config: default y //config: select FEATURE_IP_ADDRESS -//config: select PLATFORM_LINUX //config: help //config: Short form of "ip addr" //config: @@ -31,7 +29,6 @@ //config: bool "iplink (17 kb)" //config: default y //config: select FEATURE_IP_LINK -//config: select PLATFORM_LINUX //config: help //config: Short form of "ip link" //config: @@ -39,7 +36,6 @@ //config: bool "iproute (15 kb)" //config: default y //config: select FEATURE_IP_ROUTE -//config: select PLATFORM_LINUX //config: help //config: Short form of "ip route" //config: @@ -47,7 +43,6 @@ //config: bool "iptunnel (9.6 kb)" //config: default y //config: select FEATURE_IP_TUNNEL -//config: select PLATFORM_LINUX //config: help //config: Short form of "ip tunnel" //config: @@ -55,7 +50,6 @@ //config: bool "iprule (10 kb)" //config: default y //config: select FEATURE_IP_RULE -//config: select PLATFORM_LINUX //config: help //config: Short form of "ip rule" //config: @@ -63,7 +57,6 @@ //config: bool "ipneigh (8.3 kb)" //config: default y //config: select FEATURE_IP_NEIGH -//config: select PLATFORM_LINUX //config: help //config: Short form of "ip neigh" //config: diff --git a/networking/nameif.c b/networking/nameif.c index 91d50536a..854594c83 100644 --- a/networking/nameif.c +++ b/networking/nameif.c @@ -12,7 +12,6 @@ //config:config NAMEIF //config: bool "nameif (6.6 kb)" //config: default y -//config: select PLATFORM_LINUX //config: select FEATURE_SYSLOG //config: help //config: nameif is used to rename network interface by its MAC address. diff --git a/networking/netstat.c b/networking/netstat.c index c7934423b..936610f89 100644 --- a/networking/netstat.c +++ b/networking/netstat.c @@ -16,7 +16,6 @@ //config:config NETSTAT //config: bool "netstat (10 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: netstat prints information about the Linux networking subsystem. //config: diff --git a/networking/ntpd.c b/networking/ntpd.c index b08de504e..d721fe80c 100644 --- a/networking/ntpd.c +++ b/networking/ntpd.c @@ -43,7 +43,6 @@ //config:config NTPD //config: bool "ntpd (22 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: The NTP client/server daemon. //config: diff --git a/networking/ping.c b/networking/ping.c index a47342fee..47b6ab1b2 100644 --- a/networking/ping.c +++ b/networking/ping.c @@ -27,7 +27,6 @@ //config:config PING //config: bool "ping (10 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to //config: elicit an ICMP ECHO_RESPONSE from a host or gateway. diff --git a/networking/route.c b/networking/route.c index e785b1da6..4d9aad6cc 100644 --- a/networking/route.c +++ b/networking/route.c @@ -27,7 +27,6 @@ //config:config ROUTE //config: bool "route (8.7 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Route displays or manipulates the kernel's IP routing tables. diff --git a/networking/slattach.c b/networking/slattach.c index 659822a91..51fbc1f49 100644 --- a/networking/slattach.c +++ b/networking/slattach.c @@ -15,7 +15,6 @@ //config:config SLATTACH //config: bool "slattach (6.2 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: slattach configures serial line as SLIP network interface. diff --git a/networking/traceroute.c b/networking/traceroute.c index 06d3f19da..5068f654b 100644 --- a/networking/traceroute.c +++ b/networking/traceroute.c @@ -212,7 +212,6 @@ //config:config TRACEROUTE //config: bool "traceroute (11 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Utility to trace the route of IP packets. //config: diff --git a/networking/tunctl.c b/networking/tunctl.c index a0e3926e9..0f010e196 100644 --- a/networking/tunctl.c +++ b/networking/tunctl.c @@ -12,7 +12,6 @@ //config:config TUNCTL //config: bool "tunctl (6.2 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: tunctl creates or deletes tun devices. //config: diff --git a/networking/udhcp/Config.src b/networking/udhcp/Config.src index 8ef24748e..7d04bb246 100644 --- a/networking/udhcp/Config.src +++ b/networking/udhcp/Config.src @@ -6,7 +6,6 @@ config UDHCPD bool "udhcpd (21 kb)" default y - select PLATFORM_LINUX help udhcpd is a DHCP server geared primarily toward embedded systems, while striving to be fully functional and RFC compliant. @@ -62,7 +61,6 @@ config DHCPRELAY config UDHCPC bool "udhcpc (24 kb)" default y - select PLATFORM_LINUX help udhcpc is a DHCP client geared primarily toward embedded systems, while striving to be fully functional and RFC compliant. diff --git a/networking/vconfig.c b/networking/vconfig.c index 3cc5f2460..4f1fbe280 100644 --- a/networking/vconfig.c +++ b/networking/vconfig.c @@ -9,7 +9,6 @@ //config:config VCONFIG //config: bool "vconfig (2.3 kb)" //config: default y -//config: select PLATFORM_LINUX //config: help //config: Creates, removes, and configures VLAN interfaces diff --git a/networking/zcip.c b/networking/zcip.c index 134dfb2df..311dfbe4c 100644 --- a/networking/zcip.c +++ b/networking/zcip.c @@ -16,7 +16,6 @@ //config:config ZCIP //config: bool "zcip (8.4 kb)" //config: default y -//config: select PLATFORM_LINUX //config: select FEATURE_SYSLOG //config: help //config: ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. diff --git a/procps/free.c b/procps/free.c index 1e5d36742..b33506b9e 100644 --- a/procps/free.c +++ b/procps/free.c @@ -9,7 +9,6 @@ //config:config FREE //config: bool "free (3.1 kb)" //config: default y -//config: select PLATFORM_LINUX #sysinfo() //config: help //config: free displays the total amount of free and used physical and swap //config: memory in the system, as well as the buffers used by the kernel. diff --git a/procps/ps.c b/procps/ps.c index 815c11578..48f96209f 100644 --- a/procps/ps.c +++ b/procps/ps.c @@ -35,7 +35,6 @@ //config: bool "Enable -o time and -o etime specifiers" //config: default y //config: depends on (PS || MINIPS) && DESKTOP -//config: select PLATFORM_LINUX //config: //config:config FEATURE_PS_UNUSUAL_SYSTEMS //config: bool "Support Linux prior to 2.4.0 and non-ELF systems" diff --git a/procps/uptime.c b/procps/uptime.c index 31581271f..4fd0c9d2d 100644 --- a/procps/uptime.c +++ b/procps/uptime.c @@ -14,7 +14,6 @@ //config:config UPTIME //config: bool "uptime (3.7 kb)" //config: default y -//config: select PLATFORM_LINUX #sysinfo() //config: help //config: uptime gives a one line display of the current time, how long //config: the system has been running, how many users are currently logged diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c index bdd0b6325..c0ec1c0bf 100644 --- a/sysklogd/klogd.c +++ b/sysklogd/klogd.c @@ -33,7 +33,6 @@ //config: bool "Use the klogctl() interface" //config: default y //config: depends on KLOGD -//config: select PLATFORM_LINUX //config: help //config: The klogd applet supports two interfaces for reading //config: kernel messages. Linux provides the klogctl() interface diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index ab50f4a28..f61da9de5 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -109,7 +109,6 @@ //config: bool "Linux kernel printk buffer support" //config: default y //config: depends on SYSLOGD -//config: select PLATFORM_LINUX //config: help //config: When you enable this feature, the syslogd utility will //config: write system log message to the Linux kernel's printk buffer. diff --git a/util-linux/acpid.c b/util-linux/acpid.c index fc8215cce..d473e24fc 100644 --- a/util-linux/acpid.c +++ b/util-linux/acpid.c @@ -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 diff --git a/util-linux/blkdiscard.c b/util-linux/blkdiscard.c index a77c7d057..ff2101ed0 100644 --- a/util-linux/blkdiscard.c +++ b/util-linux/blkdiscard.c @@ -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. diff --git a/util-linux/blkid.c b/util-linux/blkid.c index 008ae5d9e..4a820771f 100644 --- a/util-linux/blkid.c +++ b/util-linux/blkid.c @@ -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. diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c index a1f269142..dc4e57169 100644 --- a/util-linux/dmesg.c +++ b/util-linux/dmesg.c @@ -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 diff --git a/util-linux/eject.c b/util-linux/eject.c index 3ccb4ae89..29b0a86bd 100644 --- a/util-linux/eject.c +++ b/util-linux/eject.c @@ -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: diff --git a/util-linux/fatattr.c b/util-linux/fatattr.c index 770b1d2f9..afd70c45d 100644 --- a/util-linux/fatattr.c +++ b/util-linux/fatattr.c @@ -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. diff --git a/util-linux/fbset.c b/util-linux/fbset.c index 699a19372..0b9a9a6bc 100644 --- a/util-linux/fbset.c +++ b/util-linux/fbset.c @@ -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 diff --git a/util-linux/fdformat.c b/util-linux/fdformat.c index e1c8561d6..f0466fdbd 100644 --- a/util-linux/fdformat.c +++ b/util-linux/fdformat.c @@ -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. diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index f568fe92c..0fb2e3e17 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c @@ -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 diff --git a/util-linux/findfs.c b/util-linux/findfs.c index 7ca9dc96b..f5621a1fa 100644 --- a/util-linux/findfs.c +++ b/util-linux/findfs.c @@ -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. diff --git a/util-linux/freeramdisk.c b/util-linux/freeramdisk.c index d27113d97..309169d25 100644 --- a/util-linux/freeramdisk.c +++ b/util-linux/freeramdisk.c @@ -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 diff --git a/util-linux/fsfreeze.c b/util-linux/fsfreeze.c index fb0b3c4bd..6e2ff0a54 100644 --- a/util-linux/fsfreeze.c +++ b/util-linux/fsfreeze.c @@ -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. diff --git a/util-linux/fstrim.c b/util-linux/fstrim.c index 48948e839..8d29a6d54 100644 --- a/util-linux/fstrim.c +++ b/util-linux/fstrim.c @@ -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. diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c index dc97d8fb4..357906cca 100644 --- a/util-linux/hwclock.c +++ b/util-linux/hwclock.c @@ -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 diff --git a/util-linux/ionice.c b/util-linux/ionice.c index daf64d537..40c04d5e0 100644 --- a/util-linux/ionice.c +++ b/util-linux/ionice.c @@ -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 diff --git a/util-linux/ipcs.c b/util-linux/ipcs.c index df86cfb9d..ef2529c05 100644 --- a/util-linux/ipcs.c +++ b/util-linux/ipcs.c @@ -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. diff --git a/util-linux/losetup.c b/util-linux/losetup.c index cc6c2b1d5..ac8b79502 100644 --- a/util-linux/losetup.c +++ b/util-linux/losetup.c @@ -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 diff --git a/util-linux/lspci.c b/util-linux/lspci.c index a6b4e850f..2f0b5fab9 100644 --- a/util-linux/lspci.c +++ b/util-linux/lspci.c @@ -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. diff --git a/util-linux/lsusb.c b/util-linux/lsusb.c index e27aa7f31..64a00eee2 100644 --- a/util-linux/lsusb.c +++ b/util-linux/lsusb.c @@ -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. diff --git a/util-linux/mdev.c b/util-linux/mdev.c index 207a112c1..f42bebc20 100644 --- a/util-linux/mdev.c +++ b/util-linux/mdev.c @@ -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. diff --git a/util-linux/mkfs_ext2.c b/util-linux/mkfs_ext2.c index d568f4be5..1f525d75b 100644 --- a/util-linux/mkfs_ext2.c +++ b/util-linux/mkfs_ext2.c @@ -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". diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c index 8f791cf66..3c72e5419 100644 --- a/util-linux/mkfs_minix.c +++ b/util-linux/mkfs_minix.c @@ -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 diff --git a/util-linux/mkfs_reiser.c b/util-linux/mkfs_reiser.c index d2eaf5f94..44a743147 100644 --- a/util-linux/mkfs_reiser.c +++ b/util-linux/mkfs_reiser.c @@ -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. diff --git a/util-linux/mkfs_vfat.c b/util-linux/mkfs_vfat.c index 16c1fac00..844d965f8 100644 --- a/util-linux/mkfs_vfat.c +++ b/util-linux/mkfs_vfat.c @@ -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". diff --git a/util-linux/mount.c b/util-linux/mount.c index 84c85c057..b92e2c297 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c @@ -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 diff --git a/util-linux/nsenter.c b/util-linux/nsenter.c index 304f2d748..c48dcf885 100644 --- a/util-linux/nsenter.c +++ b/util-linux/nsenter.c @@ -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. diff --git a/util-linux/pivot_root.c b/util-linux/pivot_root.c index 41f29da32..ecc891100 100644 --- a/util-linux/pivot_root.c +++ b/util-linux/pivot_root.c @@ -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 diff --git a/util-linux/readprofile.c b/util-linux/readprofile.c index c4ea374be..32d9987e7 100644 --- a/util-linux/readprofile.c +++ b/util-linux/readprofile.c @@ -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. diff --git a/util-linux/rtcwake.c b/util-linux/rtcwake.c index cad0f9d64..823e55662 100644 --- a/util-linux/rtcwake.c +++ b/util-linux/rtcwake.c @@ -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. diff --git a/util-linux/setarch.c b/util-linux/setarch.c index 57051a683..cf8ef0064 100644 --- a/util-linux/setarch.c +++ b/util-linux/setarch.c @@ -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". diff --git a/util-linux/setpriv.c b/util-linux/setpriv.c index e5cf96957..37e8821a1 100644 --- a/util-linux/setpriv.c +++ b/util-linux/setpriv.c @@ -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. diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c index 567869cc7..e2ff4b5cc 100644 --- a/util-linux/swaponoff.c +++ b/util-linux/swaponoff.c @@ -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" diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c index a483893ed..c65096c27 100644 --- a/util-linux/switch_root.c +++ b/util-linux/switch_root.c @@ -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 diff --git a/util-linux/uevent.c b/util-linux/uevent.c index 7a1d7d4a7..57d9328ef 100644 --- a/util-linux/uevent.c +++ b/util-linux/uevent.c @@ -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. diff --git a/util-linux/umount.c b/util-linux/umount.c index 077b635c8..63a3bf504 100644 --- a/util-linux/umount.c +++ b/util-linux/umount.c @@ -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 diff --git a/util-linux/unshare.c b/util-linux/unshare.c index a943e7b03..2087413e8 100644 --- a/util-linux/unshare.c +++ b/util-linux/unshare.c @@ -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. -- cgit v1.2.3