mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-18 14:38:26 +02:00
add a gzipped uImage for ar71xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12453 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7ed16efdcd
commit
29c4ca9a9f
@ -13,6 +13,11 @@ define Image/BuildKernel
|
|||||||
$(STAGING_DIR_HOST)/bin/lzma e $(KDIR)/vmlinux $(KDIR)/vmlinux.bin.l7
|
$(STAGING_DIR_HOST)/bin/lzma e $(KDIR)/vmlinux $(KDIR)/vmlinux.bin.l7
|
||||||
dd if=$(KDIR)/vmlinux.bin.l7 of=$(BIN_DIR)/openwrt-$(BOARD)-vmlinux.lzma bs=65536 conv=sync
|
dd if=$(KDIR)/vmlinux.bin.l7 of=$(BIN_DIR)/openwrt-$(BOARD)-vmlinux.lzma bs=65536 conv=sync
|
||||||
dd if=$(KDIR)/vmlinux.bin.gz of=$(BIN_DIR)/openwrt-$(BOARD)-vmlinux.gz bs=65536 conv=sync
|
dd if=$(KDIR)/vmlinux.bin.gz of=$(BIN_DIR)/openwrt-$(BOARD)-vmlinux.gz bs=65536 conv=sync
|
||||||
|
$(STAGING_DIR_HOST)/bin/lzma e $(KDIR)/vmlinux $(KDIR)/vmlinux.lzma
|
||||||
|
mkimage -A mips -O linux -T kernel -a 0x80060000 -C gzip -e \
|
||||||
|
0x80060000 \
|
||||||
|
-n 'MIPS OpenWrt Linux-$(LINUX_VERSION)' \
|
||||||
|
-d $(KDIR)/vmlinux.bin.gz $(BIN_DIR)/openwrt-$(BOARD)-uImage.gz
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/squashfs
|
define Image/Build/squashfs
|
||||||
|
Loading…
Reference in New Issue
Block a user