From c9f20d9fb93c6c316518483fd103f3afab5cf1af Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 5 Dec 2002 08:41:41 +0000 Subject: 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 --- init/Config.in | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ init/config.in | 27 -------------------- 2 files changed, 78 insertions(+), 27 deletions(-) create mode 100644 init/Config.in delete mode 100644 init/config.in (limited to 'init') diff --git a/init/Config.in b/init/Config.in new file mode 100644 index 000000000..90173c552 --- /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 3688eaa10..000000000 --- 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 - -- cgit v1.2.3