diff options
author | Yang Shi <yang.shi@windriver.com> | 2014-08-19 14:21:41 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-23 09:25:04 +0100 |
commit | daff14bf44c59542c8b8f1a455dcc59586be7e59 (patch) | |
tree | 0ecf9e4670fa524118cd7a5f0747919a06e26860 | |
parent | 37fd211e598b2342533b00d89c9efcd151c529ae (diff) | |
download | openembedded-core-daff14bf44c59542c8b8f1a455dcc59586be7e59.tar.gz openembedded-core-daff14bf44c59542c8b8f1a455dcc59586be7e59.tar.bz2 openembedded-core-daff14bf44c59542c8b8f1a455dcc59586be7e59.zip |
kernel: Prevent from installing so files into source dir
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.shi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 1289873032..4f57770157 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" |