Browse Source

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>
Ron Yorston 3 years ago
parent
commit
5c69ad0ecd
100 changed files with 2 additions and 134 deletions
  1. 0 12
      Config.in
  2. 0 1
      configs/android2_defconfig
  3. 0 1
      configs/android_502_defconfig
  4. 0 1
      configs/android_defconfig
  5. 0 1
      configs/android_ndk_defconfig
  6. 0 1
      configs/cygwin_defconfig
  7. 0 1
      configs/freebsd_defconfig
  8. 0 1
      console-tools/chvt.c
  9. 0 1
      console-tools/deallocvt.c
  10. 0 1
      console-tools/dumpkmap.c
  11. 0 1
      console-tools/fgconsole.c
  12. 0 1
      console-tools/kbd_mode.c
  13. 0 2
      console-tools/loadfont.c
  14. 0 1
      console-tools/loadkmap.c
  15. 0 1
      console-tools/openvt.c
  16. 0 1
      console-tools/setconsole.c
  17. 0 1
      console-tools/setkeycodes.c
  18. 0 1
      console-tools/setlogcons.c
  19. 0 1
      console-tools/showkey.c
  20. 0 1
      coreutils/date.c
  21. 0 1
      coreutils/stat.c
  22. 0 1
      e2fsprogs/lsattr.c
  23. 0 1
      klibc-utils/run-init.c
  24. 0 2
      libbb/Config.src
  25. 2 1
      libbb/Kbuild.src
  26. 0 1
      miscutils/adjtimex.c
  27. 0 1
      miscutils/beep.c
  28. 0 1
      miscutils/conspy.c
  29. 0 2
      miscutils/devfsd.c
  30. 0 1
      miscutils/fbsplash.c
  31. 0 1
      miscutils/hdparm.c
  32. 0 5
      miscutils/i2c_tools.c
  33. 0 1
      miscutils/lsscsi.c
  34. 0 2
      miscutils/nandwrite.c
  35. 0 1
      miscutils/partprobe.c
  36. 0 1
      miscutils/raidautorun.c
  37. 0 1
      miscutils/readahead.c
  38. 0 1
      miscutils/rfkill.c
  39. 0 1
      miscutils/rx.c
  40. 0 1
      miscutils/setserial.c
  41. 0 6
      miscutils/ubi_tools.c
  42. 0 1
      miscutils/ubirename.c
  43. 0 1
      miscutils/watchdog.c
  44. 0 1
      modutils/depmod.c
  45. 0 1
      modutils/insmod.c
  46. 0 1
      modutils/lsmod.c
  47. 0 1
      modutils/modinfo.c
  48. 0 1
      modutils/modprobe.c
  49. 0 1
      modutils/rmmod.c
  50. 0 1
      networking/arp.c
  51. 0 1
      networking/arping.c
  52. 0 1
      networking/brctl.c
  53. 0 1
      networking/ether-wake.c
  54. 0 1
      networking/ifconfig.c
  55. 0 1
      networking/ifenslave.c
  56. 0 1
      networking/ifplugd.c
  57. 0 7
      networking/ip.c
  58. 0 1
      networking/nameif.c
  59. 0 1
      networking/netstat.c
  60. 0 1
      networking/ntpd.c
  61. 0 1
      networking/ping.c
  62. 0 1
      networking/route.c
  63. 0 1
      networking/slattach.c
  64. 0 1
      networking/traceroute.c
  65. 0 1
      networking/tunctl.c
  66. 0 2
      networking/udhcp/Config.src
  67. 0 1
      networking/vconfig.c
  68. 0 1
      networking/zcip.c
  69. 0 1
      procps/free.c
  70. 0 1
      procps/ps.c
  71. 0 1
      procps/uptime.c
  72. 0 1
      sysklogd/klogd.c
  73. 0 1
      sysklogd/syslogd.c
  74. 0 1
      util-linux/acpid.c
  75. 0 1
      util-linux/blkdiscard.c
  76. 0 1
      util-linux/blkid.c
  77. 0 1
      util-linux/dmesg.c
  78. 0 1
      util-linux/eject.c
  79. 0 1
      util-linux/fatattr.c
  80. 0 1
      util-linux/fbset.c
  81. 0 1
      util-linux/fdformat.c
  82. 0 1
      util-linux/fdisk.c
  83. 0 1
      util-linux/findfs.c
  84. 0 2
      util-linux/freeramdisk.c
  85. 0 1
      util-linux/fsfreeze.c
  86. 0 1
      util-linux/fstrim.c
  87. 0 1
      util-linux/hwclock.c
  88. 0 1
      util-linux/ionice.c
  89. 0 1
      util-linux/ipcs.c
  90. 0 1
      util-linux/losetup.c
  91. 0 1
      util-linux/lspci.c
  92. 0 1
      util-linux/lsusb.c
  93. 0 1
      util-linux/mdev.c
  94. 0 2
      util-linux/mkfs_ext2.c
  95. 0 1
      util-linux/mkfs_minix.c
  96. 0 1
      util-linux/mkfs_reiser.c
  97. 0 2
      util-linux/mkfs_vfat.c
  98. 0 1
      util-linux/mount.c
  99. 0 1
      util-linux/nsenter.c
  100. 0 1
      util-linux/pivot_root.c

