[Buildroot] [git commit master 1/1] u-boot: pass ARCH/CROSS_COMPILE when running make <board>_config
Peter Korsgaard
jacmet at sunsite.dk
Mon Sep 27 15:55:18 UTC 2010
commit: http://git.buildroot.net/buildroot/commit/?id=a0b6710b88e7423a8f76a4b35a4a34fc55f3dead
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Gets rid of a bunch of (ignored) errors about missing cross compiler.
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
boot/u-boot/u-boot.mk | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/boot/u-boot/u-boot.mk b/boot/u-boot/u-boot.mk
index 7b6b2ce..f97674a 100644
--- a/boot/u-boot/u-boot.mk
+++ b/boot/u-boot/u-boot.mk
@@ -88,7 +88,8 @@ ifeq ($(U_BOOT_BOARD_NAME),)
endif
$(TARGET_CONFIGURE_OPTS) \
$(U_BOOT_CONFIGURE_OPTS) \
- $(MAKE) -C $(U_BOOT_DIR) \
+ $(MAKE) -C $(U_BOOT_DIR) \
+ CROSS_COMPILE="$(TARGET_CROSS)" ARCH=$(U_BOOT_ARCH) \
$(U_BOOT_BOARD_NAME)_config
touch $@
--
1.7.1
More information about the buildroot
mailing list