summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-17 21:21:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-17 21:21:55 +0000
commit4664a13c59dd18997fa0e8af8c5298a6ea96f155 (patch)
treeb8ead797a8e1a0e5211078af54890f080701a858 /package/kernel
parent7f3d638c4ab95728f03c177dd2cd90901f97a7d8 (diff)
downloadmtk-20170518-4664a13c59dd18997fa0e8af8c5298a6ea96f155.zip
mtk-20170518-4664a13c59dd18997fa0e8af8c5298a6ea96f155.tar.gz
mtk-20170518-4664a13c59dd18997fa0e8af8c5298a6ea96f155.tar.bz2
fix path to usbcore.ko
SVN-Revision: 5200
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 af41339..1054e4a 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))