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:
70
findutils/Config.in
Normal file
70
findutils/Config.in
Normal file
@@ -0,0 +1,70 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
menu "Finding Utilities"
|
||||
|
||||
config CONFIG_FIND
|
||||
bool "find"
|
||||
default n
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_FIND_MTIME
|
||||
bool " Enable modified time matching (-mtime) option"
|
||||
default y
|
||||
depends on CONFIG_FIND
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_FIND_PERM
|
||||
bool " Enable permissions matching (-perm) option"
|
||||
default y
|
||||
depends on CONFIG_FIND
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_FIND_TYPE
|
||||
bool " Enable filetype matching (-type) option"
|
||||
default y
|
||||
depends on CONFIG_FIND
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_FIND_XDEV
|
||||
bool " Enable stay in filesystem (-xdev) option"
|
||||
default y
|
||||
depends on CONFIG_FIND
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_GREP
|
||||
bool "grep"
|
||||
default n
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_GREP_EGREP_ALIAS
|
||||
bool " Support extended regular expressions (egrep & grep -E)"
|
||||
default y
|
||||
depends on CONFIG_GREP
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_FEATURE_GREP_CONTEXT
|
||||
bool " Enable before and after context flags (-A, -B and -C)"
|
||||
default y
|
||||
depends on CONFIG_GREP
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
config CONFIG_XARGS
|
||||
bool "xargs"
|
||||
default n
|
||||
help
|
||||
Please submit a patch to add help text for this item.
|
||||
|
||||
|
||||
endmenu
|
||||
|
@@ -1,23 +0,0 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
mainmenu_option next_comment
|
||||
comment 'Finding Utilities'
|
||||
|
||||
bool 'find' CONFIG_FIND
|
||||
if [ "$CONFIG_FIND" = "y" ] ; then
|
||||
bool ' Enable modified time matching (-mtime) option' CONFIG_FEATURE_FIND_MTIME
|
||||
bool ' Enable permissions matching (-perm) option' CONFIG_FEATURE_FIND_PERM
|
||||
bool ' Enable filetype matching (-type) option' CONFIG_FEATURE_FIND_TYPE
|
||||
bool ' Enable stay in filesystem (-xdev) option' CONFIG_FEATURE_FIND_XDEV
|
||||
fi
|
||||
bool 'grep' CONFIG_GREP
|
||||
if [ "$CONFIG_GREP" = "y" ] ; then
|
||||
bool ' Support extended regular expressions (egrep & grep -E)' CONFIG_FEATURE_GREP_EGREP_ALIAS
|
||||
bool ' Enable before and after context flags (-A, -B and -C)' CONFIG_FEATURE_GREP_CONTEXT
|
||||
fi
|
||||
bool 'xargs' CONFIG_XARGS
|
||||
endmenu
|
||||
|
Reference in New Issue
Block a user