ar71xx: image: use the new helpers for the Cameo7240 images
authorGabor Juhos <juhosg@openwrt.org>
Thu, 23 Aug 2012 12:04:57 +0000 (12:04 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 23 Aug 2012 12:04:57 +0000 (12:04 +0000)
SVN-Revision: 33241

target/linux/ar71xx/image/Makefile

index ed7ce2cf7ffb57d838718ca6aec91bdc823d00b9..c9ec358b68714e5b0fe08ca8073862ddc99e77a6 100644 (file)
@@ -754,20 +754,9 @@ define Image/Build/Profile/WPE72
        $(call Image/Build/Template/$(fs_64k)/$(1),MyLoader,wpe72,$(wpe72_cmdline),0x800000,8M)
 endef
 
-dir600a1_cmdline=board=DIR-600-A1 console=ttyS0,115200
-define Image/Build/Profile/DIR600A1
-       $(call Image/Build/Template/$(fs_64k)/$(1),Cameo7240,dir-600-a1,$(dir600a1_cmdline),"AP91-AR7240-RT-090223-00")
-endef
-
-dir601a1_cmdline=board=DIR-600-A1 console=ttyS0,115200
-define Image/Build/Profile/DIR601A1
-       $(call Image/Build/Template/$(fs_64k)/$(1),Cameo7240,dir-601-a1,$(dir600a1_cmdline),"AP91-AR7240-RT-090223-02")
-endef
-
-dir615e4_cmdline=board=DIR-615-E4 console=ttyS0,115200
-define Image/Build/Profile/DIR615E4
-       $(call Image/Build/Template/$(fs_64k)/$(1),Cameo7240,dir-615-e4,$(dir615e4_cmdline),"AP99-AR7240-RT-091105-05")
-endef
+$(eval $(call SingleProfile,Cameo7240,$(fs_64k),DIR600A1,dir-600-a1,DIR-600-A1,ttyS0,115200,"AP91-AR7240-RT-090223-00"))
+$(eval $(call SingleProfile,Cameo7240,$(fs_64k),DIR601A1,dir-601-a1,DIR-600-A1,ttyS0,115200,"AP91-AR7240-RT-090223-02"))
+$(eval $(call SingleProfile,Cameo7240,$(fs_64k),DIR615E4,dir-615-e4,DIR-615-E4,ttyS0,115200,"AP99-AR7240-RT-091105-05"))
 
 eap7660d_cmdline=board=EAP7660D console=ttyS0,115200
 define Image/Build/Profile/EAP7660D
@@ -791,10 +780,7 @@ define Image/Build/Profile/JWAP003
        $(call Image/Build/Template/$(fs_64k)/$(1),PB4X,jwap003,$(jwap003_cmdline))
 endef
 
-fr54rtr_cmdline=board=DIR-600-A1 console=ttyS0,115200
-define Image/Build/Profile/FR54RTR
-       $(call Image/Build/Template/$(fs_64k)/$(1),Cameo7240,fr-54rtr,$(fr54rtr_cmdline),"AP91-AR7240-RT-090223-01")
-endef
+$(eval $(call SingleProfile,Cameo7240,$(fs_64k),FR54RTR,fr-54rtr,DIR-600-A1,ttyS0,115200,"AP91-AR7240-RT-090223-01"))
 
 dir615c1_cmdline=board=DIR-615-C1 console=ttyS0,115200
 define Image/Build/Profile/DIR615C1