diff mbox

[OpenWrt-Devel,2/3] lantiq: BT Home Hub 3A - profile

Message ID 1419772421.5692.97.camel@merveille.lan
State Accepted
Headers show

Commit Message

Ben Mulvihill Dec. 28, 2014, 1:13 p.m. UTC
BT Home Hub 3A - profile

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
---
 target/linux/lantiq/image/Makefile      |    3 +++
 target/linux/lantiq/xway/profiles/bt.mk |   18 ++++++++++++++++++
 2 files changed, 21 insertions(+)
diff mbox

Patch

diff -uprN a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile
--- a/target/linux/lantiq/image/Makefile	2014-12-07 22:10:48.000000000 +0100
+++ b/target/linux/lantiq/image/Makefile	2014-12-20 09:45:56.000000000 +0100
@@ -367,6 +367,9 @@  Image/Build/Profile/GIGASX76X=$(call Ima
 
 
 # AR9
+Image/BuildKernel/Profile/BTHOMEHUBV3A=$(call Image/BuildKernel/Template,BTHOMEHUBV3A)
+Image/Build/Profile/BTHOMEHUBV3A=$(call Image/BuildNAND/$(1),$(1),BTHOMEHUBV3A)
+
 Image/BuildKernel/Profile/DGN3500=$(call Image/BuildKernel/Template,DGN3500)
 Image/Build/Profile/DGN3500=$(call Image/BuildDGN3500/$(1),$(1),DGN3500)
 
diff -uprN a/target/linux/lantiq/xway/profiles/bt.mk b/target/linux/lantiq/xway/profiles/bt.mk
--- a/target/linux/lantiq/xway/profiles/bt.mk	2014-12-07 22:10:47.000000000 +0100
+++ b/target/linux/lantiq/xway/profiles/bt.mk	2014-12-20 09:52:31.000000000 +0100
@@ -9,8 +9,26 @@  define Profile/BTHOMEHUBV2B
 	swconfig
 endef
 
+
 BTHOMEHUBV2B_UBIFS_OPTS:="-m 512 -e 15872 -c 1959"
 BTHOMEHUBV2B_UBI_OPTS:="-m 512 -p 16KiB -s 256"
 
 
 $(eval $(call Profile,BTHOMEHUBV2B))
+
+define Profile/BTHOMEHUBV3A
+  NAME:=BT Home Hub 3A
+  PACKAGES:=kmod-ltq-hcd-ar9 kmod-ledtrig-usbdev \
+	kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
+	kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \
+	kmod-ltq-deu-ar9 \
+	ltq-adsl-app ppp-mod-pppoa \
+	kmod-ath9k wpad-mini \
+	swconfig
+endef
+
+BTHOMEHUBV3A_UBIFS_OPTS:="-m 512 -e 15872 -c 1959"
+BTHOMEHUBV3A_UBI_OPTS:="-m 512 -p 16KiB -s 256"
+
+
+$(eval $(call Profile,BTHOMEHUBV3A))