[source] ar71xx: clean up DEVICE_PACKAGES of legacy devices

LEDE Commits lede-commits at lists.infradead.org
Mon Sep 26 08:59:45 PDT 2016


neoraider pushed a commit to source.git, branch master:
https://git.lede-project.org/9dbf8241c313a932de620f6b81b7defe5be38013

commit 9dbf8241c313a932de620f6b81b7defe5be38013
Author: Matthias Schiffer <mschiffer at universe-factory.net>
AuthorDate: Mon Sep 26 15:25:37 2016 +0200

    ar71xx: clean up DEVICE_PACKAGES of legacy devices
    
    Remove arbitrary or redundant packages from DEVICE_PACKAGES.
    
    Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
---
 target/linux/ar71xx/image/legacy-devices.mk | 65 ++++++++++-------------------
 1 file changed, 22 insertions(+), 43 deletions(-)

diff --git a/target/linux/ar71xx/image/legacy-devices.mk b/target/linux/ar71xx/image/legacy-devices.mk
index 72114cd..d6935e7 100644
--- a/target/linux/ar71xx/image/legacy-devices.mk
+++ b/target/linux/ar71xx/image/legacy-devices.mk
@@ -34,13 +34,12 @@ endef
 LEGACY_DEVICES += AP96
 
 define LegacyDevice/WNDAP360
-        DEVICE_TITLE := NETGEAR WNDAP360
+  DEVICE_TITLE := NETGEAR WNDAP360
 endef
 LEGACY_DEVICES += WNDAP360
 
 define LegacyDevice/ALFAAP120C
   DEVICE_TITLE := ALFA Network AP120C board
-  DEVICE_PACKAGES := uboot-envtools
 endef
 LEGACY_DEVICES += ALFAAP120C
 
@@ -52,13 +51,13 @@ LEGACY_DEVICES += ALFAAP96
 
 define LegacyDevice/ALL0258N
   DEVICE_TITLE := Allnet ALL0258N
-  DEVICE_PACKAGES := uboot-envtools rssileds
+  DEVICE_PACKAGES := rssileds
 endef
 LEGACY_DEVICES += ALL0258N
 
 define LegacyDevice/ALL0315N
   DEVICE_TITLE := Allnet ALL0315N
-  DEVICE_PACKAGES := uboot-envtools rssileds
+  DEVICE_PACKAGES := rssileds
 endef
 LEGACY_DEVICES += ALL0315N
 
@@ -153,7 +152,6 @@ LEGACY_DEVICES += BXU2000N2
 
 define LegacyDevice/CAP4200AG
   DEVICE_TITLE := Senao CAP4200AG
-  DEVICE_PACKAGES := kmod-ath9k
 endef
 LEGACY_DEVICES += CAP4200AG
 
@@ -165,31 +163,25 @@ LEGACY_DEVICES += DB120
 
 define LegacyDevice/DRAGINO2
   DEVICE_TITLE := DRAGINO2
-  DEVICE_PACKAGES := kmod-ath9k kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev
+  DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev
 endef
 LEGACY_DEVICES += DRAGINO2
 
 define LegacyDevice/EWDORINAP
   DEVICE_TITLE := Embedded Wireless Dorin Platform (4MB flash)
-  DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev kmod-usb-storage \
-	kmod-fs-vfat kmod-fs-msdos kmod-fs-ntfs kmod-fs-ext4 \
-	kmod-nls-cp437 kmod-nls-cp850 kmod-nls-cp852 kmod-nls-iso8859-1 kmod-nls-utf8
+  DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev kmod-usb-storage
 endef
 LEGACY_DEVICES += EWDORINAP
 
 define LegacyDevice/EWDORINRT
   DEVICE_TITLE := Embedded Wireless Dorin Router
-  DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev kmod-usb-storage \
-	kmod-fs-vfat kmod-fs-msdos kmod-fs-ntfs kmod-fs-ext4 \
-	kmod-nls-cp437 kmod-nls-cp850 kmod-nls-cp852 kmod-nls-iso8859-1 kmod-nls-utf8
+  DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev kmod-usb-storage
 endef
 LEGACY_DEVICES += EWDORINRT
 
 define LegacyDevice/EWDORIN16M
   DEVICE_TITLE := Embedded Wireless Dorin Platform (16MB flash)
-  DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev kmod-usb-storage \
-	kmod-fs-vfat kmod-fs-msdos kmod-fs-ntfs kmod-fs-ext4 \
-	kmod-nls-cp437 kmod-nls-cp850 kmod-nls-cp852 kmod-nls-iso8859-1 kmod-nls-utf8
+  DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev kmod-usb-storage
 endef
 LEGACY_DEVICES += EWDORIN16M
 
@@ -201,13 +193,13 @@ LEGACY_DEVICES += HORNETUBx2
 
 define LegacyDevice/MR12
   DEVICE_TITLE := Meraki MR12
-  DEVICE_PACKAGES := kmod-spi-gpio kmod-ath9k
+  DEVICE_PACKAGES := kmod-spi-gpio
 endef
 LEGACY_DEVICES += MR12
 
 define LegacyDevice/MR16
   DEVICE_TITLE := Meraki MR16
-  DEVICE_PACKAGES := kmod-spi-gpio kmod-ath9k
+  DEVICE_PACKAGES := kmod-spi-gpio
 endef
 LEGACY_DEVICES += MR16
 
@@ -223,8 +215,8 @@ endef
 LEGACY_DEVICES += TUBE2H16M
 
 define LegacyDevice/WLR8100
