aboutsummaryrefslogtreecommitdiff
path: root/init
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 /init
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 'init')
-rw-r--r--init/Config.src2
-rw-r--r--init/bootchartd.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/init/Config.src b/init/Config.src
index 590e29890..a5e76be6a 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 dae2fe6e9..a1c01641b 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