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>
This commit is contained in:
Richard Purdie 2011-07-01 11:59:38 +01:00
parent a272d989a9
commit b3a4864de6
1 changed files with 6 additions and 0 deletions

View File

@ -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
}