From: Gabor Juhos Date: Mon, 7 Nov 2011 12:59:08 +0000 (+0000) Subject: ar71xx: build image for the Buffalo WHR-G301N X-Git-Tag: reboot~15654 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0d9ae0a0364fcea8c18465ade28c4b719542f018;p=openwrt%2Fstaging%2Fnoltari.git ar71xx: build image for the Buffalo WHR-G301N SVN-Revision: 28804 --- 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))