]> code.ossystems Code Review - meta-freescale.git/commitdiff
u-boot-fslc: Avoid native binary builds
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 30 Sep 2013 14:06:43 +0000 (11:06 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 1 Oct 2013 02:18:25 +0000 (23:18 -0300)
The 'tools' directory build native binaries and we ought to avoid them
when doing a target build.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc_2013.10.bb

index 158c9ea8252b60d0a91c1ec3cd30dd4c7dbb16f0..d6591fb09fd2c50d60f5e33ce5a8e98a2fe8c642 100644 (file)
@@ -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}"