* The kernel meta-data doesn't need to be distributed in the kernel source
   package, so drop it
 * Fix a typo
 * Split long lines

Signed-off-by: Jacob Kroon <[email protected]>
---
 meta/recipes-kernel/linux/kernel-devsrc.bb | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb 
b/meta/recipes-kernel/linux/kernel-devsrc.bb
index 0fdd0ad..2dcf01e 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -41,13 +41,17 @@ do_install() {
 
         #
         # Copy the staging dir source (and module build support) into the 
devsrc structure.
-        # We can keep this copy simple and take everything, since a we'll 
clean up any build
+        # We can keep this copy simple and take everything, since we'll clean 
up any build
         # artifacts afterwards, and the extra i/o is not significant
         #
         cd ${B}
-        find . -type d -name '.git*' -prune -o -path '.debug' -prune -o -type 
f -print0 | cpio --null -pdlu $kerneldir
+        find . -type d -name '.git*' -prune -o \
+               -path '.debug' -prune -o \
+               -type f -print0 | cpio --null -pdlu $kerneldir
         cd ${S}
-        find . -type d -name '.git*' -prune -o -type f -print0 | cpio --null 
-pdlu $kerneldir
+        find . -type d -name '.git*' -prune -o \
+               -type d -name '.kernel-meta' -prune -o \
+               -type f -print0 | cpio --null -pdlu $kerneldir
 
         # Explicitly set KBUILD_OUTPUT to ensure that the image directory is 
cleaned and not
         # The main build artifacts. We clean the directory to avoid QA errors 
on mismatched
-- 
2.7.4

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to