Changeset 34248


Ignore:
Timestamp:
2012-11-18T21:25:13+01:00 (5 years ago)
Author:
juhosg
Message:

ar71xx: use custom LZMA dictionary size for WNDR3700 images

Based on a patch by Hannu Nyman.

Signed-off-by: Gabor Juhos <juhosg@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/image/Makefile

    r34237 r34248  
    7070 
    7171define CompressLzma 
    72   $(STAGING_DIR_HOST)/bin/lzma e $(1) -lc1 -lp2 -pb2 $(2) 
     72  $(STAGING_DIR_HOST)/bin/lzma e $(1) -lc1 -lp2 -pb2 $(3) $(2) 
    7373endef 
    7474 
     
    7676        cp $(KDIR)/vmlinux $(KDIR_TMP)/vmlinux-$(1) 
    7777        $(STAGING_DIR_HOST)/bin/patch-cmdline $(KDIR_TMP)/vmlinux-$(1) "$(strip $(2))" 
    78         $(call CompressLzma,$(KDIR_TMP)/vmlinux-$(1),$(KDIR_TMP)/vmlinux-$(1).bin.lzma) 
     78        $(call CompressLzma,$(KDIR_TMP)/vmlinux-$(1),$(KDIR_TMP)/vmlinux-$(1).bin.lzma,$(3)) 
    7979endef 
    8080 
     
    9292 
    9393define MkuImageLzma 
    94         $(call PatchKernelLzma,$(1),$(2)) 
     94        $(call PatchKernelLzma,$(1),$(2),$(3)) 
    9595        $(call MkuImage,lzma,,$(KDIR_TMP)/vmlinux-$(1).bin.lzma,$(KDIR_TMP)/vmlinux-$(1).uImage) 
    9696endef 
     
    580580 
    581581define Image/Build/Netgear/Build_uImage 
    582         $(call MkuImageLzma,$(1),$(2) $(3)) 
     582        $(call MkuImageLzma,$(1),$(2) $(3),-d20) 
    583583        -rm -rf $(KDIR)/$(1) 
    584584        mkdir -p $(KDIR)/$(1)/image 
Note: See TracChangeset for help on using the changeset viewer.