diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-25 16:22:47 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-25 16:22:47 +0000 |
commit | 804160e05c599701b0c41727003b62ab54dff467 (patch) | |
tree | d313dbc1bc8e5ed41ec0bb1d12cb8939a41a26d7 /target | |
parent | 1fddf3aa2f429a0f99374b2072586a2f66934a7b (diff) | |
download | openwrt-804160e05c599701b0c41727003b62ab54dff467.tar.gz openwrt-804160e05c599701b0c41727003b62ab54dff467.zip |
AA: ar71xx: use custom LZMA dictionary size for WNDR3700 images
Backport of r34248.
Based on a patch by Hannu Nyman.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34360 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/image/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 48893e6aa..dbda865ec 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -69,13 +69,13 @@ ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) endif define CompressLzma - $(STAGING_DIR_HOST)/bin/lzma e $(1) -lc1 -lp2 -pb2 $(2) + $(STAGING_DIR_HOST)/bin/lzma e $(1) -lc1 -lp2 -pb2 $(3) $(2) endef define PatchKernelLzma cp $(KDIR)/vmlinux $(KDIR_TMP)/vmlinux-$(1) $(STAGING_DIR_HOST)/bin/patch-cmdline $(KDIR_TMP)/vmlinux-$(1) "$(strip $(2))" - $(call CompressLzma,$(KDIR_TMP)/vmlinux-$(1),$(KDIR_TMP)/vmlinux-$(1).bin.lzma) + $(call CompressLzma,$(KDIR_TMP)/vmlinux-$(1),$(KDIR_TMP)/vmlinux-$(1).bin.lzma,$(3)) endef define PatchKernelGzip @@ -91,7 +91,7 @@ define MkuImage endef define MkuImageLzma - $(call PatchKernelLzma,$(1),$(2)) + $(call PatchKernelLzma,$(1),$(2),$(3)) $(call MkuImage,lzma,,$(KDIR_TMP)/vmlinux-$(1).bin.lzma,$(KDIR_TMP)/vmlinux-$(1).uImage) endef @@ -579,7 +579,7 @@ define Image/Build/CyberTAN endef define Image/Build/Netgear/Build_uImage - $(call MkuImageLzma,$(1),$(2) $(3)) + $(call MkuImageLzma,$(1),$(2) $(3),-d20) -rm -rf $(KDIR)/$(1) mkdir -p $(KDIR)/$(1)/image $(STAGING_DIR_HOST)/bin/wndr3700 \ |