[openwrt/openwrt] nu801: add kmod-leds-uleds to MR26 + MR18

LEDE Commits lede-commits at lists.infradead.org
Thu May 18 07:18:16 PDT 2023


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/ec4d63ffb34337761ccecb4c6f1fc91a4409a95e

commit ec4d63ffb34337761ccecb4c6f1fc91a4409a95e
Author: Christian Lamparter <chunkeey at gmail.com>
AuthorDate: Wed May 17 22:33:36 2023 +0200

    nu801: add kmod-leds-uleds to MR26 + MR18
    
    support for MR18 and MR26 was developped before
    the userspace nu801 was integrated with x86's
    MX100 into OpenWrt. The initial nu801 + kmod-leds-uleds
    caused build-bot errors.
    
    The solution that worked for the MX100 was to include
    the kmod-leds-uleds to the device platform module.
    Thankfully, the MR26 and MR18 can just add the uleds
    package to the DEVICE_PACKAGES variable.
    
    Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
 target/linux/ath79/image/nand.mk    | 2 +-
 target/linux/bcm53xx/image/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ath79/image/nand.mk b/target/linux/ath79/image/nand.mk
index 4f34521a50..d1bd4feb1f 100644
--- a/target/linux/ath79/image/nand.mk
+++ b/target/linux/ath79/image/nand.mk
@@ -272,7 +272,7 @@ define Device/meraki_mr18
   SOC := qca9557
   DEVICE_VENDOR := Meraki
   DEVICE_MODEL := MR18
-  DEVICE_PACKAGES := kmod-spi-gpio nu801
+  DEVICE_PACKAGES := kmod-leds-uleds kmod-spi-gpio nu801
   KERNEL_SIZE := 8m
   BLOCKSIZE := 128k
   PAGESIZE := 2048
diff --git a/target/linux/bcm53xx/image/Makefile b/target/linux/bcm53xx/image/Makefile
index 1cb08effce..defa68e59f 100644
--- a/target/linux/bcm53xx/image/Makefile
+++ b/target/linux/bcm53xx/image/Makefile
@@ -351,7 +351,7 @@ define Device/meraki_mr26
   DEVICE_VENDOR := Meraki
   DEVICE_MODEL := MR26
   DEVICE_PACKAGES := $(B43) kmod-i2c-bcm-iproc kmod-eeprom-at24 \
-	kmod-hwmon-ina2xx nu801
+	kmod-hwmon-ina2xx kmod-leds-uleds nu801
   DEVICE_DTS := bcm53015-meraki-mr26
 # resize the initramfs to fit the size of the existing part.safe.
   KERNEL_LOADADDR := 0x00008000




More information about the lede-commits mailing list