fix path to usbcore.ko
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 17 Oct 2006 21:21:55 +0000 (21:21 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 17 Oct 2006 21:21:55 +0000 (21:21 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5200 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/kernel/modules/usb.mk

index af41339..1054e4a 100644 (file)
@@ -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))