From 11cbe29833db3a7ec41ac1c4c675fb0b31338f39 Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Thu, 30 Jun 2016 09:54:18 +0800 Subject: [PATCH] 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 --- 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 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 -- 2.30.2