fix path to usbcore.ko
authorFelix Fietkau <nbd@openwrt.org>
Tue, 17 Oct 2006 21:21:55 +0000 (21:21 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 17 Oct 2006 21:21:55 +0000 (21:21 +0000)
SVN-Revision: 5200

package/kernel/modules/usb.mk

index af4133977754692c5fd07c30cb4786cf5716ac2b..1054e4a2d0fd277f8061152492e5f1f74b535c68 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))