summaryrefslogtreecommitdiff
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-01 11:59:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-01 23:13:44 +0100
commit69c2f6f7a9133cc8d64560fefa42e5852322f716 (patch)
tree3d9052e19bef5755d8ac1fe1a5a0f9aebc9d7044 /meta/classes/kernel.bbclass
parent9e8bc7b5834578f325c5777bf196dc834ca406c3 (diff)
downloadopenembedded-core-69c2f6f7a9133cc8d64560fefa42e5852322f716.tar.gz
openembedded-core-69c2f6f7a9133cc8d64560fefa42e5852322f716.tar.bz2
openembedded-core-69c2f6f7a9133cc8d64560fefa42e5852322f716.zip
kernel.bbclass: Ensure kernel/* internal sysroot working directory don't get packaged
This removes a couple of megabytes of QA warnings! Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index f282a57f6d..6700d0e8ee 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -168,6 +168,12 @@ kernel_do_install() {
done
}
+PACKAGE_PREPROCESS_FUNCS += "kernel_package_preprocess"
+
+kernel_package_preprocess () {
+ rm -rf ${PKGD}/kernel
+}
+
sysroot_stage_all_append() {
sysroot_stage_dir ${D}/kernel ${SYSROOT_DESTDIR}/kernel
}