summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-13 17:11:58 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-13 17:11:58 +0000
commit9a0e17857e8f10bbd50bcd935107730806138423 (patch)
treef5e1c2e0ea74436cf80c355c6849328bc067189c
parent1c57a22aae2d64f47413de90f277bcafc01822d0 (diff)
downloadmtk-20170518-9a0e17857e8f10bbd50bcd935107730806138423.zip
mtk-20170518-9a0e17857e8f10bbd50bcd935107730806138423.tar.gz
mtk-20170518-9a0e17857e8f10bbd50bcd935107730806138423.tar.bz2
ar71xx: add profile and build image for the TP-Link TL-WR842N/ND v1 boards
SVN-Revision: 30508
-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 e2b9721..96ff12a 100644
--- a/target/linux/ar71xx/generic/profiles/tp-link.mk
+++ b/target/linux/ar71xx/generic/profiles/tp-link.mk
@@ -127,6 +127,17 @@ endef
$(eval $(call Profile,TLWR841))
+define Profile/TLWR842
+ NAME:=TP-LINK TL-WR842N/ND
+ PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
+endef
+
+define Profile/TLWR842/Description
+ Package set optimized for the TP-LINK TL-WR842N/ND.
+endef
+$(eval $(call Profile,TLWR842))
+
+
define Profile/TLWR941
NAME:=TP-LINK TL-WR941N/ND
PACKAGES:=
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index f923efc..86e279f 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -892,6 +892,11 @@ define Image/Build/Profile/TLWR841
$(call Image/Build/Template/$(fs_64kraw)/$(1),TPLINK,tl-wr841nd-v7,$(tlwr841v7_cmdline),0x08410007,1,4M)
endef
+tlwr842_cmdline=board=TL-MR3420 console=ttyS0,115200
+define Image/Build/Profile/TLWR842
+ $(call Image/Build/Template/$(fs_64kraw)/$(1),TPLINK,tl-wr842n-v1,$(tlwr842_cmdline),0x08420001,1,8M)
+endef
+
tlwr941v2_cmdline=board=TL-WR941ND console=ttyS0,115200
tlwr941v4_cmdline=board=TL-WR741ND console=ttyS0,115200
define Image/Build/Profile/TLWR941
@@ -1034,6 +1039,7 @@ define Image/Build/Profile/Default
$(call Image/Build/Profile/TLWR741,$(1))
$(call Image/Build/Profile/TLWR743,$(1))
$(call Image/Build/Profile/TLWR841,$(1))
+ $(call Image/Build/Profile/TLWR842,$(1))
$(call Image/Build/Profile/TLWR941,$(1))
$(call Image/Build/Profile/TLWR1043,$(1))
$(call Image/Build/Profile/TLWR2543,$(1))