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
This commit is contained in:
72
procps/Config.in
Normal file
72
procps/Config.in
Normal file
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user