aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-11-07 12:59:08 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-11-07 12:59:08 +0000
commit0d9ae0a0364fcea8c18465ade28c4b719542f018 (patch)
tree8fd8a43d6a08c7932f98ef965305e088cf67ed07 /target
parent4509af17ed26f3cabe6805f1ebc351fee8b2f1af (diff)
downloadupstream-0d9ae0a0364fcea8c18465ade28c4b719542f018.tar.gz
upstream-0d9ae0a0364fcea8c18465ade28c4b719542f018.tar.bz2
upstream-0d9ae0a0364fcea8c18465ade28c4b719542f018.zip
ar71xx: build image for the Buffalo WHR-G301N
SVN-Revision: 28804
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/generic/profiles/buffalo.mk12
-rw-r--r--target/linux/ar71xx/image/Makefile6
2 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/ar71xx/generic/profiles/buffalo.mk b/target/linux/ar71xx/generic/profiles/buffalo.mk
index 411dec69b2..a6de0af2be 100644
--- a/target/linux/ar71xx/generic/profiles/buffalo.mk
+++ b/target/linux/ar71xx/generic/profiles/buffalo.mk
@@ -27,6 +27,18 @@ endef
$(eval $(call Profile,WZRHPAG300H))
+define Profile/WHRG301N
+ NAME:=Buffalo WHR-G301N
+ PACKAGES:=
+endef
+
+define Profile/WHRG301N/Description
+ Package set optimized for the Buffalo WHR-G301N.
+endef
+
+$(eval $(call Profile,WHRG301N))
+
+
define Profile/WHRHPG300N
NAME:=Buffalo WHR-HP-G300N
PACKAGES:=
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 48289a5de1..c070eac360 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -707,6 +707,11 @@ define Image/Build/Profile/WRT160NL
$(call Image/Build/Template/$(fs_64k)/$(1),CyberTAN,wrt160nl,$(wrt160nl_cmdline),1.00.01)
endef
+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,896k(kernel),2816k(rootfs),64k(user_property),64k(art)ro,3712k@0x30000(firmware)
define Image/Build/Profile/WHRHPG300N
@@ -785,6 +790,7 @@ define Image/Build/Profile/Default
$(call Image/Build/Profile/AP96,$(1))
$(call Image/Build/Profile/WRT400N,$(1))
$(call Image/Build/Profile/WRT160NL,$(1))
+ $(call Image/Build/Profile/WHRG301N,$(1))
$(call Image/Build/Profile/WHRHPG300N,$(1))
$(call Image/Build/Profile/WZRHPG300NH,$(1))
$(call Image/Build/Profile/WZRHPAG300H,$(1))