diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-09-27 12:37:45 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-09-27 12:37:45 +0200 |
commit | a0b6710b88e7423a8f76a4b35a4a34fc55f3dead (patch) | |
tree | 65c92e609778ff55c582715fadccd09015097e04 /boot/u-boot/u-boot.mk | |
parent | fa0d2d142ce827736881ba52ba1bfa0c6bce9122 (diff) |
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>
Diffstat (limited to 'boot/u-boot/u-boot.mk')
-rw-r--r-- | 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 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 $@ |