From 36b450378109bb0bea3f57a063520ce13b58cec3 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Mon, 29 Apr 2013 13:00:13 +0000
Subject: fix find usage for native adk systems, found on lemote

---
 package/busybox/patches/012-find-posix.patch | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 package/busybox/patches/012-find-posix.patch

(limited to 'package')

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#./}"
+ 
-- 
cgit v1.2.3