summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2022-11-29 14:14:06 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2022-11-29 14:14:06 +0100
commit99476502f926fb6e5d61126c3b672f3f6f357d5d (patch)
treed8887c28536e559ed62c57f808f3407e439cf299
parent77216c368f3ae65c3a9fc504d28d3fadd46d6d8d (diff)
downloadbusybox-99476502f926fb6e5d61126c3b672f3f6f357d5d.tar.gz
Remove "select PLATFORM_LINUX"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--console-tools/loadfont.c1
-rw-r--r--console-tools/openvt.c1
-rw-r--r--klibc-utils/run-init.c1
-rw-r--r--miscutils/adjtimex.c1
-rw-r--r--miscutils/i2c_tools.c5
-rw-r--r--miscutils/partprobe.c1
-rw-r--r--miscutils/ubirename.c1
-rw-r--r--miscutils/watchdog.c1
-rw-r--r--modutils/Config.src1
-rw-r--r--modutils/depmod.c1
-rw-r--r--modutils/insmod.c1
-rw-r--r--modutils/lsmod.c1
-rw-r--r--modutils/modinfo.c1
-rw-r--r--modutils/modprobe.c1
-rw-r--r--modutils/rmmod.c1
-rw-r--r--networking/arp.c1
-rw-r--r--networking/arping.c1
-rw-r--r--networking/brctl.c1
-rw-r--r--networking/ifconfig.c1
-rw-r--r--networking/ifplugd.c1
-rw-r--r--networking/ip.c6
-rw-r--r--networking/nameif.c1
-rw-r--r--networking/route.c1
-rw-r--r--networking/tc.c1
-rw-r--r--networking/traceroute.c2
-rw-r--r--networking/tunctl.c1
-rw-r--r--networking/udhcp/Config.src3
-rw-r--r--procps/free.c1
-rw-r--r--procps/uptime.c1
-rw-r--r--sysklogd/klogd.c1
-rw-r--r--util-linux/acpid.c1
-rw-r--r--util-linux/blkdiscard.c1
-rw-r--r--util-linux/blkid.c1
-rw-r--r--util-linux/dmesg.c1
-rw-r--r--util-linux/fdisk.c1
-rw-r--r--util-linux/findfs.c1
-rw-r--r--util-linux/freeramdisk.c2
-rw-r--r--util-linux/fsfreeze.c1
-rw-r--r--util-linux/fstrim.c1
-rw-r--r--util-linux/hwclock.c1
-rw-r--r--util-linux/ionice.c1
-rw-r--r--util-linux/losetup.c1
-rw-r--r--util-linux/mdev.c1
-rw-r--r--util-linux/mkfs_ext2.c1
-rw-r--r--util-linux/mkfs_vfat.c1
-rw-r--r--util-linux/mount.c1
-rw-r--r--util-linux/nsenter.c1
-rw-r--r--util-linux/pivot_root.c1
-rw-r--r--util-linux/setarch.c3
-rw-r--r--util-linux/setpriv.c1
-rw-r--r--util-linux/swaponoff.c2
-rw-r--r--util-linux/switch_root.c1
-rw-r--r--util-linux/uevent.c1
-rw-r--r--util-linux/unshare.c1
54 files changed, 0 insertions, 70 deletions
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c
index 3f36cabe0..81a0e6aa8 100644
--- a/console-tools/loadfont.c
+++ b/console-tools/loadfont.c
@@ -12,7 +12,6 @@
//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:
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/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/miscutils/adjtimex.c b/miscutils/adjtimex.c
index c289245c0..209d1d560 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/i2c_tools.c b/miscutils/i2c_tools.c
index 46749fb9c..da26f5e19 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/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/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 91a20239d..9f5a4b849 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/Config.src b/modutils/Config.src
index b8ba3b7b6..188296814 100644
--- a/modutils/Config.src
+++ b/modutils/Config.src
@@ -8,7 +8,6 @@ menu "Linux Module Utilities"
config MODPROBE_SMALL
bool "Simplified modutils"
default y
- select PLATFORM_LINUX
help
Build smaller (~1.5 kbytes), simplified module tools.
diff --git a/modutils/depmod.c b/modutils/depmod.c
index 9e39481c5..bb42bbefe 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 85b46cdd6..8f7163e25 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 5d01179a0..0a86c3296 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 77c4bb74d..235706fd5 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 fd0e1b276..86f0221ed 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 b353210d7..956bd91f3 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/ifconfig.c b/networking/ifconfig.c
index 4090959b8..9ee232a66 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/ifplugd.c b/networking/ifplugd.c
index bc4303ef0..0b55bf4e5 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 23ee7d24b..7c3208699 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.
@@ -22,7 +21,6 @@
//config:config IPADDR
//config: bool "ipaddr (14 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: select FEATURE_IP_ADDRESS
//config: help
//config: Short form of "ip addr"
@@ -30,7 +28,6 @@
//config:config IPLINK
//config: bool "iplink (17 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: select FEATURE_IP_LINK
//config: help
//config: Short form of "ip link"
@@ -38,7 +35,6 @@
//config:config IPROUTE
//config: bool "iproute (15 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: select FEATURE_IP_ROUTE
//config: help
//config: Short form of "ip route"
@@ -53,7 +49,6 @@
//config:config IPRULE
//config: bool "iprule (10 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: select FEATURE_IP_RULE
//config: help
//config: Short form of "ip rule"
@@ -61,7 +56,6 @@
//config:config IPNEIGH
//config: bool "ipneigh (8.3 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: select FEATURE_IP_NEIGH
//config: help
//config: Short form of "ip neigh"
diff --git a/networking/nameif.c b/networking/nameif.c
index 3ccd935b8..66e042688 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/route.c b/networking/route.c
index 616572814..26146f8e9 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/tc.c b/networking/tc.c
index 1f4bcce2b..43187f7ee 100644
--- a/networking/tc.c
+++ b/networking/tc.c
@@ -9,7 +9,6 @@
//config:config TC
//config: bool "tc (8.3 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: Show / manipulate traffic control settings
//config:
diff --git a/networking/traceroute.c b/networking/traceroute.c
index 2ba990fd0..4bbe1ab8e 100644
--- a/networking/traceroute.c
+++ b/networking/traceroute.c
@@ -963,10 +963,8 @@ traceroute_init(int op, char **argv)
if (af == AF_INET) {
xmove_fd(xsocket(AF_INET, SOCK_RAW, IPPROTO_ICMP), rcvsock);
#if ENABLE_FEATURE_TRACEROUTE_VERBOSE
-# ifdef IP_PKTINFO
/* want recvmsg to report target local address (for -v) */
setsockopt_1(rcvsock, IPPROTO_IP, IP_PKTINFO);
-# endif
#endif
}
#if ENABLE_TRACEROUTE6
diff --git a/networking/tunctl.c b/networking/tunctl.c
index 59cae331c..97e6917aa 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 23e2b40d8..8c8c11c26 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.
@@ -54,7 +53,6 @@ config DUMPLEASES
config DHCPRELAY
bool "dhcprelay (5.2 kb)"
default y
- select PLATFORM_LINUX
help
dhcprelay listens for DHCP requests on one or more interfaces
and forwards these requests to a different interface or DHCP
@@ -63,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/procps/free.c b/procps/free.c
index c734f757d..0b68e1b88 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
//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/uptime.c b/procps/uptime.c
index 4992c263e..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
//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 ddf50071d..df0edee0a 100644
--- a/sysklogd/klogd.c
+++ b/sysklogd/klogd.c
@@ -19,7 +19,6 @@
//config:config KLOGD
//config: bool "klogd (5.7 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: klogd is a utility which intercepts and logs all
//config: messages from the Linux kernel and sends the messages
diff --git a/util-linux/acpid.c b/util-linux/acpid.c
index 7bce8abea..00613f8e3 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 2291eec21..7ac8045f9 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 5da887f0e..6670b84de 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/fdisk.c b/util-linux/fdisk.c
index e9ebbd5d4..20e7d56fa 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 12bab40d1..6d673002f 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 2edadfa4d..723b09589 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 b30d5f78d..82bd309d1 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/losetup.c b/util-linux/losetup.c
index ec0cf04e4..24f7a2349 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/mdev.c b/util-linux/mdev.c
index f6de7ad2a..ebdc0c254 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 892b0867a..fcf374b2d 100644
--- a/util-linux/mkfs_ext2.c
+++ b/util-linux/mkfs_ext2.c
@@ -10,7 +10,6 @@
//config:config MKE2FS
//config: bool "mke2fs (10 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: help
//config: Utility to create EXT2 filesystems.
//config:
diff --git a/util-linux/mkfs_vfat.c b/util-linux/mkfs_vfat.c
index 5136446eb..821371953 100644
--- a/util-linux/mkfs_vfat.c
+++ b/util-linux/mkfs_vfat.c
@@ -10,7 +10,6 @@
//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:
diff --git a/util-linux/mount.c b/util-linux/mount.c
index e3aeda666..4e65b6b46 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 8652e803a..1aa045b35 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/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 bfe2c7a7a..6904cf019 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 f61002236..901c0b8db 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 bd39c3acd..db11746d0 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/unshare.c b/util-linux/unshare.c
index 156a96d94..06b938074 100644
--- a/util-linux/unshare.c
+++ b/util-linux/unshare.c
@@ -9,7 +9,6 @@
//config:config UNSHARE
//config: bool "unshare (7.2 kb)"
//config: default y
-//config: select PLATFORM_LINUX
//config: depends on !NOMMU
//config: select LONG_OPTS
//config: help