aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-08-23 12:52:25 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-08-23 12:52:25 +0000
commitc965d8ead88c3b15c000d439f1bc04ec83af67d9 (patch)
tree7951af387a3ae7bfbaac3e16a23e40a3221e8d2e
parent71af43a7c7b40a70759eb7cdf8078aee15719e83 (diff)
downloadupstream-c965d8ead88c3b15c000d439f1bc04ec83af67d9.tar.gz
upstream-c965d8ead88c3b15c000d439f1bc04ec83af67d9.tar.bz2
upstream-c965d8ead88c3b15c000d439f1bc04ec83af67d9.zip
ar71xx: image: use the new helpers for the WHRHPG300N images
SVN-Revision: 33256
-rw-r--r--target/linux/ar71xx/image/Makefile23
1 files changed, 4 insertions, 19 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 82e16f4da4..788b65564e 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -869,26 +869,11 @@ $(eval $(call SingleProfile,DIR825B1,$(fs_64k),TEW673GRU,tew-637gru,TEW-673GRU,t
$(eval $(call SingleProfile,CyberTAN,$(fs_64k),WRT160NL,wrt160nl,WRT160NL,ttyS0,115200,1.00.01))
-whrg301n_cmdline=board=WHR-G301N console=ttyS0,115200
-define Image/Build/Profile/WHRG301N
- $(call Image/Build/Template/$(fs_64k)/$(1),WHRHPG300N,whr-g301n,$(whrg301n_cmdline),$(whrhpg300n_mtdlayout),WHR-G301N)
-endef
-
-whrhpg300n_cmdline=board=WHR-HP-G300N console=ttyS0,115200
whrhpg300n_mtdlayout=mtdparts=spi0.0:248k(u-boot)ro,8k(u-boot-env)ro,960k(kernel),2816k(rootfs),64k(art)ro,3712k@0x40000(firmware)
-define Image/Build/Profile/WHRHPG300N
- $(call Image/Build/Template/$(fs_64k)/$(1),WHRHPG300N,whr-hp-g300n,$(whrhpg300n_cmdline),$(whrhpg300n_mtdlayout),WHR-HP-G300N)
-endef
-
-whrhpgn_cmdline=board=WHR-HP-GN console=ttyS0,115200
-define Image/Build/Profile/WHRHPGN
- $(call Image/Build/Template/$(fs_64k)/$(1),WHRHPG300N,whr-hp-gn,$(whrhpgn_cmdline),$(whrhpg300n_mtdlayout),WHR-HP-GN)
-endef
-
-wlaeag300n_cmdline=board=WLAE-AG300N console=ttyS0,115200
-define Image/Build/Profile/WLAEAG300N
- $(call Image/Build/Template/$(fs_64k)/$(1),WHRHPG300N,wlae-ag300n,$(wlaeag300n_cmdline),$(whrhpg300n_mtdlayout),WLAE-AG300N)
-endef
+$(eval $(call SingleProfile,WHRHPG300N,$(fs_64k),WHRG301N,whr-g301n,WHR-G301N,ttyS0,115200,$$(whrhpg300n_mtdlayout),WHR-G301N))
+$(eval $(call SingleProfile,WHRHPG300N,$(fs_64k),WHRHPG300N,whr-hp-g300n,WHR-HP-G300N,ttyS0,115200,$$(whrhpg300n_mtdlayout),WHR-HP-G300N))
+$(eval $(call SingleProfile,WHRHPG300N,$(fs_64k),WHRHPGN,whr-hp-gn,WHR-HP-GN,ttyS0,115200,$$(whrhpg300n_mtdlayout),WHR-HP-GN))
+$(eval $(call SingleProfile,WHRHPG300N,$(fs_64k),WLAEAG300N,wlae-ag300n,WLAE-AG300N,ttyS0,115200,$$(whrhpg300n_mtdlayout),WLAE-AG300N))
wzrhpg300nh_cmdline=board=WZR-HP-G300NH console=ttyS0,115200
define Image/Build/Profile/WZRHPG300NH