From bc5633442867d4993ca7a9ab5bf6a7814bd27536 Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Wed, 19 Jun 2024 10:53:01 +0000 Subject: [PATCH] ath79: trim useless package kmod-leds-reset for some devices Only NETGEAR WNDR3x00 series devices have reset controller LED. Signed-off-by: Shiji Yang --- target/linux/ath79/image/generic.mk | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk index ccfef01fbc..f6dba8604d 100644 --- a/target/linux/ath79/image/generic.mk +++ b/target/linux/ath79/image/generic.mk @@ -682,7 +682,7 @@ define Device/buffalo_wzr_ar7161 SOC := ar7161 BUFFALO_PRODUCT := WZR-HP-AG300H DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \ - kmod-leds-reset kmod-owl-loader + kmod-owl-loader IMAGE_SIZE := 32320k SUPPORTED_DEVICES += wzr-hp-ag300h endef @@ -1211,7 +1211,7 @@ define Device/dlink_dir-825-b1 DEVICE_MODEL := DIR-825 DEVICE_VARIANT := B1 DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \ - kmod-leds-reset kmod-owl-loader kmod-switch-rtl8366s + kmod-owl-loader kmod-switch-rtl8366s IMAGE_SIZE := 7808k FACTORY_SIZE := 6144k # IMAGES += factory.bin @@ -1226,8 +1226,7 @@ define Device/dlink_dir-825-c1 DEVICE_VENDOR := D-Link DEVICE_MODEL := DIR-825 DEVICE_VARIANT := C1 - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset \ - kmod-owl-loader + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-owl-loader SUPPORTED_DEVICES += dir-825-c1 IMAGE_SIZE := 15936k IMAGES := factory.bin sysupgrade.bin @@ -1244,7 +1243,7 @@ define Device/dlink_dir-835-a1 DEVICE_VENDOR := D-Link DEVICE_MODEL := DIR-835 DEVICE_VARIANT := A1 - DEVICE_PACKAGES := kmod-usb2 kmod-leds-reset kmod-owl-loader + DEVICE_PACKAGES := kmod-usb2 kmod-owl-loader SUPPORTED_DEVICES += dir-835-a1 IMAGE_SIZE := 15936k IMAGES := factory.bin sysupgrade.bin @@ -2110,7 +2109,6 @@ define Device/netgear_wndap360 $(Device/netgear_generic) SOC := ar7161 DEVICE_MODEL := WNDAP360 - DEVICE_PACKAGES := kmod-leds-reset IMAGE_SIZE := 7744k BLOCKSIZE := 256k KERNEL := kernel-bin | append-dtb | gzip | uImage gzip @@ -2531,7 +2529,7 @@ define Device/phicomm_k2t IMAGE_SIZE := 15744k IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \ check-size | append-metadata - DEVICE_PACKAGES := kmod-leds-reset kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9888-ct + DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9888-ct endef TARGET_DEVICES += phicomm_k2t -- 2.30.2