summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 $@