Sorry I reversed the if..else
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_ALIX
+else
+ KCONFIG:=CONFIG_LEDS_ALIX2
+endif
FILES:=$(LINUX_DIR)/drivers/leds/leds-alix.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,50,leds-alix)
endef
On 10/10/2009 07:56 PM, Roberto Riggio wrote:
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
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel