From 4664a13c59dd18997fa0e8af8c5298a6ea96f155 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Tue, 17 Oct 2006 21:21:55 +0000
Subject: fix path to usbcore.ko

SVN-Revision: 5200
---
 package/kernel/modules/usb.mk | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

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))
 
 
-- 
cgit v1.1