From: Gabor Juhos Date: Tue, 19 Jun 2012 11:51:20 +0000 (+0000) Subject: ar71xx: create profile and build image for the TL-WDR4300 board X-Git-Tag: reboot~13544 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7c87391c55a713a9ef9df169ab23e79177184b1a;p=openwrt%2Fstaging%2Fchunkeey.git ar71xx: create profile and build image for the TL-WDR4300 board SVN-Revision: 32461 --- diff --git a/target/linux/ar71xx/generic/profiles/tp-link.mk b/target/linux/ar71xx/generic/profiles/tp-link.mk index 9a0d2ffa1c..23e6b96e2e 100644 --- a/target/linux/ar71xx/generic/profiles/tp-link.mk +++ b/target/linux/ar71xx/generic/profiles/tp-link.mk @@ -94,6 +94,17 @@ endef $(eval $(call Profile,TLWA901)) +define Profile/TLWDR4300 + NAME:=TP-LINK TL-WDR4300 + PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev +endef + +define Profile/TLWDR4300/Description + Package set optimized for the TP-LINK TL-WDR4300. +endef +$(eval $(call Profile,TLWDR4300)) + + define Profile/TLWR740 NAME:=TP-LINK TL-WR740N/ND PACKAGES:= diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 0a7d75a3df..06e39561d7 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -974,6 +974,11 @@ define Image/Build/Profile/TLWR2543 $(call Image/Build/Template/$(fs_64kraw)/$(1),TPLINK-LZMA,tl-wr2543n-v1,$(tlwr2543_cmdline),0x25430001,1,8Mlzma) endef +tlwdr4300_cmdline=board=TL-WDR4300 console=ttyS0,115200 +define Image/Build/Profile/TLWDR4300 + $(call Image/Build/Template/$(fs_64kraw)/$(1),TPLINK-LZMA,tl-wdr4300-v1,$(tlwdr4300_cmdline),0x43000001,1,8Mlzma) +endef + wndr3700_cmdline=board=WNDR3700 console=ttyS0,115200 wndr3700_mtdlayout=mtdparts=spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,1024k(kernel),6656k(rootfs),64k(art)ro,7680k@0x70000(firmware) wndr3700v2_mtdlayout=mtdparts=spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,1024k(kernel),14848k(rootfs),64k(art)ro,15872k@0x70000(firmware) @@ -1098,6 +1103,7 @@ define Image/Build/Profile/Default $(call Image/Build/Profile/TLMR3420,$(1)) $(call Image/Build/Profile/TLWA701,$(1)) $(call Image/Build/Profile/TLWA901,$(1)) + $(call Image/Build/Profile/TLWDR4300,$(1)) $(call Image/Build/Profile/TLWR703,$(1)) $(call Image/Build/Profile/TLWR740,$(1)) $(call Image/Build/Profile/TLWR741,$(1))