aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-12-05 08:41:41 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-12-05 08:41:41 +0000
commite40a650628ce6b03e67c4c6d96ea396e7bd2afb3 (patch)
tree72904548bb54dcaf78017d3b35296765437e0bd5 /procps
parent49ec1a2dc6dfba670b3659286524fd5baf12e6fe (diff)
downloadbusybox-w32-e40a650628ce6b03e67c4c6d96ea396e7bd2afb3.tar.gz
busybox-w32-e40a650628ce6b03e67c4c6d96ea396e7bd2afb3.tar.bz2
busybox-w32-e40a650628ce6b03e67c4c6d96ea396e7bd2afb3.zip
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 git-svn-id: svn://busybox.net/trunk/busybox@6102 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 000000000..dc8c2f22e
--- /dev/null
+++ b/procps/Config.in
@@ -0,0 +1,72 @@
1#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Process Utilities"
7
8config CONFIG_FREE
9 bool "free"
10 default n
11 help
12 Please submit a patch to add help text for this item.
13
14if CONFIG_KILLALL
15 config CONFIG_KILL
16 default y
17 comment "kill (forced enabled for killall)"
18endif
19if !CONFIG_KILLALL
20 config CONFIG_KILL
21 bool "kill"
22 default n
23 help
24 Please submit a patch to add help text for this item.
25endif
26
27config CONFIG_KILLALL
28 bool "killall"
29 default n
30 depends on CONFIG_KILL
31 help
32 Please submit a patch to add help text for this item.
33
34config CONFIG_PIDOF
35 bool "pidof"
36 default n
37 help
38 Please submit a patch to add help text for this item.
39
40config CONFIG_PS
41 bool "ps"
42 default n
43 help
44 Please submit a patch to add help text for this item.
45
46config CONFIG_RENICE
47 bool "renice"
48 default n
49 help
50 Please submit a patch to add help text for this item.
51
52config CONFIG_TOP
53 bool "top"
54 default n
55 help
56 Please submit a patch to add help text for this item.
57
58config FEATURE_CPU_USAGE_PERCENTAGE
59 bool " Support show CPU usage percentage (add 2k bytes)"
60 default y
61 depends on CONFIG_TOP
62 help
63 Please submit a patch to add help text for this item.
64
65config CONFIG_UPTIME
66 bool "uptime"
67 default n
68 help
69 Please submit a patch to add help text for this item.
70
71endmenu
72
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 @@
1#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6mainmenu_option next_comment
7comment 'Process Utilities'
8
9bool 'free' CONFIG_FREE
10bool 'kill' CONFIG_KILL
11bool 'killall' CONFIG_KILLALL
12if [ "$CONFIG_KILLALL" = "y" -a "$CONFIG_KILL" = "n" ] ; then
13 define_bool CONFIG_KILL y
14fi
15bool 'pidof' CONFIG_PIDOF
16bool 'ps' CONFIG_PS
17if [ "$CONFIG_PS" = "y" ] ; then
18 bool ' Use devps instead of /proc (needs a patched kernel)' CONFIG_FEATURE_USE_DEVPS_PATCH
19fi
20bool 'renice' CONFIG_RENICE
21bool 'top' CONFIG_TOP
22if [ "$CONFIG_TOP" = "y" ] ; then
23 bool ' Support show CPU usage percentage (add 2k bytes)' FEATURE_CPU_USAGE_PERCENTAGE
24fi
25bool 'uptime' CONFIG_UPTIME
26endmenu
27