1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-27 13:46:26 +02:00

add-u-boot-to-Makefile.patch

This commit is contained in:
xiangfu 2009-07-09 00:59:02 +08:00 committed by Xiangfu Liu
parent 5a7d04b885
commit 89d4c701da

View File

@ -7,6 +7,16 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
ifneq ($(CONFIG_XBURST_UBOOT),)
define Build/Clean
$(MAKE) -C u-boot clean
endef
define Build/Compile
$(MAKE) -C u-boot compile
endef
endif
define Image/BuildKernel
cp $(KDIR)/vmlinux.elf $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.elf
gzip -9 -c $(KDIR)/vmlinux > $(KDIR)/vmlinux.bin.gz