summaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorEric Andersen2002-12-05 08:41:41 +0000
committerEric Andersen2002-12-05 08:41:41 +0000
commitc9f20d9fb93c6c316518483fd103f3afab5cf1af (patch)
tree72904548bb54dcaf78017d3b35296765437e0bd5 /procps
parentdeca106b6dad70ad0a1312a82d762aa8d8ad52ba (diff)
downloadbusybox-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 'procps')
-rw-r--r--procps/Config.in72
-rw-r--r--procps/config.in27
2 files changed, 72 insertions, 27 deletions
diff --git a/procps/Config.in b/procps/Config.in
new file mode 100644
index 0000000..dc8c2f2
--- /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 966b115..0000000
--- 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
-