Changeset 31115 for trunk


Ignore:
Timestamp:
2012-03-27T21:38:11+02:00 (4 years ago)
Author:
juhosg
Message:

ar71xx: image: add MkuImage{Gzip,Lzma}/initramfs helpers

File:
1 edited

Legend:

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

    r31114 r31115  
    6969endef 
    7070 
     71define MkuImageLzma/initramfs 
     72        $(call PatchKernelLzma,$(1),$(2)) 
     73        $(call MkuImage,lzma,,$(KDIR_TMP)/vmlinux-$(1).bin.lzma,$(call imgname,initramfs,$(1))-uImage.bin) 
     74endef 
     75 
    7176define MkuImageGzip 
    7277        $(call PatchKernelGzip,$(1),$(2)) 
    7378        $(call MkuImage,gzip,,$(KDIR_TMP)/vmlinux-$(1).bin.gz,$(KDIR_TMP)/vmlinux-$(1).uImage) 
     79endef 
     80 
     81define MkuImageGzip/initramfs 
     82        $(call PatchKernelGzip,$(1),$(2)) 
     83        $(call MkuImage,gzip,,$(KDIR_TMP)/vmlinux-$(1).bin.gz,$(call imgname,initramfs,$(1))-uImage.bin) 
    7484endef 
    7585 
     
    233243 
    234244define Image/Build/AthGzip/initramfs 
    235         $(call MkuImageGzip,$(2),$(3) $(4)) 
    236         $(CP) $(KDIR_TMP)/vmlinux-$(2).uImage $(call imgname,$(1),$(2))-uImage.bin 
     245        $(call MkuImageGzip/initramfs,$(2),$(3) $(4)) 
    237246endef 
    238247 
     
    243252 
    244253define Image/Build/AthLzma/initramfs 
    245         $(call MkuImageLzma,$(2),$(3) $(4)) 
    246         $(CP) $(KDIR_TMP)/vmlinux-$(2).uImage $(call imgname,$(1),$(2))-uImage.bin 
     254        $(call MkuImageLzma/initramfs,$(2),$(3) $(4)) 
    247255endef 
    248256 
Note: See TracChangeset for help on using the changeset viewer.