[meta-freescale] [PATCH 3/4] imx-test: Fix build with the work-shared kernel source

Daiane Angolini daiane.list at gmail.com
Tue Jan 20 07:26:14 PST 2015


On Tue, Jan 20, 2015 at 9:33 AM, Otavio Salvador
<otavio at ossystems.com.br> wrote:
> The Kernel sources has now been moved out of sstate control and to
> make this easier to spot this has been moved to tmp/work-shared/
> directory.
>
> One good consequence of this change is that the built artifacts are
> controlled by the Linux build system itself and its path is now
> exported in STAGING_KERNEL_BUILDDIR variable.
>
> This path adapts the build params to this new layout.
>


I don't have comments on the patch, only one question.

Did you make this change in a separate patch because you're planning
to backport the other fixes? And this one are only needed in
master/1.8?

Thanks
Daiane

> Change-Id: Ie27ef289aa3ae4c2593303ccbc450e0fd53b49cd
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ---
>  recipes-bsp/imx-test/imx-test.inc | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-bsp/imx-test/imx-test.inc b/recipes-bsp/imx-test/imx-test.inc
> index 6e41f61..cba72f5 100644
> --- a/recipes-bsp/imx-test/imx-test.inc
> +++ b/recipes-bsp/imx-test/imx-test.inc
> @@ -41,13 +41,15 @@ do_compile() {
>                 CROSS_COMPILE=${TARGET_PREFIX} \
>                 INC="-I${STAGING_INCDIR} \
>                      -I${S}/include \
> +                    -I${STAGING_KERNEL_BUILDDIR}/include/uapi \
> +                    -I${STAGING_KERNEL_BUILDDIR}/include \
>                      -I${STAGING_KERNEL_DIR}/include/uapi \
>                      -I${STAGING_KERNEL_DIR}/include \
>                      -I${STAGING_KERNEL_DIR}/arch/arm/include \
>                      -I${STAGING_KERNEL_DIR}/drivers/mxc/security/rng/include \
>                      -I${STAGING_KERNEL_DIR}/drivers/mxc/security/sahara2/include" \
>                 LINUXPATH=${STAGING_KERNEL_DIR} \
> -               KBUILD_OUTPUT=${STAGING_KERNEL_DIR} \
> +               KBUILD_OUTPUT=${STAGING_KERNEL_BUILDDIR} \
>                 PLATFORM=${PLATFORM}
>  }
>
> --
> 2.1.4
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


More information about the meta-freescale mailing list