From: Felix Fietkau Date: Tue, 5 Aug 2008 01:01:27 +0000 (+0000) Subject: only build avr32 u-boot if requested, fixes build failure in default config X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=05014415c10dc16db60f98e06fb49f86ca68600c;p=openwrt%2Fstaging%2Fthess.git only build avr32 u-boot if requested, fixes build failure in default config SVN-Revision: 12116 --- diff --git a/target/linux/avr32/image/Makefile b/target/linux/avr32/image/Makefile index 2cef2653bf..c74efbe1df 100644 --- a/target/linux/avr32/image/Makefile +++ b/target/linux/avr32/image/Makefile @@ -8,13 +8,15 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk -define Build/Clean +ifneq ($(CONFIG_AVR32_UBOOT),) + define Build/Clean $(MAKE) -C u-boot clean -endef + endef -define Build/Compile + define Build/Compile $(MAKE) -C u-boot compile -endef + endef +endif define Image/Prepare cp $(LINUX_DIR)/arch/avr32/boot/images/uImage $(KDIR)/uImage