diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-04-15 14:47:40 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-04-15 14:47:40 +0000 |
commit | 3be35d749224eb82f0e4cae20471aeba2e8f5640 (patch) | |
tree | 37d7548e2cc912e96e5e756ccb0781de0221de2b /package | |
parent | d3220492fc88f0438708251f6ac41e93f9753f41 (diff) | |
download | upstream-3be35d749224eb82f0e4cae20471aeba2e8f5640.tar.gz upstream-3be35d749224eb82f0e4cae20471aeba2e8f5640.tar.bz2 upstream-3be35d749224eb82f0e4cae20471aeba2e8f5640.zip |
Build usbnet modules for brcm targets (#1481)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6955 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/modules/usb.mk | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index cffd05394b..eb97262a76 100644 --- a/package/kernel/modules/usb.mk +++ b/package/kernel/modules/usb.mk @@ -277,10 +277,17 @@ define KernelPackage/usb-net DESCRIPTION:=Kernel modules for USB-to-Ethernet convertors KCONFIG:=$(CONFIG_USB_USBNET) DEPENDS:=@USB_SUPPORT - FILES:= \ - $(MODULES_DIR)/kernel/drivers/usb/net/usbnet.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call Autoload,60, usbnet) endef + +define KernelPackage/usb-net/2.4 + FILES:=$(MODULES_DIR)/kernel/drivers/usb/usbnet.$(LINUX_KMOD_SUFFIX) +endef + +define KernelPackage/usb-net/2.6 + FILES:=$(MODULES_DIR)/kernel/drivers/usb/net/usbnet.$(LINUX_KMOD_SUFFIX) +endef + $(eval $(call KernelPackage,usb-net)) define KernelPackage/usb-net-asix @@ -289,8 +296,16 @@ define KernelPackage/usb-net-asix DESCRIPTION:=Kernel module for USB-to-Ethernet Asix convertors DEPENDS:=kmod-usb-net KCONFIG:=$(CONFIG_USB_NET_AX8817X) - FILES:= \ - $(MODULES_DIR)/kernel/drivers/usb/net/asix.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call Autoload,61, asix) endef + +define KernelPackage/usb-net-asix/2.4 + FILES:=$(MODULES_DIR)/kernel/drivers/usb/ax8817x.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call Autoload,61,ax8817x) +endef + +define KernelPackage/usb-net-asix/2.6 + FILES:=$(MODULES_DIR)/kernel/drivers/usb/net/asix.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call Autoload,61,asix) +endef + $(eval $(call KernelPackage,usb-net-asix)) |