summaryrefslogtreecommitdiffstats
path: root/meta/classes
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:27:26 +0100
commitb3a4864de6a391f352181f923c5a73fb81e2b508 (patch)
tree85d843e4d28b26dd500ee9525b8a803f472631a0 /meta/classes
parenta272d989a980749445e19846177f2a5968e04188 (diff)
downloadpoky-b3a4864de6a391f352181f923c5a73fb81e2b508.tar.gz
kernel.bbclass: Ensure kernel/* internal sysroot working directory don't get packaged
This removes a couple of megabytes of QA warnings! (From OE-Core rev: 69c2f6f7a9133cc8d64560fefa42e5852322f716) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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() {
168 done 168 done
169} 169}
170 170
171PACKAGE_PREPROCESS_FUNCS += "kernel_package_preprocess"
172
173kernel_package_preprocess () {
174 rm -rf ${PKGD}/kernel
175}
176
171sysroot_stage_all_append() { 177sysroot_stage_all_append() {
172 sysroot_stage_dir ${D}/kernel ${SYSROOT_DESTDIR}/kernel 178 sysroot_stage_dir ${D}/kernel ${SYSROOT_DESTDIR}/kernel
173} 179}