diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-15 23:43:11 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-15 23:43:11 +0000 |
commit | b941129ccb7901b0715c6affa9d0347f6fa5e64d (patch) | |
tree | f109a72dc2d958ae0ab35031da39b176e87009a5 /findutils/Config.in | |
parent | d786cc59662c52c268c1f074546e0705facf3475 (diff) | |
download | busybox-w32-b941129ccb7901b0715c6affa9d0347f6fa5e64d.tar.gz busybox-w32-b941129ccb7901b0715c6affa9d0347f6fa5e64d.tar.bz2 busybox-w32-b941129ccb7901b0715c6affa9d0347f6fa5e64d.zip |
find: add conditional support for -maxdepth and -regex
(needed for Linux 2.6.22-rc4 build)
-maxdepth:
# size busybox_old busybox_unstripped
text data bss dec hex filename
675622 2792 15728 694142 a977e busybox_old
675770 2792 15728 694290 a9812 busybox_unstripped
-regex:
# size busybox_old busybox_unstripped
text data bss dec hex filename
675770 2792 15728 694290 a9812 busybox_old
675894 2792 15728 694414 a988e busybox_unstripped
Diffstat (limited to 'findutils/Config.in')
-rw-r--r-- | findutils/Config.in | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/findutils/Config.in b/findutils/Config.in index a32e98922..bcdc02446 100644 --- a/findutils/Config.in +++ b/findutils/Config.in | |||
@@ -57,8 +57,14 @@ config FEATURE_FIND_XDEV | |||
57 | default y | 57 | default y |
58 | depends on FIND | 58 | depends on FIND |
59 | help | 59 | help |
60 | This option will allow find to restrict searches to a single | 60 | This option allows find to restrict searches to a single filesystem. |
61 | filesystem. | 61 | |
62 | config FEATURE_FIND_MAXDEPTH | ||
63 | bool "Enable -maxdepth N option" | ||
64 | default y | ||
65 | depends on FIND | ||
66 | help | ||
67 | This option enables -maxdepth N option. | ||
62 | 68 | ||
63 | config FEATURE_FIND_NEWER | 69 | config FEATURE_FIND_NEWER |
64 | bool "Enable -newer option for comparing file mtimes" | 70 | bool "Enable -newer option for comparing file mtimes" |
@@ -149,7 +155,14 @@ config FEATURE_FIND_PATH | |||
149 | default y | 155 | default y |
150 | depends on FIND | 156 | depends on FIND |
151 | help | 157 | help |
152 | The -path option matches whole pathnames instead of just filenames. | 158 | The -path option matches whole pathname instead of just filename. |
159 | |||
160 | config FEATURE_FIND_REGEX | ||
161 | bool "Enable -regex: match pathname to regex" | ||
162 | default y | ||
163 | depends on FIND | ||
164 | help | ||
165 | The -regex option matches whole pathname against regular expression. | ||
153 | 166 | ||
154 | config GREP | 167 | config GREP |
155 | bool "grep" | 168 | bool "grep" |