aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-11-25 09:51:33 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-11-25 09:51:33 +0000
commit8c73f6a522f13b6e2f2c64bcd35322a24ec346bc (patch)
tree8fd1fa31b84f0fc51d165b1ca315b46e28fc8f85
parentce7b62df3b3ac9a6a1caf26e2577d4e0f504a11e (diff)
downloadupstream-8c73f6a522f13b6e2f2c64bcd35322a24ec346bc.tar.gz
upstream-8c73f6a522f13b6e2f2c64bcd35322a24ec346bc.tar.bz2
upstream-8c73f6a522f13b6e2f2c64bcd35322a24ec346bc.zip
ar71xx: use MkImageLzma template for Ubiquiti XM devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18534 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/image/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index b61524ecdb..db57ed4e83 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -141,11 +141,7 @@ endef
ubntxm_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1024k(kernel),6528k(rootfs),256k(cfg)ro,64k(EEPROM)ro,7552k@0x50000(firmware)
define Image/Build/UBNTXM
$(call PatchKernelLzma,$(2),$(3) $(ubntxm_mtdlayout))
- mkimage -A mips -O linux -T kernel -a 0x80060000 -C lzma -e \
- 0x80060000 \
- -n 'MIPS OpenWrt Linux-$(LINUX_VERSION)' \
- -d $(KDIR)/vmlinux-$(2).bin.lzma \
- $(KDIR)/vmlinux-$(2).uImage.bin
+ $(call MkImageLzma,$(KDIR)/vmlinux-$(2).bin.lzma,$(KDIR)/vmlinux-$(2).uImage.bin)
dd if=$(KDIR)/vmlinux-$(2).uImage.bin of=$(KDIR)/vmlinux-$(2).uImage bs=1024k conv=sync
-$(STAGING_DIR_HOST)/bin/mkfwimage \
-B $(4) -v $(5).$(6).OpenWrt.$(REVISION) \