diff options
author | Jeremie Koenig | 2010-07-19 00:44:56 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-07-19 00:44:56 +0200 |
commit | 1d7266d3b59be361763dab61f680103bbb70f3e9 (patch) | |
tree | 631f533af2f9ceb9ba8d5cfcc978a3c33a0393cc /init | |
parent | b175462422f02a159a14dc5561d8bef6f84b2b66 (diff) | |
download | busybox-1d7266d3b59be361763dab61f680103bbb70f3e9.zip busybox-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 'init')
-rw-r--r-- | init/Config.src | 2 | ||||
-rw-r--r-- | init/bootchartd.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/init/Config.src b/init/Config.src index 590e298..a5e76be 100644 --- a/init/Config.src +++ b/init/Config.src @@ -10,6 +10,7 @@ INSERT config INIT bool "init" default y + depends on PLATFORM_LINUX select FEATURE_SYSLOG help init is the first program run when the system boots. @@ -92,6 +93,7 @@ config FEATURE_INITRD config HALT bool "poweroff, halt, and reboot" default y + depends on PLATFORM_LINUX help Stop all processes and either halt, reboot, or power off the system. diff --git a/init/bootchartd.c b/init/bootchartd.c index dae2fe6..a1c0164 100644 --- a/init/bootchartd.c +++ b/init/bootchartd.c @@ -6,6 +6,7 @@ //config:config BOOTCHARTD //config: bool "bootchartd" //config: default y +//config: depends on PLATFORM_LINUX //config: help //config: bootchartd is commonly used to profile the boot process //config: for the purpose of speeding it up. In this case, it is started |