summaryrefslogtreecommitdiff
path: root/target/linux/avr32/image/u-boot/Makefile
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-01 01:11:10 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-01 01:11:10 +0000
commit412165bb4192b4598851a05cabc09020903e4304 (patch)
tree742e654585f37a2271f8da787dba9d0e2fec85ca /target/linux/avr32/image/u-boot/Makefile
parente9bc27949d3517d936be28512fe8886cc314f30e (diff)
[avr32] fix u-boot build error (make[...]: avr32-linux-gcc: Command not found)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14702 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/avr32/image/u-boot/Makefile')
-rw-r--r--target/linux/avr32/image/u-boot/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/avr32/image/u-boot/Makefile b/target/linux/avr32/image/u-boot/Makefile
index b7dcd90f66..2d95b87694 100644
--- a/target/linux/avr32/image/u-boot/Makefile
+++ b/target/linux/avr32/image/u-boot/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2008 OpenWrt.org
+# Copyright (C) 2008-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -24,8 +24,7 @@ UBOOT_CONFIG=$(strip $(subst ",, $(CONFIG_AVR32_UBOOT_TARGET)))
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) $(UBOOT_CONFIG)_config
- export CROSS_COMPILE=$(TARGET_CROSS);
- $(MAKE) -C $(PKG_BUILD_DIR)
+ $(MAKE) -C $(PKG_BUILD_DIR) CROSS_COMPILE=$(TARGET_CROSS)
endef
define Build/InstallDev