From: Gabor Juhos Date: Thu, 23 Aug 2012 12:04:57 +0000 (+0000) Subject: ar71xx: image: use the new helpers for the Cameo7240 images X-Git-Tag: v19.07.0-rc1~23708 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=19d840980fe1297164c0372c9b330155eb84342d;p=openwrt%2Fstaging%2Fhauke.git ar71xx: image: use the new helpers for the Cameo7240 images SVN-Revision: 33241 --- diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index ed7ce2cf7f..c9ec358b68 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -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