summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorYang Shi <yang.shi@windriver.com>2014-08-19 14:21:41 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-23 09:26:10 +0100
commit35318696ad06644f3b5e10c9512a78b639f50757 (patch)
treec304110a7921da8d425c0dcd1ce053789b17eadf /meta/classes
parent7b0137c823931a236583b509a3ee5fdc0e957387 (diff)
downloadpoky-35318696ad06644f3b5e10c9512a78b639f50757.tar.gz
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] (From OE-Core rev: daff14bf44c59542c8b8f1a455dcc59586be7e59) Signed-off-by: Yang Shi <yang.shi@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel.bbclass2
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() {
232 # dir. This ensures the original Makefiles are used and not the 232 # dir. This ensures the original Makefiles are used and not the
233 # redirecting Makefiles in the build directory. 233 # redirecting Makefiles in the build directory.
234 # 234 #
235 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 235 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
236 cp .config $kerneldir 236 cp .config $kerneldir
237 if [ "${S}" != "${B}" ]; then 237 if [ "${S}" != "${B}" ]; then
238 pwd="$PWD" 238 pwd="$PWD"