[OE-core] [PATCH] kernel-devsrc: Use full mrproper to clean

Burton, Ross ross.burton at intel.com
Tue Dec 12 11:57:07 UTC 2017


This breaks some of the sanity tests, which build a kernel module:

https://autobuilder.yocto.io/builders/nightly-x86-64/builds/664

Ross

On 5 December 2017 at 23:00, Saul Wold <sgw at linux.intel.com> wrote:

> By using the full mrproper clean target it also removes some generated
> files
> that are not required on the target to build. It also helps to fix
> reprodudible
> builds as the generated files could have different permissions causing the
> check to fail.
>
> Tested with building and booting kernel from source on the target
>
> [YOCTO #12137]
>
> Signed-off-by: Saul Wold <sgw at linux.intel.com>
> ---
>  meta/recipes-kernel/linux/kernel-devsrc.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb
> b/meta/recipes-kernel/linux/kernel-devsrc.bb
> index c1b5b7786d7..d925a33aeb1 100644
> --- a/meta/recipes-kernel/linux/kernel-devsrc.bb
> +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
> @@ -52,7 +52,7 @@ do_install() {
>          # The main build artifacts. We clean the directory to avoid QA
> errors on mismatched
>          # architecture (since scripts and helpers are native format).
>          KBUILD_OUTPUT="$kerneldir"
> -        oe_runmake -C $kerneldir CC="${KERNEL_CC}" LD="${KERNEL_LD}"
> clean _mrproper_scripts
> +        oe_runmake -C $kerneldir CC="${KERNEL_CC}" LD="${KERNEL_LD}"
> clean mrproper
>          # make clean generates an absolute path symlink called "source"
>          # in $kerneldir points to $kerneldir, which doesn't make any
>          # sense, so remove it.
> --
> 2.13.6
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20171212/e7abb7a1/attachment-0002.html>


More information about the Openembedded-core mailing list