-        DEVICE_TITLE := Sitecom WLR-8100
-        DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-usb3
+  DEVICE_TITLE := Sitecom WLR-8100
+  DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-usb3
 endef
 LEGACY_DEVICES += WLR8100
 
@@ -421,29 +413,17 @@ LEGACY_DEVICES += DLRTDEV01
 
 define LegacyDevice/dLAN_Hotspot
   DEVICE_TITLE := devolo dLAN Hotspot
-  DEVICE_PACKAGES := open-plc-utils open-plc-utils-chkpib open-plc-utils-getpib open-plc-utils-modpib \
-	open-plc-utils-setpib open-plc-utils-hpavkey open-plc-utils-plchost \
-	open-plc-utils-plctool open-plc-utils-pibdump open-plc-utils-plcstat \
-	ebtables hostapd-utils wifitoggle wpad
 endef
 LEGACY_DEVICES += dLAN_Hotspot
 
 define LegacyDevice/dLAN_pro_500_wp
   DEVICE_TITLE := devolo dLAN pro 500 Wireless+
-  DEVICE_PACKAGES := open-plc-utils open-plc-utils-chkpib open-plc-utils-getpib open-plc-utils-modpib \
-	open-plc-utils-setpib open-plc-utils-hpavkey open-plc-utils-amphost \
-	open-plc-utils-plctool open-plc-utils-pibdump open-plc-utils-plcstat \
-	ebtables hostapd-utils wifitoggle wpad
 endef
 LEGACY_DEVICES += dLAN_pro_500_wp
 
 define LegacyDevice/dLAN_pro_1200_ac
   DEVICE_TITLE := devolo dLAN pro 1200+ WiFi ac
-  DEVICE_PACKAGES := open-plc-utils open-plc-utils-chkpib open-plc-utils-getpib open-plc-utils-modpib \
-	open-plc-utils-setpib open-plc-utils-hpavkey open-plc-utils-plchost \
-	open-plc-utils-plctool open-plc-utils-pibdump open-plc-utils-plcstat \
-	ebtables hostapd-utils wifitoggle wpad ip-full kmod-ath10k ath10k-firmware-qca988x \
-	kmod-leds-gpio kmod-ledtrig-gpio
+  DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x
 endef
 LEGACY_DEVICES += dLAN_pro_1200_ac
 
@@ -509,7 +489,6 @@ LEGACY_DEVICES += WPE72_16M
 
 define LegacyDevice/WNR2000V3
   DEVICE_TITLE := NETGEAR WNR2000V3
-  DEVICE_PACKAGES :=  -kmod-usb-core -kmod-usb-ohci -kmod-usb2 -kmod-ledtrig-usbdev
 endef
 LEGACY_DEVICES += WNR2000V3
 
@@ -552,37 +531,37 @@ LEGACY_DEVICES += WPN824N
 
 define LegacyDevice/OM2P
   DEVICE_TITLE := OpenMesh OM2P/OM2Pv2/OM2P-HS/OM2P-HSv2/OM2P-HSv3/OM2P-LC
-  DEVICE_PACKAGES := kmod-ath9k om-watchdog
+  DEVICE_PACKAGES := om-watchdog
 endef
 LEGACY_DEVICES += OM2P
 
 define LegacyDevice/OM5P
   DEVICE_TITLE := OpenMesh OM5P/OM5P-AN
-  DEVICE_PACKAGES := kmod-ath9k om-watchdog
+  DEVICE_PACKAGES := om-watchdog
 endef
 LEGACY_DEVICES += OM5P
 
 define LegacyDevice/OM5PAC
   DEVICE_TITLE := OpenMesh OM5P-AC/OM5P-ACv2
-  DEVICE_PACKAGES := kmod-ath9k kmod-ath10k ath10k-firmware-qca988x om-watchdog
+  DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x om-watchdog
 endef
 LEGACY_DEVICES += OM5PAC
 
 define LegacyDevice/MR600
-        DEVICE_TITLE := OpenMesh MR600
-        DEVICE_PACKAGES := kmod-ath9k om-watchdog
+  DEVICE_TITLE := OpenMesh MR600
+  DEVICE_PACKAGES := om-watchdog
 endef
 LEGACY_DEVICES += MR600
 
 define LegacyDevice/MR900
-        DEVICE_TITLE := OpenMesh MR900/MR900v2
-        DEVICE_PACKAGES := kmod-ath9k om-watchdog
+  DEVICE_TITLE := OpenMesh MR900/MR900v2
+  DEVICE_PACKAGES := om-watchdog
 endef
 LEGACY_DEVICES += MR900
 
 define LegacyDevice/MR1750
-        DEVICE_TITLE := OpenMesh MR1750/MR1750v2
-        DEVICE_PACKAGES := kmod-ath9k kmod-ath10k ath10k-firmware-qca988x
+  DEVICE_TITLE := OpenMesh MR1750/MR1750v2
+  DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x
 endef
 LEGACY_DEVICES += MR1750
 
@@ -677,7 +656,7 @@ LEGACY_DEVICES += WZRHPG300NH
 
 define LegacyDevice/WZRHPG300NH2
   DEVICE_TITLE := Buffalo WZR-HP-G300NH2
-  DEVICE_PACKAGES := kmod-ath9k wpad-mini kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
+  DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
 endef
 LEGACY_DEVICES += WZRHPG300NH2
 



More information about the lede-commits mailing list