[source] ar71xx: hiwifi-hc6361: move packages selection to generic.mk

LEDE Commits lede-commits at lists.infradead.org
Thu Jun 30 21:44:53 PDT 2016


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=11cbe29833db3a7ec41ac1c4c675fb0b31338f39

commit 11cbe29833db3a7ec41ac1c4c675fb0b31338f39
Author: Yousong Zhou <yszhou4tech at gmail.com>
AuthorDate: Thu Jun 30 09:54:18 2016 +0800

    ar71xx: hiwifi-hc6361: move packages selection to generic.mk
    
    Remove kmod-crypto-deflate and kmod-ledtrig-gpio as the device works the
    same by default without them
    
    Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
---
 target/linux/ar71xx/image/generic.mk        | 15 +++++++++------
 target/linux/ar71xx/image/legacy-devices.mk |  8 --------
 2 files changed, 9 insertions(+), 14 deletions(-)

diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk
index 095c542..6802501 100644
--- a/target/linux/ar71xx/image/generic.mk
+++ b/target/linux/ar71xx/image/generic.mk
@@ -421,11 +421,14 @@ define Build/uImageHiWiFi
 endef
 
 define Device/hiwifi-hc6361
-    BOARDNAME := HiWiFi-HC6361
-    DEVICE_PROFILE := HIWIFI_HC6361
-    IMAGE_SIZE := 16128k
-    KERNEL := kernel-bin | patch-cmdline | lzma | uImageHiWiFi lzma
-    CONSOLE := ttyATH0,115200
-    MTDPARTS := spi0.0:64k(u-boot)ro,64k(bdinfo)ro,16128k(firmware),64k(backup)ro,64k(art)ro
+  DEVICE_TITLE := HiWiFi HC6361
+  DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-storage \
+	kmod-fs-ext4 kmod-nls-iso8859-1 e2fsprogs
+  BOARDNAME := HiWiFi-HC6361
+  DEVICE_PROFILE := HIWIFI_HC6361
+  IMAGE_SIZE := 16128k
+  KERNEL := kernel-bin | patch-cmdline | lzma | uImageHiWiFi lzma
+  CONSOLE := ttyATH0,115200
+  MTDPARTS := spi0.0:64k(u-boot)ro,64k(bdinfo)ro,16128k(firmware),64k(backup)ro,64k(art)ro
 endef
 TARGET_DEVICES += hiwifi-hc6361
diff --git a/target/linux/ar71xx/image/legacy-devices.mk b/target/linux/ar71xx/image/legacy-devices.mk
index 0e51fef..c8e1476 100644
--- a/target/linux/ar71xx/image/legacy-devices.mk
+++ b/target/linux/ar71xx/image/legacy-devices.mk
@@ -401,14 +401,6 @@ define LegacyDevice/EWDORIN
 endef
 LEGACY_DEVICES += EWDORIN
 
-define LegacyDevice/HIWIFI_HC6361
-	DEVICE_TITLE := HiWiFi HC6361
-	DEVICE_PACKAGES :=  kmod-usb-core kmod-usb2 kmod-usb-storage \
-		kmod-crypto-deflate kmod-fs-ext4 kmod-ledtrig-gpio \
-		kmod-nls-iso8859-1 e2fsprogs
-endef
-LEGACY_DEVICES += HIWIFI_HC6361
-
 define LegacyDevice/JA76PF
 	DEVICE_TITLE := jjPlus JA76PF
 	DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-hwmon-core kmod-i2c-core kmod-hwmon-lm75



More information about the lede-commits mailing list