From 9b0f32b5cc4aef8073fe0e79d6961b91463792d3 Mon Sep 17 00:00:00 2001
From: blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Tue, 17 Mar 2015 09:44:06 +0000
Subject: [PATCH] lantiq/xrx200: cleanup default packages

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44867 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 target/linux/lantiq/xrx200/profiles/arv.mk    | 21 +++----------------
 target/linux/lantiq/xrx200/profiles/avm.mk    |  6 +-----
 target/linux/lantiq/xrx200/profiles/lantiq.mk | 12 ++---------
 target/linux/lantiq/xrx200/profiles/tplink.mk |  7 +------
 target/linux/lantiq/xrx200/profiles/zyxel.mk  | 14 ++-----------
 target/linux/lantiq/xrx200/target.mk          | 13 +++++++++++-
 6 files changed, 21 insertions(+), 52 deletions(-)

diff --git a/target/linux/lantiq/xrx200/profiles/arv.mk b/target/linux/lantiq/xrx200/profiles/arv.mk
index cbd80559a5..f68862bca4 100644
--- a/target/linux/lantiq/xrx200/profiles/arv.mk
+++ b/target/linux/lantiq/xrx200/profiles/arv.mk
@@ -1,47 +1,32 @@
 define Profile/VG3503J
   NAME:=BT Openreach - ECI VDSL Modem
-  PACKAGES:=kmod-ltq-vdsl-vr9-mei kmod-ltq-vdsl-vr9 \
-       kmod-ltq-ptm-vr9 ltq-vdsl-app
 endef
 
 $(eval $(call Profile,VG3503J))
 
 define Profile/VG3503J_V2
   NAME:=BT Openreach - ECI VDSL Modem v2
-  PACKAGES:=kmod-ltq-vdsl-vr9-mei kmod-ltq-vdsl-vr9 \
-       kmod-ltq-ptm-vr9 ltq-vdsl-app
 endef
 
 $(eval $(call Profile,VG3503J_V2))
 
 define Profile/VGV7519NOR
   NAME:=Experiabox 8 VGV7519
-  PACKAGES:=kmod-rt2800-pci wpad-mini \
-	kmod-ltq-deu-vr9 kmod-usb-dwc2 \
-	kmod-ltq-vdsl-vr9-mei kmod-ltq-vdsl-vr9 \
-	kmod-ltq-atm-vr9 ltq-vdsl-vr9-fw-installer \
-	ltq-vdsl-app ppp-mod-pppoa
+  PACKAGES:=kmod-rt2800-pci wpad-mini kmod-usb-dwc2
 endef
 
 $(eval $(call Profile,VGV7519NOR))
 
 define Profile/VGV7519BRN
   NAME:=Experiabox 8 VGV7519 (BRN)
-  PACKAGES:=kmod-rt2800-pci wpad-mini \
-	kmod-ltq-deu-vr9 kmod-usb-dwc2 \
-	kmod-ltq-vdsl-vr9-mei kmod-ltq-vdsl-vr9 \
-	kmod-ltq-atm-vr9 ltq-vdsl-vr9-fw-installer \
-	ltq-vdsl-app ppp-mod-pppoa
+  PACKAGES:=kmod-rt2800-pci wpad-mini kmod-usb-dwc2
 endef
 
 $(eval $(call Profile,VGV7519BRN))
 
 define Profile/ARV7519RW22
   NAME:=Livebox Astoria ARV7519RW22
-  PACKAGES:=kmod-ltq-deu-vr9 kmod-usb-dwc2 \
-	kmod-ltq-vdsl-vr9-mei kmod-ltq-vdsl-vr9 \
-	kmod-ltq-atm-vr9 ltq-vdsl-vr9-fw-installer \
-	ltq-vdsl-app ppp-mod-pppoa
+  PACKAGES:=kmod-usb-dwc2
 endef
 
 $(eval $(call Profile,ARV7519RW22))
diff --git a/target/linux/lantiq/xrx200/profiles/avm.mk b/target/linux/lantiq/xrx200/profiles/avm.mk
index 89cc03faa8..89909b92e3 100644
--- a/target/linux/lantiq/xrx200/profiles/avm.mk
+++ b/target/linux/lantiq/xrx200/profiles/avm.mk
@@ -1,10 +1,6 @@
 define Profile/FRITZ3370
   NAME:=Fritz!Box WLan - FRITZ3370
-  PACKAGES:=kmod-ath9k wpad-mini \
-	kmod-ltq-deu-vr9 kmod-usb-dwc2 \
-	kmod-ltq-vdsl-vr9-mei kmod-ltq-vdsl-vr9 \
-	kmod-ltq-atm-vr9 ltq-vdsl-vr9-fw-installer \
-	ltq-vdsl-app ppp-mod-pppoa
+  PACKAGES:=kmod-ath9k wpad-mini kmod-usb-dwc2
 endef
 
 FRITZ3370_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096"
diff --git a/target/linux/lantiq/xrx200/profiles/lantiq.mk b/target/linux/lantiq/xrx200/profiles/lantiq.mk
index 0bfd122585..0ec6be4c05 100644
--- a/target/linux/lantiq/xrx200/profiles/lantiq.mk
+++ b/target/linux/lantiq/xrx200/profiles/lantiq.mk
@@ -1,21 +1,13 @@
 define Profile/EASY80920NOR
   NAME:=Lantiq VR9 - EASY80920NOR
