From 69c2f6f7a9133cc8d64560fefa42e5852322f716 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 1 Jul 2011 11:59:38 +0100 Subject: 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 --- meta/classes/kernel.bbclass | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta/classes/kernel.bbclass') 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 } -- cgit v1.2.3