aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-05 17:02:41 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-05 17:02:41 +0000
commit948690407958885f170afe459f1a91b6e573c838 (patch)
tree53178c223314ce51961fefcd005583ee1630f3d7
parentde7324674a06dff4fd47adddf0c59a36823d9e00 (diff)
downloadupstream-948690407958885f170afe459f1a91b6e573c838.tar.gz
upstream-948690407958885f170afe459f1a91b6e573c838.tar.bz2
upstream-948690407958885f170afe459f1a91b6e573c838.zip
ar71xx: add profile and build image for the TL-WR1041N v2 board
Patch-by: Vince Huang <axishero@foxmail.com> SVN-Revision: 31610
-rw-r--r--target/linux/ar71xx/generic/profiles/tp-link.mk11
-rw-r--r--target/linux/ar71xx/image/Makefile6
2 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/ar71xx/generic/profiles/tp-link.mk b/target/linux/ar71xx/generic/profiles/tp-link.mk
index 96ff12ae74..5c18c44717 100644
--- a/target/linux/ar71xx/generic/profiles/tp-link.mk
+++ b/target/linux/ar71xx/generic/profiles/tp-link.mk
@@ -149,6 +149,17 @@ endef
$(eval $(call Profile,TLWR941))
+define Profile/TLWR1041
+ NAME:=TP-LINK TL-WR1041N
+ PACKAGES:=
+endef
+
+define Profile/TLWR1041/Description
+ Package set optimized for the TP-LINK TL-WR1041N/ND.
+endef
+$(eval $(call Profile,TLWR1041))
+
+
define Profile/TLWR1043
NAME:=TP-LINK TL-WR1043N/ND
PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 3df96251b4..f99c01ab15 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -948,6 +948,11 @@ define Image/Build/Profile/TLWR941
$(call Image/Build/Template/$(fs_64kraw)/$(1),TPLINK,tl-wr941nd-v4,$(tlwr941v4_cmdline),0x09410004,1,4M)
endef
+tlwr1041_cmdline=board=TL-WR1041N-v2 console=ttyS0,115200
+define Image/Build/Profile/TLWR1041
+ $(call Image/Build/Template/$(fs_64kraw)/$(1),TPLINK-LZMA,tl-wr1041n-v2,$(tlwr1041_cmdline),0x10410002,1,8Mlzma)
+endef
+
tlwr1043_cmdline=board=TL-WR1043ND console=ttyS0,115200
define Image/Build/Profile/TLWR1043
$(call Image/Build/Template/$(fs_64kraw)/$(1),TPLINK,tl-wr1043nd-v1,$(tlwr1043_cmdline),0x10430001,1,8M)
@@ -1087,6 +1092,7 @@ define Image/Build/Profile/Default
$(call Image/Build/Profile/TLWR841,$(1))
$(call Image/Build/Profile/TLWR842,$(1))
$(call Image/Build/Profile/TLWR941,$(1))
+ $(call Image/Build/Profile/TLWR1041,$(1))
$(call Image/Build/Profile/TLWR1043,$(1))
$(call Image/Build/Profile/TLWR2543,$(1))
$(call Image/Build/Profile/UBNT,$(1))