[openwrt/openwrt] kernel: modules: add x86 dependency for leds-mlxcpld
LEDE Commits
lede-commits at lists.infradead.org
Thu Aug 29 11:41:08 PDT 2024
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/ad3a7fc129590ce67f4a9057748c83df7e6a5ed2
commit ad3a7fc129590ce67f4a9057748c83df7e6a5ed2
Author: Til Kaiser <mail at tk154.de>
AuthorDate: Sun Apr 28 14:25:23 2024 +0200
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 <mail at tk154.de>
Link: https://github.com/openwrt/openwrt/pull/15362
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/kernel/linux/modules/leds.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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
More information about the lede-commits
mailing list