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 --- procps/Config.in | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ procps/config.in | 27 --------------------- 2 files changed, 72 insertions(+), 27 deletions(-) create mode 100644 procps/Config.in delete mode 100644 procps/config.in (limited to 'procps') diff --git a/procps/Config.in b/procps/Config.in new file mode 100644 index 000000000..dc8c2f22e --- /dev/null +++ b/procps/Config.in @@ -0,0 +1,72 @@ +# +# For a description of the syntax of this configuration file, +# see scripts/kbuild/config-language.txt. +# + +menu "Process Utilities" + +config CONFIG_FREE + bool "free" + default n + help + Please submit a patch to add help text for this item. + +if CONFIG_KILLALL + config CONFIG_KILL + default y + comment "kill (forced enabled for killall)" +endif +if !CONFIG_KILLALL + config CONFIG_KILL + bool "kill" + default n + help + Please submit a patch to add help text for this item. +endif + +config CONFIG_KILLALL + bool "killall" + default n + depends on CONFIG_KILL + help + Please submit a patch to add help text for this item. + +config CONFIG_PIDOF + bool "pidof" + default n + help + Please submit a patch to add help text for this item. + +config CONFIG_PS + bool "ps" + default n + help + Please submit a patch to add help text for this item. + +config CONFIG_RENICE + bool "renice" + default n + help + Please submit a patch to add help text for this item. + +config CONFIG_TOP + bool "top" + default n + help + Please submit a patch to add help text for this item. + +config FEATURE_CPU_USAGE_PERCENTAGE + bool " Support show CPU usage percentage (add 2k bytes)" + default y + depends on CONFIG_TOP + help + Please submit a patch to add help text for this item. + +config CONFIG_UPTIME + bool "uptime" + default n + help + Please submit a patch to add help text for this item. + +endmenu + diff --git a/procps/config.in b/procps/config.in deleted file mode 100644 index 966b11524..000000000 --- a/procps/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 'Process Utilities' - -bool 'free' CONFIG_FREE -bool 'kill' CONFIG_KILL -bool 'killall' CONFIG_KILLALL -if [ "$CONFIG_KILLALL" = "y" -a "$CONFIG_KILL" = "n" ] ; then - define_bool CONFIG_KILL y -fi -bool 'pidof' CONFIG_PIDOF -bool 'ps' CONFIG_PS -if [ "$CONFIG_PS" = "y" ] ; then - bool ' Use devps instead of /proc (needs a patched kernel)' CONFIG_FEATURE_USE_DEVPS_PATCH -fi -bool 'renice' CONFIG_RENICE -bool 'top' CONFIG_TOP -if [ "$CONFIG_TOP" = "y" ] ; then - bool ' Support show CPU usage percentage (add 2k bytes)' FEATURE_CPU_USAGE_PERCENTAGE -fi -bool 'uptime' CONFIG_UPTIME -endmenu - -- cgit v1.2.3