From: Yang Shi <yang....@windriver.com>

vdso build could generate so files, avoid installing such so files into kernel
source dir, otherwise the below package QA error might be hit:

ERROR: QA Issue: File '/usr/src/kernel/arch/x86/vdso/vdso64.so' from
linux-yocto was already stripped, this will prevent future
debugging! [already-stripped]

Signed-off-by: Yang Shi <yang....@windriver.com>
Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org>
---

This is needed to build 3.6.16+ on the daisy branch

 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 58b0ec8..acb2bbd 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -232,7 +232,7 @@ kernel_do_install() {
        # dir. This ensures the original Makefiles are used and not the
        # redirecting Makefiles in the build directory.
        #
-       find . -depth -not -name "*.cmd" -not -name "*.o" -not -name "*.so.dbg" 
-not -path "./Documentation*" -not -path "./source*" -not -path "./.*" -print0 
| cpio --null -pdlu $kerneldir
+       find . -depth -not -name "*.cmd" -not -name "*.o" -not -name "*.so.dbg" 
-not -name "*.so" -not -path "./Documentation*" -not -path "./source*" -not 
-path "./.*" -print0 | cpio --null -pdlu $kerneldir
        cp .config $kerneldir
        if [ "${S}" != "${B}" ]; then
                pwd="$PWD"
-- 
1.9.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to