[oe-commits] [openembedded-core] 17/57: kernel.bbclass: Add cleandirs for do_shared_workdir

git at git.openembedded.org git at git.openembedded.org
Sat Dec 9 14:44:09 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit d52a65d3d8512eeb5081d9fb5f18805428358241
Author: Saul Wold <sgw at linux.intel.com>
AuthorDate: Mon Nov 27 11:01:54 2017 -0800

    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 at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/kernel.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 756707a..7ef4f47 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}
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list