Signed-off-by: Roberto Riggio <[email protected]>

--

Index: package/kernel/modules/other.mk
===================================================================
--- package/kernel/modules/other.mk    (revision 18014)
+++ package/kernel/modules/other.mk    (working copy)
@@ -489,7 +489,11 @@
   SUBMENU:=$(OTHER_MENU)
   TITLE:=PCengines ALIX LED support
   DEPENDS:=...@target_x86
+ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.31)),1)
+  KCONFIG:=CONFIG_LEDS_ALIX2
+else
   KCONFIG:=CONFIG_LEDS_ALIX
+endif
   FILES:=$(LINUX_DIR)/drivers/leds/leds-alix.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,50,leds-alix)
 endef
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to