mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-28 07:06:27 +02:00
add-u-boot-to-Makefile.patch
This commit is contained in:
parent
5a7d04b885
commit
89d4c701da
@ -7,6 +7,16 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
include $(INCLUDE_DIR)/image.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
|
define Image/BuildKernel
|
||||||
cp $(KDIR)/vmlinux.elf $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.elf
|
cp $(KDIR)/vmlinux.elf $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.elf
|
||||||
gzip -9 -c $(KDIR)/vmlinux > $(KDIR)/vmlinux.bin.gz
|
gzip -9 -c $(KDIR)/vmlinux > $(KDIR)/vmlinux.bin.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user