Yet another major rework of the BusyBox config system, using the considerably
modified Kbuild system I put into uClibc. With this, there should be no more need to modify Rules.mak since I've moved all the interesting options into the config system. I think I've got everything updated, but you never know, I may have made some mistakes, so watch closely. -Erik
This commit is contained in:
78
init/Config.in
Normal file
78
init/Config.in
Normal file
@@ -0,0 +1,78 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
menu "Init Utilities"
|
||||
|
||||
config CONFIG_INIT
|
||||
bool "init"
|
||||
default n
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_USE_INITTAB
|
||||
bool " Support reading an inittab file?"
|
||||
default y
|
||||
depends on CONFIG_INIT
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_INITRD
|
||||
bool " Support running init from within an initrd?"
|
||||
default y
|
||||
depends on CONFIG_INIT
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_INIT_COREDUMPS
|
||||
bool " Support dumping core for child processes (debugging only)?"
|
||||
default y
|
||||
depends on CONFIG_INIT
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_EXTRA_QUIET
|
||||
bool " Should init be _extra_ quiet on boot?"
|
||||
default y
|
||||
depends on CONFIG_INIT
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
# Some apps that are meaningless without BusyBox running as init
|
||||
config CONFIG_HALT
|
||||
bool "halt"
|
||||
default y
|
||||
depends on CONFIG_INIT
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_POWEROFF
|
||||
bool "poweroff"
|
||||
default y
|
||||
depends on CONFIG_INIT
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_REBOOT
|
||||
bool "reboot"
|
||||
default y
|
||||
depends on CONFIG_INIT
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
# Should start-stop-daemon be moved under debianutils?
|
||||
config CONFIG_START_STOP_DAEMON
|
||||
bool "start-stop-daemon"
|
||||
default y
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_MESG
|
||||
bool "mesg"
|
||||
default y
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
endmenu
|
||||
|
@@ -1,27 +0,0 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
mainmenu_option next_comment
|
||||
comment 'Init Utilities'
|
||||
|
||||
|
||||
bool 'init' CONFIG_INIT
|
||||
if [ "$CONFIG_INIT" = "y" ]; then
|
||||
bool ' Support reading an inittab file?' CONFIG_FEATURE_USE_INITTAB
|
||||
bool ' Support running init from within an initrd?' CONFIG_FEATURE_INITRD
|
||||
bool ' Support dumping core for child processes (debugging only)?' CONFIG_FEATURE_INIT_COREDUMPS
|
||||
bool ' Should init be _extra_ quiet on boot?' CONFIG_FEATURE_EXTRA_QUIET
|
||||
|
||||
# Some more apps that are meaningless without BusyBox running as init
|
||||
bool 'halt' CONFIG_HALT
|
||||
bool 'poweroff' CONFIG_POWEROFF
|
||||
bool 'reboot' CONFIG_REBOOT
|
||||
fi
|
||||
|
||||
bool 'start-stop-daemon' CONFIG_START_STOP_DAEMON
|
||||
bool 'mesg' CONFIG_MESG
|
||||
|
||||
endmenu
|
||||
|
Reference in New Issue
Block a user