-  PACKAGES:=kmod-ath9k wpad-mini \
-	kmod-ltq-deu-vr9 kmod-usb-dwc2 \
-	kmod-ltq-vdsl-vr9-mei kmod-ltq-vdsl-vr9 \
-	kmod-ltq-atm-vr9 ltq-vdsl-vr9-fw-installer \
-	ltq-vdsl-app ppp-mod-pppoa
+  PACKAGES:=kmod-ath9k wpad-mini kmod-usb-dwc2
 endef
 
 $(eval $(call Profile,EASY80920NOR))
 
 define Profile/EASY80920NAND
   NAME:=Lantiq VR9 - EASY80920NAND
-  PACKAGES:=kmod-ath9k wpad-mini \
-	kmod-ltq-deu-vr9 kmod-usb-dwc2 \
-	kmod-ltq-vdsl-vr9-mei kmod-ltq-vdsl-vr9 \
-	kmod-ltq-atm-vr9 ltq-vdsl-vr9-fw-installer \
-	ltq-vdsl-app ppp-mod-pppoa
+  PACKAGES:=kmod-ath9k wpad-mini kmod-usb-dwc2
 endef
 
 $(eval $(call Profile,EASY80920NAND))
diff --git a/target/linux/lantiq/xrx200/profiles/tplink.mk b/target/linux/lantiq/xrx200/profiles/tplink.mk
index 126ca67c0e..1ee010ce3c 100644
--- a/target/linux/lantiq/xrx200/profiles/tplink.mk
+++ b/target/linux/lantiq/xrx200/profiles/tplink.mk
@@ -1,11 +1,6 @@
 define Profile/TDW8970
   NAME:=TP-LINK TD-W8970
-  PACKAGES:=kmod-ath9k wpad-mini \
-	kmod-ltq-deu-vr9 kmod-usb-dwc2 \
-	kmod-ltq-vdsl-vr9-mei kmod-ltq-vdsl-vr9 \
-	kmod-ltq-atm-vr9 ltq-vdsl-vr9-fw-installer \
-	ltq-vdsl-app ppp-mod-pppoa \
-	kmod-ledtrig-usbdev
+  PACKAGES:=kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-ledtrig-usbdev
 endef
 
 $(eval $(call Profile,TDW8970))
diff --git a/target/linux/lantiq/xrx200/profiles/zyxel.mk b/target/linux/lantiq/xrx200/profiles/zyxel.mk
index 6859a00472..f6995f946b 100644
--- a/target/linux/lantiq/xrx200/profiles/zyxel.mk
+++ b/target/linux/lantiq/xrx200/profiles/zyxel.mk
@@ -1,11 +1,6 @@
 define Profile/P2812HNUF1
   NAME:=ZyXEL P-2812HNU-F1
-  PACKAGES:=kmod-rt2800-pci wpad-mini \
-	kmod-ltq-deu-vr9 kmod-usb-dwc2 \
-	kmod-ltq-vdsl-vr9-mei kmod-ltq-vdsl-vr9 \
-	kmod-ltq-atm-vr9 ltq-vdsl-vr9-fw-installer \
-	ltq-vdsl-app ppp-mod-pppoa \
-	swconfig
+  PACKAGES:=kmod-rt2800-pci wpad-mini kmod-usb-dwc2
 endef
 
 P2812HNUF1_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096"
@@ -15,12 +10,7 @@ $(eval $(call Profile,P2812HNUF1))
 
 define Profile/P2812HNUF3
   NAME:=ZyXEL P-2812HNU-F3
-  PACKAGES:=kmod-rt2800-pci wpad-mini \
-	kmod-ltq-deu-vr9 kmod-usb-dwc2 \
-	kmod-ltq-vdsl-vr9-mei kmod-ltq-vdsl-vr9 \
-	kmod-ltq-atm-vr9 ltq-vdsl-vr9-fw-installer \
-	ltq-vdsl-app ppp-mod-pppoa \
-	swconfig
+  PACKAGES:=kmod-rt2800-pci wpad-mini kmod-usb-dwc2
 endef
 
 P2812HNUF3_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096"
diff --git a/target/linux/lantiq/xrx200/target.mk b/target/linux/lantiq/xrx200/target.mk
index efa4b79eaa..a2350158ab 100644
--- a/target/linux/lantiq/xrx200/target.mk
+++ b/target/linux/lantiq/xrx200/target.mk
@@ -5,7 +5,18 @@ FEATURES:=squashfs atm mips16 jffs2 nand ubifs
 CPU_TYPE:=34kc
 CPU_SUBTYPE:=dsp
 
-DEFAULT_PACKAGES+=kmod-leds-gpio kmod-gpio-button-hotplug swconfig atm-esi
+DEFAULT_PACKAGES+=kmod-leds-gpio \
+	kmod-gpio-button-hotplug \
+	ltq-vdsl-vr9-fw-installer \
+	kmod-ltq-vdsl-vr9-mei \
+	kmod-ltq-vdsl-vr9 \
+	kmod-ltq-atm-vr9 \
+	kmod-ltq-ptm-vr9 \
+	kmod-ltq-deu-vr9 \
+	ltq-vdsl-app \
+	ppp-mod-pppoa \
+	swconfig \
+	atm-esi
 
 define Target/Description
 	Lantiq XRX200
-- 
GitLab