diff options
author | Saul Wold <sgw@linux.intel.com> | 2017-11-27 11:01:54 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-09 14:36:58 +0000 |
commit | d52a65d3d8512eeb5081d9fb5f18805428358241 (patch) | |
tree | 54650025887b58a8ec71a73b9d27f12628dd9ac8 /meta/classes/kernel.bbclass | |
parent | d58c20fd45f4808cbc1726ec5b46edb1c60b9cf8 (diff) | |
download | openembedded-core-contrib-d52a65d3d8512eeb5081d9fb5f18805428358241.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]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r-- | meta/classes/kernel.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 756707a3c25..7ef4f47981c 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} |