summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorMing Liu <ming.liu@windriver.com>2014-04-01 02:57:15 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-25 17:12:01 +0100
commitedb85a9589be54a1e9c980aa669a380222a76cf4 (patch)
tree152025d17f1f3828069c9fc99f29cea07298711a /meta
parent99cc96eaee28bfde89096689b1296d28937ead88 (diff)
downloadopenembedded-core-edb85a9589be54a1e9c980aa669a380222a76cf4.tar.gz
openembedded-core-edb85a9589be54a1e9c980aa669a380222a76cf4.tar.bz2
openembedded-core-edb85a9589be54a1e9c980aa669a380222a76cf4.zip
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. Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 19b159b492..6ed1cb73c8 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"