summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-23 20:45:28 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-23 21:08:01 +0100
commit09b24cc65c9f8b89c06a60cc5320e22df8d4880c (patch)
tree057912ec3fb4e48479817b960b7bd13f4741ed54
parentceb1f13c03929869842a5f36ea787111c31da906 (diff)
downloadtizen-distro-09b24cc65c9f8b89c06a60cc5320e22df8d4880c.tar.gz
tizen-distro-09b24cc65c9f8b89c06a60cc5320e22df8d4880c.tar.bz2
tizen-distro-09b24cc65c9f8b89c06a60cc5320e22df8d4880c.zip
kernel.bbclass: Stop do_install poking directly into the sysroot and evading sstate
do_install was putting files directly into the sysroot which means sstate had no knowledge of them. This meant they didn't get cleaned along with the other files from the task amongst other issues. This patch puts them in ${D} where they were supposted to be. Tested-by: Tom Rini <tom_rini@mentor.com> (From OE-Core rev: 983197c10104bbbcb6cfd6e923a3bf11152b3001) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 2cbe64e636..fd27832510 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -119,7 +119,7 @@ kernel_do_install() {
# Support for external module building - create a minimal copy of the
# kernel source tree.
#
- kerneldir=${STAGING_KERNEL_DIR}
+ kerneldir=${D}/kernel
install -d $kerneldir
#