summaryrefslogtreecommitdiff
path: root/package/kernel/modules
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-05 22:46:02 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-05 22:46:02 +0000
commit546d769c67ae337575297359e5875f72025e5e76 (patch)
treebed40104e7e4d4b0418c02813609c886b8957cfa /package/kernel/modules
parent035104fa52869536501ea29c7a25be389da3d2c2 (diff)
upgrade a few packages to newer versions (includes patch by kaloz) - preparation for 2.6.22
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7507 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules')
-rw-r--r--package/kernel/modules/usb.mk14
1 files changed, 10 insertions, 4 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index 7ac43c8f0c..2f14f67579 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -8,6 +8,12 @@
USBMENU:=USB Support
+ifeq ($(KERNEL),2.4)
+ USBNET_DIR=usb/net
+else
+ USBNET_DIR=net/usb
+endif
+
define KernelPackage/usb-core
TITLE:=Support for USB
DESCRIPTION:=Kernel support for USB
@@ -325,7 +331,7 @@ define KernelPackage/usb-net/2.4
endef
define KernelPackage/usb-net/2.6
- FILES:=$(LINUX_DIR)/drivers/usb/net/usbnet.$(LINUX_KMOD_SUFFIX)
+ FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.$(LINUX_KMOD_SUFFIX)
endef
$(eval $(call KernelPackage,usb-net))
@@ -344,7 +350,7 @@ define KernelPackage/usb-net-asix/2.4
endef
define KernelPackage/usb-net-asix/2.6
- FILES:=$(LINUX_DIR)/drivers/usb/net/asix.$(LINUX_KMOD_SUFFIX)
+ FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call Autoload,61,asix)
endef
@@ -356,7 +362,7 @@ define KernelPackage/usb-net-kaweth
DESCRIPTION:=Kernel module for USB-to-Ethernet Kaweth convertors
DEPENDS:=kmod-usb-net
KCONFIG:=$(CONFIG_USB_KAWETH)
- FILES:=$(LINUX_DIR)/drivers/usb/net/kaweth.$(LINUX_KMOD_SUFFIX)
+ FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/kaweth.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call Autoload,61,kaweth)
endef
@@ -368,7 +374,7 @@ define KernelPackage/usb-net-pegasus
DESCRIPTION:=Kernel module for USB-to-Ethernet Pegasus convertors
DEPENDS:=kmod-usb-net
KCONFIG:=$(CONFIG_USB_PEGASUS)
- FILES:=$(LINUX_DIR)/drivers/usb/net/pegasus.$(LINUX_KMOD_SUFFIX)
+ FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/pegasus.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call Autoload,61,pegasus)
endef