[OE-core] [PATCH v2] kernel.bbclass: Add cleandirs for do_shared_workdir
Bruce Ashfield
bruce.ashfield at gmail.com
Mon Nov 27 19:02:58 UTC 2017
On Mon, Nov 27, 2017 at 2:01 PM, Saul Wold <sgw at linux.intel.com> wrote:
> 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.
>
Looks good!
Cheers,
Bruce
>
> [YOCTO #11880]
>
> Signed-off-by: Saul Wold <sgw at linux.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 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}
>
> --
> 2.13.6
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20171127/b2056e14/attachment-0002.html>
More information about the Openembedded-core
mailing list