diff options
author | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-07-19 00:44:56 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-07-19 00:44:56 +0200 |
commit | 1d7266d3b59be361763dab61f680103bbb70f3e9 (patch) | |
tree | 631f533af2f9ceb9ba8d5cfcc978a3c33a0393cc /Config.in | |
parent | b175462422f02a159a14dc5561d8bef6f84b2b66 (diff) | |
download | busybox-w32-1d7266d3b59be361763dab61f680103bbb70f3e9.tar.gz busybox-w32-1d7266d3b59be361763dab61f680103bbb70f3e9.tar.bz2 busybox-w32-1d7266d3b59be361763dab61f680103bbb70f3e9.zip |
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.in | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -47,6 +47,17 @@ config USE_PORTABLE_CODE | |||
47 | compiler other than gcc. | 47 | compiler other than gcc. |
48 | If you do use gcc, this option may needlessly increase code size. | 48 | If you do use gcc, this option may needlessly increase code size. |
49 | 49 | ||
50 | config PLATFORM_LINUX | ||
51 | bool "Enable Linux-specific applets and features" | ||
52 | default y | ||
53 | help | ||
54 | For the most part, busybox requires only POSIX compatibility | ||
55 | from the target system, but some applets and features use | ||
56 | Linux-specific interfaces. | ||
57 | |||
58 | Answering 'N' here will disable such applets and hide the | ||
59 | corresponding configuration options. | ||
60 | |||
50 | choice | 61 | choice |
51 | prompt "Buffer allocation policy" | 62 | prompt "Buffer allocation policy" |
52 | default FEATURE_BUFFERS_USE_MALLOC | 63 | default FEATURE_BUFFERS_USE_MALLOC |
@@ -353,6 +364,7 @@ config FEATURE_SUID_CONFIG_QUIET | |||
353 | config SELINUX | 364 | config SELINUX |
354 | bool "Support NSA Security Enhanced Linux" | 365 | bool "Support NSA Security Enhanced Linux" |
355 | default n | 366 | default n |
367 | depends on PLATFORM_LINUX | ||
356 | help | 368 | help |
357 | Enable support for SELinux in applets ls, ps, and id. Also provide | 369 | Enable support for SELinux in applets ls, ps, and id. Also provide |
358 | the option of compiling in SELinux applets. | 370 | the option of compiling in SELinux applets. |