summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
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 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