mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
ar71xx: image: simplify oneliner initramfs macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37886
This commit is contained in:
parent
b125a0f6b9
commit
0cdf133d20
@ -294,9 +294,7 @@ define Image/Build/WZRHP64K
|
|||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/WZRHP64K/initramfs
|
Image/Build/WZRHP64K/initramfs=$(call MkuImageLzma/initramfs,$(2),$(3) $(4))
|
||||||
$(call MkuImageLzma/initramfs,$(2),$(3) $(4))
|
|
||||||
endef
|
|
||||||
|
|
||||||
Image/Build/WZRHP128K/buildkernel=$(call MkuImageLzma,$(2),$(3))
|
Image/Build/WZRHP128K/buildkernel=$(call MkuImageLzma,$(2),$(3))
|
||||||
|
|
||||||
@ -317,9 +315,7 @@ define Image/Build/WZRHP128K
|
|||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/WZRHP128K/initramfs
|
Image/Build/WZRHP128K/initramfs=$(call MkuImageLzma/initramfs,$(2),$(3) $(4))
|
||||||
$(call MkuImageLzma/initramfs,$(2),$(3) $(4))
|
|
||||||
endef
|
|
||||||
|
|
||||||
Image/Build/WHRHPG300N/buildkernel=$(call MkuImageLzma,$(2),$(3) $(4))
|
Image/Build/WHRHPG300N/buildkernel=$(call MkuImageLzma,$(2),$(3) $(4))
|
||||||
|
|
||||||
@ -340,9 +336,7 @@ define Image/Build/WHRHPG300N
|
|||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/WHRHPG300N/initramfs
|
Image/Build/WHRHPG300N/initramfs=$(call MkuImageLzma/initramfs,$(2),$(3) $(4))
|
||||||
$(call MkuImageLzma/initramfs,$(2),$(3) $(4))
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Image/Build/Cameo
|
define Image/Build/Cameo
|
||||||
$(call Sysupgrade/KRuImage,$(1),$(2),$(5),$(6))
|
$(call Sysupgrade/KRuImage,$(1),$(2),$(5),$(6))
|
||||||
@ -375,9 +369,7 @@ define Image/Build/Cameo913x
|
|||||||
$(call Image/Build/Cameo,$(1),$(2),$(3),$(cameo913x_mtdlayout),65536,2883584,$(4))
|
$(call Image/Build/Cameo,$(1),$(2),$(3),$(cameo913x_mtdlayout),65536,2883584,$(4))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/Cameo913x/initramfs
|
Image/Build/Cameo913x/initramfs=$(call MkuImageLzma/initramfs,$(2),$(3) $(cameo913x_mtdlayout))
|
||||||
$(call MkuImageLzma/initramfs,$(2),$(3) $(cameo913x_mtdlayout))
|
|
||||||
endef
|
|
||||||
|
|
||||||
Image/Build/Cameo7240/buildkernel=$(call MkuImageLzma,$(2),$(3) $(cameo7240_mtdlayout))
|
Image/Build/Cameo7240/buildkernel=$(call MkuImageLzma,$(2),$(3) $(cameo7240_mtdlayout))
|
||||||
|
|
||||||
@ -385,9 +377,7 @@ define Image/Build/Cameo7240
|
|||||||
$(call Image/Build/Cameo,$(1),$(2),$(3),$(cameo7240_mtdlayout),65536,2752512,$(4))
|
$(call Image/Build/Cameo,$(1),$(2),$(3),$(cameo7240_mtdlayout),65536,2752512,$(4))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/Cameo7240/initramfs
|
Image/Build/Cameo7240/initramfs=$(call MkuImageLzma/initramfs,$(2),$(3) $(cameo7240_mtdlayout))
|
||||||
$(call MkuImageLzma/initramfs,$(2),$(3) $(cameo7240_mtdlayout))
|
|
||||||
endef
|
|
||||||
|
|
||||||
Image/Build/Cameo933x/buildkernel=$(call MkuImageLzma,$(2),$(3) $(cameo933x_mtdlayout))
|
Image/Build/Cameo933x/buildkernel=$(call MkuImageLzma,$(2),$(3) $(cameo933x_mtdlayout))
|
||||||
|
|
||||||
@ -395,9 +385,7 @@ define Image/Build/Cameo933x
|
|||||||
$(call Image/Build/CameoHornet,$(1),$(2),$(3),$(cameo933x_mtdlayout),65536,2686976,$(4),$(5),$(6),0xe0000,3735552)
|
$(call Image/Build/CameoHornet,$(1),$(2),$(3),$(cameo933x_mtdlayout),65536,2686976,$(4),$(5),$(6),0xe0000,3735552)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/Cameo933x/initramfs
|
Image/Build/Cameo933x/initramfs=$(call MkuImageLzma/initramfs,$(2),$(3) $(cameo933x_mtdlayout))
|
||||||
$(call MkuImageLzma/initramfs,$(2),$(3) $(cameo933x_mtdlayout))
|
|
||||||
endef
|
|
||||||
|
|
||||||
Image/Build/Cameo933x_8M/buildkernel=$(call MkuImageLzma,$(2),$(3) $(cameo933x_mtdlayout_8M))
|
Image/Build/Cameo933x_8M/buildkernel=$(call MkuImageLzma,$(2),$(3) $(cameo933x_mtdlayout_8M))
|
||||||
|
|
||||||
@ -405,9 +393,7 @@ define Image/Build/Cameo933x_8M
|
|||||||
$(call Image/Build/CameoHornet,$(1),$(2),$(3),$(cameo933x_mtdlayout_8M),65536,6422528,$(4),$(5),$(6),0x100000,7864320)
|
$(call Image/Build/CameoHornet,$(1),$(2),$(3),$(cameo933x_mtdlayout_8M),65536,6422528,$(4),$(5),$(6),0x100000,7864320)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/Cameo933x_8M/initramfs
|
Image/Build/Cameo933x_8M/initramfs=$(call MkuImageLzma/initramfs,$(2),$(3) $(cameo933x_mtdlayout_8M))
|
||||||
$(call MkuImageLzma/initramfs,$(2),$(3) $(cameo933x_mtdlayout_8M))
|
|
||||||
endef
|
|
||||||
|
|
||||||
Image/Build/Cameo934x/buildkernel=$(call MkuImageLzma,$(2),$(3) $(cameo934x_mtdlayout))
|
Image/Build/Cameo934x/buildkernel=$(call MkuImageLzma,$(2),$(3) $(cameo934x_mtdlayout))
|
||||||
|
|
||||||
@ -415,9 +401,7 @@ define Image/Build/Cameo934x
|
|||||||
$(call Image/Build/Cameo,$(1),$(2),$(3),$(cameo934x_mtdlayout),65536,15007718,$(4))
|
$(call Image/Build/Cameo,$(1),$(2),$(3),$(cameo934x_mtdlayout),65536,15007718,$(4))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/Cameo934x/initramfs
|
Image/Build/Cameo934x/initramfs=$(call Image/Build/Cameo,$(1),$(2),$(3) $(cameo934x_mtdlayout))
|
||||||
$(call Image/Build/Cameo,$(1),$(2),$(3) $(cameo934x_mtdlayout))
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Image/Build/Ath
|
define Image/Build/Ath
|
||||||
$(call Sysupgrade/$(7),$(1),$(2),$(5),$(6))
|
$(call Sysupgrade/$(7),$(1),$(2),$(5),$(6))
|
||||||
@ -435,9 +419,7 @@ define Image/Build/AthGzip
|
|||||||
$(call Image/Build/Ath,$(1),$(2),$(3),$(4),$(5),$(6),$(7))
|
$(call Image/Build/Ath,$(1),$(2),$(3),$(4),$(5),$(6),$(7))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/AthGzip/initramfs
|
Image/Build/AthGzip/initramfs=$(call MkuImageGzip/initramfs,$(2),$(3) $(4))
|
||||||
$(call MkuImageGzip/initramfs,$(2),$(3) $(4))
|
|
||||||
endef
|
|
||||||
|
|
||||||
Image/Build/AthLzma/buildkernel=$(call MkuImageLzma,$(2),$(3) $(4))
|
Image/Build/AthLzma/buildkernel=$(call MkuImageLzma,$(2),$(3) $(4))
|
||||||
|
|
||||||
@ -445,9 +427,7 @@ define Image/Build/AthLzma
|
|||||||
$(call Image/Build/Ath,$(1),$(2),$(3),$(4),$(5),$(6),$(7))
|
$(call Image/Build/Ath,$(1),$(2),$(3),$(4),$(5),$(6),$(7))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/AthLzma/initramfs
|
Image/Build/AthLzma/initramfs=$(call MkuImageLzma/initramfs,$(2),$(3) $(4))
|
||||||
$(call MkuImageLzma/initramfs,$(2),$(3) $(4))
|
|
||||||
endef
|
|
||||||
|
|
||||||
Image/Build/PB4X/buildkernel=$(call PatchKernelLzma,$(2),$(3))
|
Image/Build/PB4X/buildkernel=$(call PatchKernelLzma,$(2),$(3))
|
||||||
|
|
||||||
@ -493,9 +473,7 @@ define Image/Build/UAPPRO
|
|||||||
-o $(call factoryname,$(1),$(2))
|
-o $(call factoryname,$(1),$(2))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/UAPPRO/initramfs
|
Image/Build/UAPPRO/initramfs=$(call MkuImageLzma/initramfs,$(2),$(3) $(uap_pro_mtdlayout))
|
||||||
$(call MkuImageLzma/initramfs,$(2),$(3) $(uap_pro_mtdlayout))
|
|
||||||
endef
|
|
||||||
|
|
||||||
Image/Build/UBNTXM/buildkernel=$(call MkuImageLzma,$(2),$(3) $(ubntxm_mtdlayout))
|
Image/Build/UBNTXM/buildkernel=$(call MkuImageLzma,$(2),$(3) $(ubntxm_mtdlayout))
|
||||||
|
|
||||||
@ -576,9 +554,7 @@ define Image/Build/ALFA
|
|||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/ALFA/initramfs
|
Image/Build/ALFA/initramfs=$(call MkuImageLzma/initramfs,$(2),$(3) $(4))
|
||||||
$(call MkuImageLzma/initramfs,$(2),$(3) $(4))
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Image/Build/TPLINKOLD/loader
|
define Image/Build/TPLINKOLD/loader
|
||||||
$(call Image/BuildLoaderAlone,$(1),gz,$(2),0x22000,0)
|
$(call Image/BuildLoaderAlone,$(1),gz,$(2),0x22000,0)
|
||||||
@ -766,9 +742,7 @@ define Image/Build/Netgear/initramfs
|
|||||||
$(5)
|
$(5)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/NetgearNAND/initramfs
|
Image/Build/NetgearNAND/initramfs=$(call Image/Build/Netgear/initramfs,$(1),$(2),$(3),$(4),$(5))
|
||||||
$(call Image/Build/Netgear/initramfs,$(1),$(2),$(3),$(4),$(5))
|
|
||||||
endef
|
|
||||||
|
|
||||||
ifdef CONFIG_PACKAGE_uboot-ar71xx-nbg460n_550n_550nh
|
ifdef CONFIG_PACKAGE_uboot-ar71xx-nbg460n_550n_550nh
|
||||||
Image/Build/ZyXEL/buildkernel=$(call MkuImageLzma,$(2),$(3))
|
Image/Build/ZyXEL/buildkernel=$(call MkuImageLzma,$(2),$(3))
|
||||||
@ -816,9 +790,8 @@ define Image/Build/Zcomax
|
|||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/Zcomax/initramfs
|
Image/Build/Zcomax/initramfs=$(call MkuImageLzma/initramfs,$(2),$(3) $(4))
|
||||||
$(call MkuImageLzma/initramfs,$(2),$(3) $(4))
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Jffs2Template
|
define Jffs2Template
|
||||||
define Image/Build/Template/$(1)/jffs2-$(2)
|
define Image/Build/Template/$(1)/jffs2-$(2)
|
||||||
|
Loading…
Reference in New Issue
Block a user