From a0b6710b88e7423a8f76a4b35a4a34fc55f3dead Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 27 Sep 2010 12:37:45 +0200 Subject: 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 --- boot/u-boot/u-boot.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'boot') 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 $@ -- cgit v1.2.3