mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 20:09:55 +02:00
ar71xx: image: add MkuImage{Gzip,Lzma}/initramfs helpers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31115 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3b5a6363a0
commit
bba495fb6f
@ -68,11 +68,21 @@ define MkuImageLzma
|
|||||||
$(call MkuImage,lzma,,$(KDIR_TMP)/vmlinux-$(1).bin.lzma,$(KDIR_TMP)/vmlinux-$(1).uImage)
|
$(call MkuImage,lzma,,$(KDIR_TMP)/vmlinux-$(1).bin.lzma,$(KDIR_TMP)/vmlinux-$(1).uImage)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define MkuImageLzma/initramfs
|
||||||
|
$(call PatchKernelLzma,$(1),$(2))
|
||||||
|
$(call MkuImage,lzma,,$(KDIR_TMP)/vmlinux-$(1).bin.lzma,$(call imgname,initramfs,$(1))-uImage.bin)
|
||||||
|
endef
|
||||||
|
|
||||||
define MkuImageGzip
|
define MkuImageGzip
|
||||||
$(call PatchKernelGzip,$(1),$(2))
|
$(call PatchKernelGzip,$(1),$(2))
|
||||||
$(call MkuImage,gzip,,$(KDIR_TMP)/vmlinux-$(1).bin.gz,$(KDIR_TMP)/vmlinux-$(1).uImage)
|
$(call MkuImage,gzip,,$(KDIR_TMP)/vmlinux-$(1).bin.gz,$(KDIR_TMP)/vmlinux-$(1).uImage)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define MkuImageGzip/initramfs
|
||||||
|
$(call PatchKernelGzip,$(1),$(2))
|
||||||
|
$(call MkuImage,gzip,,$(KDIR_TMP)/vmlinux-$(1).bin.gz,$(call imgname,initramfs,$(1))-uImage.bin)
|
||||||
|
endef
|
||||||
|
|
||||||
define MkuImageOKLI
|
define MkuImageOKLI
|
||||||
$(call MkuImage,lzma,-M 0x4f4b4c49,$(KDIR)/vmlinux.bin.lzma,$(KDIR_TMP)/vmlinux-$(1).okli)
|
$(call MkuImage,lzma,-M 0x4f4b4c49,$(KDIR)/vmlinux.bin.lzma,$(KDIR_TMP)/vmlinux-$(1).okli)
|
||||||
endef
|
endef
|
||||||
@ -232,8 +242,7 @@ define Image/Build/AthGzip
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/AthGzip/initramfs
|
define Image/Build/AthGzip/initramfs
|
||||||
$(call MkuImageGzip,$(2),$(3) $(4))
|
$(call MkuImageGzip/initramfs,$(2),$(3) $(4))
|
||||||
$(CP) $(KDIR_TMP)/vmlinux-$(2).uImage $(call imgname,$(1),$(2))-uImage.bin
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/AthLzma
|
define Image/Build/AthLzma
|
||||||
@ -242,8 +251,7 @@ define Image/Build/AthLzma
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/AthLzma/initramfs
|
define Image/Build/AthLzma/initramfs
|
||||||
$(call MkuImageLzma,$(2),$(3) $(4))
|
$(call MkuImageLzma/initramfs,$(2),$(3) $(4))
|
||||||
$(CP) $(KDIR_TMP)/vmlinux-$(2).uImage $(call imgname,$(1),$(2))-uImage.bin
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/PB4X
|
define Image/Build/PB4X
|
||||||
|
Loading…
Reference in New Issue
Block a user