mirror of https://github.com/hak5/openwrt.git
ar71xx: image: simplify oneliner loader macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37887lede-17.01
parent
0cdf133d20
commit
02551d3883
|
@ -514,9 +514,7 @@ define Image/Build/UBNT
|
||||||
$(call sysupname,$(1),$(2))
|
$(call sysupname,$(1),$(2))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/Planex/loader
|
Image/Build/Planex/loader=$(call Image/BuildLoaderAlone,$(1),gz,$(2) $(planex_mtdlayout),0x52000,0)
|
||||||
$(call Image/BuildLoaderAlone,$(1),gz,$(2) $(planex_mtdlayout),0x52000,0)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Image/Build/Planex
|
define Image/Build/Planex
|
||||||
[ -e "$(KDIR)/loader-$(2).gz" ]
|
[ -e "$(KDIR)/loader-$(2).gz" ]
|
||||||
|
@ -556,9 +554,7 @@ endef
|
||||||
|
|
||||||
Image/Build/ALFA/initramfs=$(call MkuImageLzma/initramfs,$(2),$(3) $(4))
|
Image/Build/ALFA/initramfs=$(call MkuImageLzma/initramfs,$(2),$(3) $(4))
|
||||||
|
|
||||||
define Image/Build/TPLINKOLD/loader
|
Image/Build/TPLINKOLD/loader=$(call Image/BuildLoaderAlone,$(1),gz,$(2),0x22000,0)
|
||||||
$(call Image/BuildLoaderAlone,$(1),gz,$(2),0x22000,0)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Image/Build/TPLINKOLD
|
define Image/Build/TPLINKOLD
|
||||||
[ -e "$(KDIR)/loader-$(2).gz" ]
|
[ -e "$(KDIR)/loader-$(2).gz" ]
|
||||||
|
@ -587,9 +583,7 @@ define Image/Build/TPLINKOLD/initramfs
|
||||||
-o $(call imgname,$(1),$(2))-initramfs-uImage.bin
|
-o $(call imgname,$(1),$(2))-initramfs-uImage.bin
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/TPLINK/loader
|
Image/Build/TPLINK/loader=$(call Image/BuildLoaderAlone,$(1),gz,$(2),0x22000,0)
|
||||||
$(call Image/BuildLoaderAlone,$(1),gz,$(2),0x22000,0)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Image/Build/TPLINK
|
define Image/Build/TPLINK
|
||||||
[ -e "$(KDIR)/loader-$(2).gz" ]
|
[ -e "$(KDIR)/loader-$(2).gz" ]
|
||||||
|
|
Loading…
Reference in New Issue