[OE-core] [PATCH 3/3] u-boot: make sure CROSS_COMPILE is passed into build

Paul Gortmaker paul.gortmaker at windriver.com
Fri Jun 29 18:35:15 UTC 2012


The u-boot build system expects this, otherwise it will
choose from its own internal defaults.  In the case of
powerpc, we'll see it look for "ppc_8xx-gcc" and fail.

Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
---
 meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb b/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
index 25cc8c9..b37fe01 100644
--- a/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
+++ b/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
@@ -26,3 +26,6 @@ SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
 S = "${WORKDIR}/git"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+# u-boot expects this to indicate what toolchain to use
+EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
-- 
1.7.9.6





More information about the Openembedded-core mailing list