Changeset 29971 for trunk


Ignore:
Timestamp:
2012-01-31T19:36:54+01:00 (5 years ago)
Author:
juhosg
Message:

ar71xx: compress kernel binaries in Image/Prepare stage

The lzma compressed kernel is used by one of the loaders.

File:
1 edited

Legend:

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

    r29935 r29971  
    123123        cp $(KDIR)/vmlinux.elf $(VMLINUX).elf 
    124124        cp $(KDIR)/vmlinux $(VMLINUX).bin 
    125         gzip -9 -c $(KDIR)/vmlinux > $(KDIR)/vmlinux.bin.gz 
    126         $(call CompressLzma,$(KDIR)/vmlinux,$(KDIR)/vmlinux.bin.lzma) 
    127125        dd if=$(KDIR)/vmlinux.bin.lzma of=$(VMLINUX).lzma bs=65536 conv=sync 
    128126        dd if=$(KDIR)/vmlinux.bin.gz of=$(VMLINUX).gz bs=65536 conv=sync 
     
    10651063 
    10661064define Image/Prepare 
     1065        gzip -9 -c $(KDIR)/vmlinux > $(KDIR)/vmlinux.bin.gz 
     1066        $(call CompressLzma,$(KDIR)/vmlinux,$(KDIR)/vmlinux.bin.lzma) 
    10671067        $(call Image/Build/Profile/Default,loader) 
    10681068endef 
Note: See TracChangeset for help on using the changeset viewer.