From: Til Kaiser Date: Sun, 28 Apr 2024 12:25:23 +0000 (+0200) Subject: kernel: modules: add x86 dependency for leds-mlxcpld X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ad3a7fc129590ce67f4a9057748c83df7e6a5ed2;p=openwrt%2Fstaging%2Fneocturne.git kernel: modules: add x86 dependency for leds-mlxcpld This commit adds the missing x86 dependency for the Mellanox mlxcpld LED driver. Signed-off-by: Til Kaiser Link: https://github.com/openwrt/openwrt/pull/15362 Signed-off-by: Hauke Mehrtens --- diff --git a/package/kernel/linux/modules/leds.mk b/package/kernel/linux/modules/leds.mk index 60465a8ad5..8b24cb0ef8 100644 --- a/package/kernel/linux/modules/leds.mk +++ b/package/kernel/linux/modules/leds.mk @@ -150,8 +150,9 @@ $(eval $(call KernelPackage,leds-apu)) define KernelPackage/leds-mlxcpld SUBMENU:=$(LEDS_MENU) TITLE:=LED support for the Mellanox boards - FILES:=$(LINUX_DIR)/drivers/leds/leds-mlxcpld.ko + DEPENDS:=@TARGET_x86 KCONFIG:=CONFIG_LEDS_MLXCPLD + FILES:=$(LINUX_DIR)/drivers/leds/leds-mlxcpld.ko AUTOLOAD:=$(call AutoProbe,leds-mlxcpld) endef