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
commit07649c8d9b941acdc068811c34a962fe0ca8f3a2 (patch)
tree6c19d9e8b4823709c6fccc9a92ace2793f197d9b
parentec065bb299f55aa86e09147f9f03d3a4242ebfa3 (diff)
downloadupstream-07649c8d9b941acdc068811c34a962fe0ca8f3a2.tar.gz
upstream-07649c8d9b941acdc068811c34a962fe0ca8f3a2.tar.bz2
upstream-07649c8d9b941acdc068811c34a962fe0ca8f3a2.zip
ar71xx: image: use the new helpers for the WHRHPG300N images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33256 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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