aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2016-06-30 09:54:18 +0800
committerJohn Crispin <john@phrozen.org>2016-06-30 22:48:39 +0200
commit11cbe29833db3a7ec41ac1c4c675fb0b31338f39 (patch)
tree44b03b20d703a309073fbab1fd39efe4abe98513
parent9597675d8e0eb7f0d3cd738b8dade1ce45adda0d (diff)
downloadupstream-11cbe29833db3a7ec41ac1c4c675fb0b31338f39.tar.gz
upstream-11cbe29833db3a7ec41ac1c4c675fb0b31338f39.tar.bz2
upstream-11cbe29833db3a7ec41ac1c4c675fb0b31338f39.zip
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@gmail.com>
-rw-r--r--target/linux/ar71xx/image/generic.mk15
-rw-r--r--target/linux/ar71xx/image/legacy-devices.mk8
2 files changed, 9 insertions, 14 deletions
diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk
index 095c542e02..6802501bf2 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 0e51fef2fc..c8e14769b4 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