From: Christian Lamparter Date: Wed, 17 May 2023 20:33:36 +0000 (+0200) Subject: nu801: add kmod-leds-uleds to MR26 + MR18 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=ec4d63ffb34337761ccecb4c6f1fc91a4409a95e;p=openwrt%2Fstaging%2Fnbd.git 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 --- 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