summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2017-11-27 11:01:54 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-10 22:45:18 +0000
commitf295c1e944f5b9b972930ccac577206fbeb50298 (patch)
tree2b1f91bca2df92fecfae7561850978b2582e687f /meta
parent749ddaaeaa2421e4f58330096e28c6216fd37429 (diff)
downloadpoky-f295c1e944f5b9b972930ccac577206fbeb50298.tar.gz
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] (From OE-Core rev: d52a65d3d8512eeb5081d9fb5f18805428358241) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/kernel.bbclass1
1 files changed, 1 insertions, 0 deletions
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() {
400 400
401PACKAGEFUNCS += "emit_depmod_pkgdata" 401PACKAGEFUNCS += "emit_depmod_pkgdata"
402 402
403do_shared_workdir[cleandirs] += " ${STAGING_KERNEL_BUILDDIR}"
403do_shared_workdir () { 404do_shared_workdir () {
404 cd ${B} 405 cd ${B}
405 406