]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mvebu: make leds-turris-omnia depend on turris-omnia-mcu
authorStefan Kalscheuer <stefan@stklcode.de>
Sat, 11 Apr 2026 12:09:33 +0000 (14:09 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 12 May 2026 19:01:06 +0000 (21:01 +0200)
Without explicit dependency between these two packages compilation
against Kernel 6.18 fails with the following error:

    Package kmod-leds-turris-omnia is missing dependencies for the
    following libraries: turris-omnia-mcu.ko

Make the dependency explicit to resolve this issue.

Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
Link: https://github.com/openwrt/openwrt/pull/22761
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mvebu/modules.mk

index 849a5af55d1bdfaf40fe8a4acef9e74d2aa6a7bc..a4a15543f93aac65999971b6e16e08a7de6e085e 100644 (file)
@@ -45,7 +45,7 @@ $(eval $(call KernelPackage,turris-omnia-mcu))
 define KernelPackage/leds-turris-omnia
    SUBMENU:=$(LEDS_MENU)
    TITLE:=LED support for CZ.NIC's Turris Omnia
-   DEPENDS:=@TARGET_mvebu_cortexa9
+   DEPENDS:=@TARGET_mvebu_cortexa9 kmod-turris-omnia-mcu
    KCONFIG:=CONFIG_LEDS_TURRIS_OMNIA
    FILES:=$(LINUX_DIR)/drivers/leds/leds-turris-omnia.ko
    AUTOLOAD:=$(call AutoLoad,60,leds-turris-omnia,1)