aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/usb.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index af41339777..1054e4a2d0 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -13,10 +13,17 @@ define KernelPackage/usb-core
DESCRIPTION:=Kernel support for USB
DEPENDS:=@USB_SUPPORT
KCONFIG:=$(CONFIG_USB)
- FILES:=$(MODULES_DIR)/kernel/drivers/usb/usbcore.$(LINUX_KMOD_SUFFIX)
SUBMENU:=$(USBMENU)
AUTOLOAD:=$(call AutoLoad,20,usb-core)
endef
+
+define KernelPackage/usb-core/2.4
+ FILES:=$(MODULES_DIR)/kernel/drivers/usb/usbcore.$(LINUX_KMOD_SUFFIX)
+endef
+
+define KernelPackage/usb-core/2.6
+ FILES:=$(MODULES_DIR)/kernel/drivers/usb/core/usbcore.$(LINUX_KMOD_SUFFIX)
+endef
$(eval $(call KernelPackage,usb-core))