aboutsummaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-12-05 08:41:41 +0000
committerEric Andersen <andersen@codepoet.org>2002-12-05 08:41:41 +0000
commitc9f20d9fb93c6c316518483fd103f3afab5cf1af (patch)
tree72904548bb54dcaf78017d3b35296765437e0bd5 /findutils
parentdeca106b6dad70ad0a1312a82d762aa8d8ad52ba (diff)
downloadbusybox-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 'findutils')
-rw-r--r--findutils/Config.in70
-rw-r--r--findutils/config.in23
2 files changed, 70 insertions, 23 deletions
diff --git a/findutils/Config.in b/findutils/Config.in
new file mode 100644
index 000000000..42400ffb8
--- /dev/null
+++ b/findutils/Config.in
@@ -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
+
diff --git a/findutils/config.in b/findutils/config.in
deleted file mode 100644
index 41a23c00a..000000000
--- a/findutils/config.in
+++ /dev/null
@@ -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
-