From: Ming Liu Date: Tue, 1 Apr 2014 02:57:15 +0000 (+0000) Subject: kernel: don't populate source symbolic link X-Git-Tag: rev_ivi_2015_02_04~8257 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3bdfe869a908e35f7c74f0cea4e95427d9d6a50a;p=scm%2Fbb%2Ftizen-distro.git kernel: don't populate source symbolic link /usr/src/kernel/source deployed by kernel-dev package is symbolically linking to a build-time kernel source folder, which make no sense when cross-compiling. Fixed by not populating it at install stage. (From OE-Core rev: edb85a9589be54a1e9c980aa669a380222a76cf4) Signed-off-by: Ming Liu Signed-off-by: Kai Kang Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 19b159b..6ed1cb7 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 -path "./Documentation*" -not -path "./.*" -print0 | cpio --null -pdlu $kerneldir + find . -depth -not -name "*.cmd" -not -name "*.o" -not -path "./Documentation*" -not -path "./source*" -not -path "./.*" -print0 | cpio --null -pdlu $kerneldir cp .config $kerneldir if [ "${S}" != "${B}" ]; then pwd="$PWD"