Hello,

Please ignore my previous patch. I saw a fix is already merged in
'meta-fsl-arm' fsl-kernel-localversion bbclass.

Thanks,
Srikant

On Wed, Aug 10, 2016 at 8:04 PM, srikanth krishnakar <[email protected]>
wrote:

>
> Hello,
>
> The below patch fixes the build error seen in linux-ls1 recipe due to
> latest upstream changes:
>
>
> From df2c3016b4d46cc521c75c90c85abf34f56f1171 Mon Sep 17 00:00:00 2001
> From: Srikanth Krishnakar <[email protected]>
> Date: Wed, 10 Aug 2016 19:49:21 +0530
> Subject: [PATCH] linux-ls1: Fix do_preconfigure failure
>
> The default 'dirs' for tasks just changed. That task assumes "B"
> exists, but doesn't add "B" to its 'dirs' flag to fix the task.
>
> Fixes the following error:
> run.do_preconfigure.24167: cannot create <WORKDIR>/build/.config: \
> Directory nonexistent
>
> Signed-off-by: Srikanth Krishnakar <[email protected]>
> ---
>  recipes-kernel/linux/linux-ls1.inc | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/recipes-kernel/linux/linux-ls1.inc
> b/recipes-kernel/linux/linux-ls1.inc
> index 85b5391..e27fa9d 100644
> --- a/recipes-kernel/linux/linux-ls1.inc
> +++ b/recipes-kernel/linux/linux-ls1.inc
> @@ -21,6 +21,8 @@ ZIMAGE_BASE_NAME[vardepsexclude] = "DATETIME"
>
>  S = "${WORKDIR}/git"
>
> +do_preconfigure[dirs] += "${B}"
> +
>  do_install_append() {
>      install -m 0644 arch/${ARCH}/boot/zImage ${D}/boot/zImage-${KERNEL_
> VERSION}
>  }
> --
> 2.7.4
>
>
-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to