summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-04-29 13:00:13 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2013-04-29 13:00:13 +0000
commit36b450378109bb0bea3f57a063520ce13b58cec3 (patch)
tree6e2ec82fd82f3efefc4d184ed7a9f10a7c95ef1b
parentc7e73bd3cb4efd7e1e708fcacb9ba4c00ef7dc52 (diff)
fix find usage for native adk systems, found on lemote
-rw-r--r--package/busybox/patches/012-find-posix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/patches/012-find-posix.patch b/package/busybox/patches/012-find-posix.patch
new file mode 100644
index 000000000..70484fbe4
--- /dev/null
+++ b/package/busybox/patches/012-find-posix.patch
@@ -0,0 +1,12 @@
+diff -Nur busybox-1.20.2.orig/scripts/gen_build_files.sh busybox-1.20.2/scripts/gen_build_files.sh
+--- busybox-1.20.2.orig/scripts/gen_build_files.sh 2012-06-26 13:35:45.000000000 +0000
++++ busybox-1.20.2/scripts/gen_build_files.sh 2013-04-29 12:18:26.089999426 +0000
+@@ -61,7 +61,7 @@
+
+ # (Re)generate */Kbuild and */Config.in
+ # We skip .dotdirs - makes git/svn/etc users happier
+-{ cd -- "$srctree" && find . -type d -not '(' -name '.?*' -prune ')'; } \
++{ cd -- "$srctree" && find . -type d ! '(' -name '.?*' -prune ')'; } \
+ | while read -r d; do
+ d="${d#./}"
+