From: Saul Wold Date: Mon, 27 Nov 2017 19:01:54 +0000 (-0800) Subject: kernel.bbclass: Add cleandirs for do_shared_workdir X-Git-Tag: uninative-1.8~969 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d52a65d3d8512eeb5081d9fb5f18805428358241;p=openembedded-core.git kernel.bbclass: Add cleandirs for do_shared_workdir We add the kernel-build-artifacts to the cleandirs list to ensure that there are no remaining artificats in the kernel-build-artifacts directory which is STAGING_KERNEL_BUILDDIR. Without this change multiple System.map files are visiable in the STAGING_KERNEL_BUILDDIR, which could cause problems for some tools. [YOCTO #11880] Signed-off-by: Saul Wold Signed-off-by: Ross Burton --- diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 756707a3c2..7ef4f47981 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -400,6 +400,7 @@ emit_depmod_pkgdata() { PACKAGEFUNCS += "emit_depmod_pkgdata" +do_shared_workdir[cleandirs] += " ${STAGING_KERNEL_BUILDDIR}" do_shared_workdir () { cd ${B}