From 9a0e17857e8f10bbd50bcd935107730806138423 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Mon, 13 Feb 2012 17:11:58 +0000 Subject: ar71xx: add profile and build image for the TP-Link TL-WR842N/ND v1 boards SVN-Revision: 30508 --- target/linux/ar71xx/generic/profiles/tp-link.mk | 11 +++++++++++ target/linux/ar71xx/image/Makefile | 6 ++++++ 2 files changed, 17 insertions(+) (limited to 'target') diff --git a/target/linux/ar71xx/generic/profiles/tp-link.mk b/target/linux/ar71xx/generic/profiles/tp-link.mk index e2b97212bc..96ff12ae74 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 f923efc370..86e279f0a7 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)) -- cgit v1.2.3