From: Otavio Salvador Date: Mon, 30 Sep 2013 14:06:43 +0000 (-0300) Subject: u-boot-fslc: Avoid native binary builds X-Git-Tag: 2.1~1186 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=3cb7cb2470e7dfa12f6262b2387ee2f07ae2b3c5;p=meta-freescale.git u-boot-fslc: Avoid native binary builds The 'tools' directory build native binaries and we ought to avoid them when doing a target build. Signed-off-by: Otavio Salvador --- diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc_2013.10.bb b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc_2013.10.bb index 158c9ea8..d6591fb0 100644 --- a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc_2013.10.bb +++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc_2013.10.bb @@ -15,4 +15,9 @@ SRC_URI = "git://github.com/Freescale/u-boot-imx.git" S = "${WORKDIR}/git" +do_configure_prepend() { + # FIXME: Ensure we don't do host binaries build + sed -i 's,SUBDIR_TOOLS = tools,SUBDIR_TOOLS = #tools,g' ${S}/Makefile +} + PACKAGE_ARCH = "${MACHINE_ARCH}"