aboutsummaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorJeremie Koenig <jk@jk.fr.eu.org>2010-07-19 00:44:56 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-07-19 00:44:56 +0200
commit1d7266d3b59be361763dab61f680103bbb70f3e9 (patch)
tree631f533af2f9ceb9ba8d5cfcc978a3c33a0393cc /Config.in
parentb175462422f02a159a14dc5561d8bef6f84b2b66 (diff)
downloadbusybox-1d7266d3b59be361763dab61f680103bbb70f3e9.tar.gz
mark Linux-specific configuration options
PLATFORM_LINUX is used as a dependency for applets or features which require Linux-specific interfaces. Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index eebc9774d..35f43b3cd 100644
--- a/Config.in
+++ b/Config.in
@@ -47,6 +47,17 @@ config USE_PORTABLE_CODE
compiler other than gcc.
If you do use gcc, this option may needlessly increase code size.
+config PLATFORM_LINUX
+ bool "Enable Linux-specific applets and features"
+ default y
+ help
+ For the most part, busybox requires only POSIX compatibility
+ from the target system, but some applets and features use
+ Linux-specific interfaces.
+
+ Answering 'N' here will disable such applets and hide the
+ corresponding configuration options.
+
choice
prompt "Buffer allocation policy"
default FEATURE_BUFFERS_USE_MALLOC
@@ -353,6 +364,7 @@ config FEATURE_SUID_CONFIG_QUIET
config SELINUX
bool "Support NSA Security Enhanced Linux"
default n
+ depends on PLATFORM_LINUX
help
Enable support for SELinux in applets ls, ps, and id. Also provide
the option of compiling in SELinux applets.