From 89d4c701dac58345e4bc10e8394166ab55ee61c6 Mon Sep 17 00:00:00 2001 From: xiangfu Date: Thu, 9 Jul 2009 00:59:02 +0800 Subject: [PATCH] add-u-boot-to-Makefile.patch --- target/linux/xburst/image/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/target/linux/xburst/image/Makefile b/target/linux/xburst/image/Makefile index b3b9a3dc3..ed68c134d 100644 --- a/target/linux/xburst/image/Makefile +++ b/target/linux/xburst/image/Makefile @@ -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