[meta-freescale] [meta-fsl-arm][PATCH 1] imx-test: Fix the compile command

Daiane Angolini daiane.list at gmail.com
Thu Jun 27 06:52:48 PDT 2013


On Wed, Jun 12, 2013 at 3:07 PM, Daiane Angolini
<daiane.angolini at freescale.com> wrote:
> It includes the same INCLUDE_DIR from imx-lib
>
> Change-Id: Ie2a5aeff621a6c333e14d24a8c0e78a7b72ba50c
> Signed-off-by: Daiane Angolini <daiane.angolini at freescale.com>

Otavio,

Could you, please, apply this patch on dylan?

Daiane

> ---
>  recipes-bsp/imx-test/imx-test.inc |    7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-bsp/imx-test/imx-test.inc b/recipes-bsp/imx-test/imx-test.inc
> index 20c65ec..ab0c6e2 100644
> --- a/recipes-bsp/imx-test/imx-test.inc
> +++ b/recipes-bsp/imx-test/imx-test.inc
> @@ -15,10 +15,15 @@ SRC_URI = "${FSL_MIRROR}/imx-test-${PV}.tar.gz \
>             file://clocks.sh \
>             file://mxc_x11_test-exclude-IMX-5-6-platforms.patch"
>
> +INCLUDE_DIR="-I${STAGING_INCDIR} \
> +             -I${STAGING_KERNEL_DIR}/include \
> +             -I${STAGING_KERNEL_DIR}/drivers/mxc/security/rng/include \
> +             -I${STAGING_KERNEL_DIR}/drivers/mxc/security/sahara2/include"
>
>  do_compile() {
>          LDFLAGS="" make PLATFORM=${PLATFORM} LINUXPATH=${STAGING_KERNEL_DIR} \
> -        KBUILD_OUTPUT=${STAGING_KERNEL_DIR} CROSS_COMPILE=${TARGET_PREFIX} V=1
> +        KBUILD_OUTPUT=${STAGING_KERNEL_DIR} CROSS_COMPILE=${TARGET_PREFIX} V=1 \
> +        INC="${INCLUDE_DIR}"
>  }
>
>  do_install() {
> --
> 1.7.10.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