package/kernel: renable kmod-input on 2.4 (closes: #7063)
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 29 Apr 2010 16:04:19 +0000 (16:04 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 29 Apr 2010 16:04:19 +0000 (16:04 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21262 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/kernel/modules/other.mk

index 403af57..261a65e 100644 (file)
@@ -270,10 +270,7 @@ $(eval $(call KernelPackage,hid))
 define KernelPackage/input-core
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Input device core
-  DEPENDS:=@LINUX_2_6
   KCONFIG:=CONFIG_INPUT
-  FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX)
-  AUTOLOAD:=$(call AutoLoad,19,input-core)
   $(call SetDepends/input)
 endef
 
@@ -281,6 +278,16 @@ define KernelPackage/input-core/description
  Kernel modules for support of input device
 endef
 
+define KernelPackage/input-core/2.4
+  FILES:=$(LINUX_DIR)/drivers/input/input.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,19,input)
+endef
+
+define KernelPackage/input-core/2.6
+  FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,19,input-core)
+endef
+
 $(eval $(call KernelPackage,input-core))
 
 
This page took 0.029269 seconds and 4 git commands to generate.