When TARGET_WIN32 is selected, all commands will be invisible. They
will be unmasked when they are supported.
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]>
---
Config.in | 20 ++++++++++++++++++++
archival/Config.in | 1 +
console-tools/Config.in | 1 +
coreutils/Config.in | 1 +
debianutils/Config.in | 1 +
e2fsprogs/Config.in | 1 +
editors/Config.in | 1 +
findutils/Config.in | 1 +
init/Config.in | 1 +
loginutils/Config.in | 1 +
mailutils/Config.in | 1 +
miscutils/Config.in | 1 +
modutils/Config.in | 1 +
networking/Config.in | 1 +
printutils/Config.in | 1 +
procps/Config.in | 1 +
runit/Config.in | 1 +
shell/Config.in | 1 +
sysklogd/Config.in | 1 +
util-linux/Config.in | 1 +
20 files changed, 39 insertions(+), 0 deletions(-)
diff --git a/Config.in b/Config.in
index 8cf6a22..ece513b 100644
--- a/Config.in
+++ b/Config.in
@@ -47,6 +47,7 @@ config EXTRA_COMPAT
config INCLUDE_SUSv2
bool "Enable obsolete features removed before SUSv3"
default y
+ depends on !TARGET_WIN32
help
This option will enable backwards compatibility with SuSv2,
specifically, old-style numeric options ('command -1 <file>')
@@ -121,6 +122,7 @@ config FEATURE_COMPRESS_USAGE
config FEATURE_INSTALLER
bool "Support --install [-s] to install applet links at runtime"
default n
+ depends on !TARGET_WIN32
help
Enable 'busybox --install [-s]' support. This will allow you to use
busybox at runtime to create hard links or symlinks for all the
@@ -129,6 +131,7 @@ config FEATURE_INSTALLER
config LOCALE_SUPPORT
bool "Enable locale support (system needs locale for this to work)"
default n
+ depends on !TARGET_WIN32
help
Enable this if your system has locale support and you would like
busybox to support locale settings.
@@ -136,6 +139,7 @@ config LOCALE_SUPPORT
config UNICODE_SUPPORT
bool "Support Unicode"
default n
+ depends on !TARGET_WIN32
help
This makes various applets aware that one byte is not
one character on screen.
@@ -247,6 +251,7 @@ config LONG_OPTS
config FEATURE_DEVPTS
bool "Use the devpts filesystem for Unix98 PTYs"
default y
+ depends on !TARGET_WIN32
help
Enable if you want BusyBox to use Unix98 PTY support. If enabled,
busybox will use /dev/ptmx for the master side of the pseudoterminal
@@ -269,6 +274,7 @@ config FEATURE_CLEAN_UP
config FEATURE_UTMP
bool "Support utmp file"
default n
+ depends on !TARGET_WIN32
help
The file /var/run/utmp is used to track who is currently logged in.
With this option on, certain applets (getty, login, telnetd etc)
@@ -279,6 +285,7 @@ config FEATURE_WTMP
bool "Support wtmp file"
default n
select FEATURE_UTMP
+ depends on !TARGET_WIN32
help
The file /var/run/wtmp is used to track when users have logged into
and logged out of the system.
@@ -289,6 +296,7 @@ config FEATURE_WTMP
config FEATURE_PIDFILE
bool "Support writing pidfiles"
default n
+ depends on !TARGET_WIN32
help
This option makes some applets (e.g. crond, syslogd, inetd) write
a pidfile in /var/run. Some applications rely on them.
@@ -296,6 +304,7 @@ config FEATURE_PIDFILE
config FEATURE_SUID
bool "Support for SUID/SGID handling"
default n
+ depends on !TARGET_WIN32
help
With this option you can install the busybox binary belonging
to root with the suid bit set, and it will automatically drop
@@ -314,6 +323,7 @@ config FEATURE_SUID_CONFIG
bool "Runtime SUID/SGID configuration via /etc/busybox.conf"
default n if FEATURE_SUID
depends on FEATURE_SUID
+ depends on !TARGET_WIN32
help
Allow the SUID / SGID state of an applet to be determined at runtime
by checking /etc/busybox.conf. (This is sort of a poor man's sudo.)
@@ -355,6 +365,7 @@ config FEATURE_SUID_CONFIG_QUIET
config SELINUX
bool "Support NSA Security Enhanced Linux"
default n
+ depends on !TARGET_WIN32
help
Enable support for SELinux in applets ls, ps, and id. Also provide
the option of compiling in SELinux applets.
@@ -389,6 +400,7 @@ config FEATURE_PREFER_APPLETS
config BUSYBOX_EXEC_PATH
string "Path to BusyBox executable"
default "/proc/self/exe"
+ depends on !TARGET_WIN32
help
When Busybox applets need to run other busybox applets, BusyBox
sometimes needs to exec() itself. When the /proc filesystem is
@@ -401,6 +413,7 @@ config BUSYBOX_EXEC_PATH
config FEATURE_SYSLOG
bool #No description makes it a hidden option
default n
+ depends on !TARGET_WIN32
#help
# 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.
@@ -408,6 +421,7 @@ config FEATURE_SYSLOG
config FEATURE_HAVE_RPC
bool #No description makes it a hidden option
default n
+ depends on !TARGET_WIN32
#help
# This is automatically selected if any of enabled applets need it.
# You do not need to select it manually.
@@ -419,6 +433,7 @@ menu 'Build Options'
config STATIC
bool "Build BusyBox as a static binary (no shared libs)"
default n
+ depends on !TARGET_WIN32
help
If you want to build a static BusyBox binary, which does not
use or require any shared libraries, then enable this option.
@@ -441,6 +456,7 @@ config PIE
config NOMMU
bool "Force NOMMU build"
default n
+ depends on !TARGET_WIN32
help
Busybox tries to detect whether architecture it is being
built against supports MMU or not. If this detection fails,
@@ -487,6 +503,7 @@ config FEATURE_INDIVIDUAL
bool "Produce a binary for each applet, linked against libbusybox"
default y
depends on BUILD_LIBBUSYBOX
+ depends on !TARGET_WIN32
help
If your CPU architecture doesn't allow for sharing text/rodata
sections of running binaries, but allows for runtime dynamic
@@ -505,6 +522,7 @@ config FEATURE_SHARED_BUSYBOX
bool "Produce additional busybox binary linked against libbusybox"
default y
depends on BUILD_LIBBUSYBOX
+ depends on !TARGET_WIN32
help
Build busybox, dynamically linked against libbusybox.so.N.N.N.
@@ -642,6 +660,7 @@ endchoice
endmenu
menu 'Installation Options'
+ depends on !TARGET_WIN32
config INSTALL_NO_USR
bool "Don't use /usr"
@@ -711,6 +730,7 @@ endchoice
config PREFIX
string "BusyBox installation prefix"
default "./_install"
+ depends on !TARGET_WIN32
help
Define your directory to install BusyBox files/subdirs in.
diff --git a/archival/Config.in b/archival/Config.in
index deacc28..3319ae8 100644
--- a/archival/Config.in
+++ b/archival/Config.in
@@ -4,6 +4,7 @@
#
menu "Archival Utilities"
+ depends on !TARGET_WIN32
config FEATURE_SEAMLESS_LZMA
bool "Make tar, rpm, modprobe etc understand .lzma data"
diff --git a/console-tools/Config.in b/console-tools/Config.in
index 195685b..9fec81e 100644
--- a/console-tools/Config.in
+++ b/console-tools/Config.in
@@ -4,6 +4,7 @@
#
menu "Console Utilities"
+ depends on !TARGET_WIN32
config CHVT
bool "chvt"
diff --git a/coreutils/Config.in b/coreutils/Config.in
index ead632a..cd5730f 100644
--- a/coreutils/Config.in
+++ b/coreutils/Config.in
@@ -4,6 +4,7 @@
#
menu "Coreutils"
+ depends on !TARGET_WIN32
config BASENAME
bool "basename"
diff --git a/debianutils/Config.in b/debianutils/Config.in
index 9146f3e..5a2588b 100644
--- a/debianutils/Config.in
+++ b/debianutils/Config.in
@@ -4,6 +4,7 @@
#
menu "Debian Utilities"
+ depends on !TARGET_WIN32
config MKTEMP
bool "mktemp"
diff --git a/e2fsprogs/Config.in b/e2fsprogs/Config.in
index 9a0088a..1b7a970 100644
--- a/e2fsprogs/Config.in
+++ b/e2fsprogs/Config.in
@@ -4,6 +4,7 @@
#
menu "Linux Ext2 FS Progs"
+ depends on !TARGET_WIN32
config CHATTR
bool "chattr"
diff --git a/editors/Config.in b/editors/Config.in
index e4fdd0f..f64e6ff 100644
--- a/editors/Config.in
+++ b/editors/Config.in
@@ -4,6 +4,7 @@
#
menu "Editors"
+ depends on !TARGET_WIN32
config AWK
bool "awk"
diff --git a/findutils/Config.in b/findutils/Config.in
index 8582d64..8587d41 100644
--- a/findutils/Config.in
+++ b/findutils/Config.in
@@ -4,6 +4,7 @@
#
menu "Finding Utilities"
+ depends on !TARGET_WIN32
config FIND
bool "find"
diff --git a/init/Config.in b/init/Config.in
index 3d99d47..d797b8c 100644
--- a/init/Config.in
+++ b/init/Config.in
@@ -4,6 +4,7 @@
#
menu "Init Utilities"
+ depends on !TARGET_WIN32
config INIT
bool "init"
diff --git a/loginutils/Config.in b/loginutils/Config.in
index a9b5f5a..d9dfbe6 100644
--- a/loginutils/Config.in
+++ b/loginutils/Config.in
@@ -4,6 +4,7 @@
#
menu "Login/Password Management Utilities"
+ depends on !TARGET_WIN32
config FEATURE_SHADOWPASSWDS
bool "Support for shadow passwords"
diff --git a/mailutils/Config.in b/mailutils/Config.in
index 519d562..f9157d4 100644
--- a/mailutils/Config.in
+++ b/mailutils/Config.in
@@ -1,4 +1,5 @@
menu "Mail Utilities"
+ depends on !TARGET_WIN32
config MAKEMIME
bool "makemime"
diff --git a/miscutils/Config.in b/miscutils/Config.in
index 0469b63..321a325 100644
--- a/miscutils/Config.in
+++ b/miscutils/Config.in
@@ -4,6 +4,7 @@
#
menu "Miscellaneous Utilities"
+ depends on !TARGET_WIN32
config ADJTIMEX
bool "adjtimex"
diff --git a/modutils/Config.in b/modutils/Config.in
index 83c12b6..8cb97e7 100644
--- a/modutils/Config.in
+++ b/modutils/Config.in
@@ -4,6 +4,7 @@
#
menu "Linux Module Utilities"
+ depends on !TARGET_WIN32
config MODPROBE_SMALL
bool "Simplified modutils"
diff --git a/networking/Config.in b/networking/Config.in
index 61e59b2..3f2cf53 100644
--- a/networking/Config.in
+++ b/networking/Config.in
@@ -4,6 +4,7 @@
#
menu "Networking Utilities"
+ depends on !TARGET_WIN32
config FEATURE_IPV6
bool "Enable IPv6 support"
diff --git a/printutils/Config.in b/printutils/Config.in
index 6912ece..231d82a 100644
--- a/printutils/Config.in
+++ b/printutils/Config.in
@@ -4,6 +4,7 @@
#
menu "Print Utilities"
+ depends on !TARGET_WIN32
config LPD
bool "lpd"
diff --git a/procps/Config.in b/procps/Config.in
index 6a9a366..9891b06 100644
--- a/procps/Config.in
+++ b/procps/Config.in
@@ -4,6 +4,7 @@
#
menu "Process Utilities"
+ depends on !TARGET_WIN32
config FREE
bool "free"
diff --git a/runit/Config.in b/runit/Config.in
index 422ca75..2fa73dc 100644
--- a/runit/Config.in
+++ b/runit/Config.in
@@ -4,6 +4,7 @@
#
menu "Runit Utilities"
+ depends on !TARGET_WIN32
config RUNSV
bool "runsv"
diff --git a/shell/Config.in b/shell/Config.in
index 3b16506..6d0d2fa 100644
--- a/shell/Config.in
+++ b/shell/Config.in
@@ -4,6 +4,7 @@
#
menu "Shells"
+ depends on !TARGET_WIN32
choice
prompt "Choose your default shell"
diff --git a/sysklogd/Config.in b/sysklogd/Config.in
index b500d54..5b1b548 100644
--- a/sysklogd/Config.in
+++ b/sysklogd/Config.in
@@ -4,6 +4,7 @@
#
menu "System Logging Utilities"
+ depends on !TARGET_WIN32
config SYSLOGD
bool "syslogd"
diff --git a/util-linux/Config.in b/util-linux/Config.in
index acd74a2..b1b9d77 100644
--- a/util-linux/Config.in
+++ b/util-linux/Config.in
@@ -4,6 +4,7 @@
#
menu "Linux System Utilities"
+ depends on !TARGET_WIN32
config ACPID
bool "acpid"
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox