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>
This commit is contained in:
Richard Purdie 2011-07-01 11:59:38 +01:00 committed by Koen Kooi
parent 17a1e10628
commit efdd3bd9cf

View File

@ -181,6 +181,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
}