diff options
author | Eric Andersen | 2002-12-05 08:41:41 +0000 |
---|---|---|
committer | Eric Andersen | 2002-12-05 08:41:41 +0000 |
commit | c9f20d9fb93c6c316518483fd103f3afab5cf1af (patch) | |
tree | 72904548bb54dcaf78017d3b35296765437e0bd5 /init | |
parent | deca106b6dad70ad0a1312a82d762aa8d8ad52ba (diff) | |
download | busybox-c9f20d9fb93c6c316518483fd103f3afab5cf1af.zip busybox-c9f20d9fb93c6c316518483fd103f3afab5cf1af.tar.gz |
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
Diffstat (limited to 'init')
-rw-r--r-- | init/Config.in | 78 | ||||
-rw-r--r-- | init/config.in | 27 |
2 files changed, 78 insertions, 27 deletions
diff --git a/init/Config.in b/init/Config.in new file mode 100644 index 0000000..90173c5 --- /dev/null +++ b/init/Config.in @@ -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 + diff --git a/init/config.in b/init/config.in deleted file mode 100644 index 3688eaa..0000000 --- a/init/config.in +++ /dev/null @@ -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 - |