+ 0 - 12
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

+ 0 - 1
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

+ 0 - 1
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

+ 0 - 1
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

+ 0 - 1
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

+ 0 - 1
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

+ 0 - 1
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

+ 0 - 1
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)

+ 0 - 1
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.
 

+ 0 - 1
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.

+ 0 - 1
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.
 

+ 0 - 1
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.
 

+ 0 - 2
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:

+ 0 - 1
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.

+ 0 - 1
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.

+ 0 - 1
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.

+ 0 - 1
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.

+ 0 - 1
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.
 

+ 0 - 1
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.
 

+ 0 - 1
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:

+ 0 - 1
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.

+ 0 - 1
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.
 

+ 0 - 1
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

+ 0 - 2
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).

+ 2 - 1
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
 

+ 0 - 1
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.

+ 0 - 1
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:

+ 0 - 1
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

+ 0 - 2
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!

+ 0 - 1
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.

+ 0 - 1
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.

+ 0 - 5
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:

+ 0 - 1
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.

+ 0 - 2
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
 

+ 0 - 1
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.
 

+ 0 - 1
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.

+ 0 - 1
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.

+ 0 - 1
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:

+ 0 - 1
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.
 

+ 0 - 1
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.
 

+ 0 - 6
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.
 

+ 0 - 1
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
 

+ 0 - 1
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

+ 0 - 1
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

+ 0 - 1
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.
 

+ 0 - 1
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:

+ 0 - 1
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
 

+ 0 - 1
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.

+ 0 - 1
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.
 

+ 0 - 1
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.
 

+ 0 - 1
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.
 

+ 0 - 1
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.

+ 0 - 1
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.
 

+ 0 - 1
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:

+ 0 - 1
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).

+ 0 - 1
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.
 

+ 0 - 7
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:

+ 0 - 1
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.

+ 0 - 1
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:

+ 0 - 1
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:

+ 0 - 1
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.

+ 0 - 1
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.
 

+ 0 - 1
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.
 

+ 0 - 1
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:

+ 0 - 1
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:

+ 0 - 2
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.

+ 0 - 1
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
 

+ 0 - 1
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.

+ 0 - 1
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.

+ 0 - 1
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"

+ 0 - 1
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

+ 0 - 1
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

+ 0 - 1
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.

+ 0 - 1
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

+ 0 - 1
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.
 

+ 0 - 1
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.

+ 0 - 1
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

+ 0 - 1
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:

+ 0 - 1
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.
 

+ 0 - 1
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

+ 0 - 1
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.
 

+ 0 - 1
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

+ 0 - 1
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.

+ 0 - 2
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

+ 0 - 1
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.

+ 0 - 1
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.
 

+ 0 - 1
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

+ 0 - 1
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

+ 0 - 1
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.

+ 0 - 1
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

+ 0 - 1
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.

+ 0 - 1
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.

+ 0 - 1
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.

+ 0 - 2
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".
 

+ 0 - 1
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

+ 0 - 1
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.

+ 0 - 2
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".
 

+ 0 - 1
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

+ 0 - 1
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.
 

+ 0 - 1
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

Some files were not shown because too many files changed in this diff