1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 07:51:55 +02:00

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12116 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-08-05 01:01:27 +00:00
parent 915064ef9a
commit f5de719250

View File

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