From: Peter Korsgaard Date: Mon, 27 Sep 2010 10:37:45 +0000 (+0200) Subject: u-boot: pass ARCH/CROSS_COMPILE when running make _config X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a0b6710b88e7423a8f76a4b35a4a34fc55f3dead;p=buildroot.git u-boot: pass ARCH/CROSS_COMPILE when running make _config Gets rid of a bunch of (ignored) errors about missing cross compiler. Signed-off-by: Peter Korsgaard --- diff --git a/boot/u-boot/u-boot.mk b/boot/u-boot/u-boot.mk index 7b6b2ce632..f97674ada6 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 $@