From: Daniel Dickinson Date: Mon, 3 Oct 2011 03:09:20 +0000 (+0000) Subject: Add patch for linux-3.0 as well. X-Git-Tag: reboot~15871 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c0a625ffbf258ebcfb94b055d9c14759121c3011;p=openwrt%2Fstaging%2Fxback.git Add patch for linux-3.0 as well. Fix typo from previous submission with input-keys-polled. Philip Prindeville - 2011-10-03 01:44:55 SVN-Revision: 28356 --- diff --git a/package/kernel/modules/leds.mk b/package/kernel/modules/leds.mk index 43f3ce930e..e6506fa558 100644 --- a/package/kernel/modules/leds.mk +++ b/package/kernel/modules/leds.mk @@ -8,6 +8,7 @@ LEDS_MENU:=LED modules +ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),lt,2.6.39)),1) define KernelPackage/leds-alix SUBMENU:=$(LEDS_MENU) TITLE:=PCengines ALIX LED support @@ -22,6 +23,7 @@ define KernelPackage/leds-alix/description endef $(eval $(call KernelPackage,leds-alix)) +endif define KernelPackage/leds-gpio diff --git a/target/linux/x86/alix2/target.mk b/target/linux/x86/alix2/target.mk index 0c1c3d2dcb..cece30e173 100644 --- a/target/linux/x86/alix2/target.mk +++ b/target/linux/x86/alix2/target.mk @@ -7,7 +7,7 @@ DEFAULT_PACKAGES += \ kmod-wdt-geode kmod-cs5535-clockevt kmod-cs5535-mfgpt \ kmod-cs5536 \ kmod-hwmon-core kmod-hwmon-lm90 \ - kmod-via-rhine kmod-leds-alix \ + kmod-via-rhine \ kmod-i2c-core kmod-i2c-gpio \ kmod-i2c-algo-bit kmod-i2c-algo-pca kmod-i2c-algo-pcf \ kmod-i2c-scx200-acb \