projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2.6.22 is released :)
[openwrt.git]
/
package
/
kernel
/
modules
/
usb.mk
diff --git
a/package/kernel/modules/usb.mk
b/package/kernel/modules/usb.mk
index
99ff481
..
12a55d7
100644
(file)
--- a/
package/kernel/modules/usb.mk
+++ b/
package/kernel/modules/usb.mk
@@
-8,12
+8,19
@@
USBMENU:=USB Support
USBMENU:=USB Support
-# This is 2.6.22 specific
-#ifeq ($(KERNEL),2.4)
- USBNET_DIR=usb/net
-#else
-# USBNET_DIR=net/usb
-#endif
+ifeq ($(KERNEL),2.4)
+ USBNET_DIR:=usb/net
+endif
+
+ifeq ($(KERNEL_PATCHVER),2.6.21)
+ USBNET_DIR:=usb/net
+ USBHID_DIR:=usb/input
+ USBINPUT_DIR:=usb/input
+endif
+
+USBNET_DIR?=net/usb
+USBHID_DIR?=hid/usbhid
+USBINPUT_DIR?=input/misc
define usbdep
SUBMENU:=$(USBMENU)
define usbdep
SUBMENU:=$(USBMENU)
@@
-400,7
+407,7
@@
define KernelPackage/usb-hid
endef
define KernelPackage/usb-hid/2.6
endef
define KernelPackage/usb-hid/2.6
- FILES:=$(LINUX_DIR)/drivers/
usb/input
/usbhid.ko
+ FILES:=$(LINUX_DIR)/drivers/
$(USBHID_DIR)
/usbhid.ko
endef
$(eval $(call KernelPackage,usb-hid))
endef
$(eval $(call KernelPackage,usb-hid))
@@
-409,7
+416,7
@@
define KernelPackage/usb-yealink
TITLE:=USB Yealink VOIP phone
DESCRIPTION:=Kernel support for Yealink VOIP phone
KCONFIG:=$(CONFIG_USB_YEALINK)
TITLE:=USB Yealink VOIP phone
DESCRIPTION:=Kernel support for Yealink VOIP phone
KCONFIG:=$(CONFIG_USB_YEALINK)
- FILES:=$(LINUX_DIR)/drivers/
usb/input
/yealink.ko
+ FILES:=$(LINUX_DIR)/drivers/
$(USBINPUT_DIR)
/yealink.ko
AUTOLOAD:=$(call AutoLoad,70,yealink)
endef
$(eval $(call KernelPackage,usb-yealink))
AUTOLOAD:=$(call AutoLoad,70,yealink)
endef
$(eval $(call KernelPackage,usb-yealink))
This page took
0.022517 seconds
and
4
git commands to generate.