summaryrefslogtreecommitdiffstats
path: root/meta-oe/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-01 11:59:38 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2011-07-01 16:28:32 +0200
commitefdd3bd9cfbb3efb708cb5450961fc947ae3cf6d (patch)
tree1899003586dcf7c9440df7cb287c613110bbd278 /meta-oe/classes
parent17a1e10628baab23753aa20ba588151f8314df1e (diff)
downloadmeta-openembedded-efdd3bd9cfbb3efb708cb5450961fc947ae3cf6d.tar.gz
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> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/classes')
-rw-r--r--meta-oe/classes/kernel.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass
index 9c992652f..2d051f432 100644
--- a/meta-oe/classes/kernel.bbclass
+++ b/meta-oe/classes/kernel.bbclass
@@ -181,6 +181,12 @@ kernel_do_install() {
181 done 181 done
182} 182}
183 183
184PACKAGE_PREPROCESS_FUNCS += "kernel_package_preprocess"
185
186kernel_package_preprocess () {
187 rm -rf ${PKGD}/kernel
188}
189
184sysroot_stage_all_append() { 190sysroot_stage_all_append() {
185 sysroot_stage_dir ${D}/kernel ${SYSROOT_DESTDIR}/kernel 191 sysroot_stage_dir ${D}/kernel ${SYSROOT_DESTDIR}/kernel
186} 192}