only build avr32 u-boot if requested, fixes build failure in default config

SVN-Revision: 12116
This commit is contained in:
Felix Fietkau 2008-08-05 01:01:27 +00:00
parent 56172a1eba
commit 05014415c1

View file

@ -8,6 +8,7 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
ifneq ($(CONFIG_AVR32_UBOOT),)
define Build/Clean
$(MAKE) -C u-boot clean
endef
@ -15,6 +16,7 @@ endef
define Build/Compile
$(MAKE) -C u-boot compile
endef
endif
define Image/Prepare
cp $(LINUX_DIR)/arch/avr32/boot/images/uImage $(KDIR)/uImage