aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-12-15 08:32:04 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-12-15 08:32:04 +0000
commite643c26169a561876ad083124abdd0163a6ecc8d (patch)
treea2bf36130b8e7a04740a0d4b0b6966f3fef36015 /target/linux/ar71xx/image
parentf63a6e0d565950140235ad795e885169f8d165b4 (diff)
downloadupstream-e643c26169a561876ad083124abdd0163a6ecc8d.tar.gz
upstream-e643c26169a561876ad083124abdd0163a6ecc8d.tar.bz2
upstream-e643c26169a561876ad083124abdd0163a6ecc8d.zip
tew-632brp: use LZMA compressed uImage
SVN-Revision: 13645
Diffstat (limited to 'target/linux/ar71xx/image')
-rw-r--r--target/linux/ar71xx/image/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index a9c7dd679f..3950b0b52e 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -39,14 +39,14 @@ endef
define Image/Build/AP81
cp $(KDIR)/vmlinux $(KDIR)/vmlinux-$(2)
$(STAGING_DIR_HOST)/bin/patch-cmdline $(KDIR)/vmlinux-$(2) '$(strip $(3))'
- gzip -9 -c $(KDIR)/vmlinux-$(2) > $(KDIR)/vmlinux-$(2).bin.gz
- mkimage -A mips -O linux -T kernel -a 0x80060000 -C gzip -e \
+ $(STAGING_DIR_HOST)/bin/lzma e $(KDIR)/vmlinux-$(2) $(KDIR)/vmlinux-$(2).bin.lzma
+ mkimage -A mips -O linux -T kernel -a 0x80060000 -C lzma -e \
0x80060000 \
-n 'MIPS OpenWrt Linux-$(LINUX_VERSION)' \
- -d $(KDIR)/vmlinux-$(2).bin.gz $(KDIR)/vmlinux-$(2).uImage
+ -d $(KDIR)/vmlinux-$(2).bin.lzma $(KDIR)/vmlinux-$(2).uImage
( \
- dd if=$(KDIR)/vmlinux-$(2).uImage bs=1024k conv=sync; \
- dd if=$(KDIR)/root.$(1) bs=2752k conv=sync; \
+ dd if=$(KDIR)/vmlinux-$(2).uImage bs=768k conv=sync; \
+ dd if=$(KDIR)/root.$(1) bs=3008k conv=sync; \
) > $(call imgname,$(1),$(2)).bin
cp $(call imgname,$(1),$(2)).bin $(call imgname,$(1),$(2)).webui
echo -n $(4) >> $(call imgname,$(1),$(2)).webui