[meta-freescale] [meta-fsl-arm] [PATCH] linux-ls1 recipe preconfigure failure

srikanth krishnakar skrishnakar at gmail.com
Wed Aug 10 09:25:09 PDT 2016


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 <skrishnakar at gmail.com>
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 <Srikanth_Krishnakar at mentor.com>
> 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 <Srikanth_Krishnakar at mentor.com>
> ---
>  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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20160810/81821e17/attachment.html>


More information about the meta-freescale mailing list