summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-09-27 12:37:45 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-09-27 12:37:45 +0200
commita0b6710b88e7423a8f76a4b35a4a34fc55f3dead (patch)
tree65c92e609778ff55c582715fadccd09015097e04
parentfa0d2d142ce827736881ba52ba1bfa0c6bce9122 (diff)
downloadbuildroot-novena-a0b6710b88e7423a8f76a4b35a4a34fc55f3dead.tar.gz
buildroot-novena-a0b6710b88e7423a8f76a4b35a4a34fc55f3dead.zip
u-boot: pass ARCH/CROSS_COMPILE when running make <board>_config
Gets rid of a bunch of (ignored) errors about missing cross compiler. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--boot/u-boot/u-boot.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot/u-boot/u-boot.mk b/boot/u-boot/u-boot.mk
index 7b6b2ce63..f97674ada 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 $@