From: Gabor Juhos Date: Mon, 2 Sep 2013 19:05:56 +0000 (+0000) Subject: ar71xx: image: simplify oneliner loader macros X-Git-Tag: reboot~9392 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=02551d388343dd7f9f0751bfebf70bbb2705d29c;p=openwrt%2Fstaging%2Fpepe2k.git ar71xx: image: simplify oneliner loader macros Signed-off-by: Gabor Juhos SVN-Revision: 37887 --- diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index e6149afa37..f99655edd7 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -514,9 +514,7 @@ define Image/Build/UBNT $(call sysupname,$(1),$(2)) endef -define Image/Build/Planex/loader - $(call Image/BuildLoaderAlone,$(1),gz,$(2) $(planex_mtdlayout),0x52000,0) -endef +Image/Build/Planex/loader=$(call Image/BuildLoaderAlone,$(1),gz,$(2) $(planex_mtdlayout),0x52000,0) define Image/Build/Planex [ -e "$(KDIR)/loader-$(2).gz" ] @@ -556,9 +554,7 @@ endef Image/Build/ALFA/initramfs=$(call MkuImageLzma/initramfs,$(2),$(3) $(4)) -define Image/Build/TPLINKOLD/loader - $(call Image/BuildLoaderAlone,$(1),gz,$(2),0x22000,0) -endef +Image/Build/TPLINKOLD/loader=$(call Image/BuildLoaderAlone,$(1),gz,$(2),0x22000,0) define Image/Build/TPLINKOLD [ -e "$(KDIR)/loader-$(2).gz" ] @@ -587,9 +583,7 @@ define Image/Build/TPLINKOLD/initramfs -o $(call imgname,$(1),$(2))-initramfs-uImage.bin endef -define Image/Build/TPLINK/loader - $(call Image/BuildLoaderAlone,$(1),gz,$(2),0x22000,0) -endef +Image/Build/TPLINK/loader=$(call Image/BuildLoaderAlone,$(1),gz,$(2),0x22000,0) define Image/Build/TPLINK [ -e "$(KDIR)/loader-$(2).gz" ]