projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
check if oss emulation is available before trying to package it into soundcore
[openwrt.git]
/
package
/
kernel
/
modules
/
usb.mk
diff --git
a/package/kernel/modules/usb.mk
b/package/kernel/modules/usb.mk
index
18e711e
..
12a55d7
100644
(file)
--- a/
package/kernel/modules/usb.mk
+++ b/
package/kernel/modules/usb.mk
@@
-11,15
+11,16
@@
USBMENU:=USB Support
ifeq ($(KERNEL),2.4)
USBNET_DIR:=usb/net
endif
ifeq ($(KERNEL),2.4)
USBNET_DIR:=usb/net
endif
+
ifeq ($(KERNEL_PATCHVER),2.6.21)
USBNET_DIR:=usb/net
ifeq ($(KERNEL_PATCHVER),2.6.21)
USBNET_DIR:=usb/net
+ USBHID_DIR:=usb/input
+ USBINPUT_DIR:=usb/input
endif
endif
-USBNET_DIR?=net/usb
-ifeq ($(KERNEL_PATCHVER),2.6.21)
- USBHID_DIR:=drivers/usb/input
-endif
-USBHID_DIR?=drivers/hid/usbhid
+USBNET_DIR?=net/usb
+USBHID_DIR?=hid/usbhid
+USBINPUT_DIR?=input/misc
define usbdep
SUBMENU:=$(USBMENU)
define usbdep
SUBMENU:=$(USBMENU)
@@
-406,7
+407,7
@@
define KernelPackage/usb-hid
endef
define KernelPackage/usb-hid/2.6
endef
define KernelPackage/usb-hid/2.6
- FILES:=$(LINUX_DIR)/$(USBHID_DIR)/usbhid.ko
+ FILES:=$(LINUX_DIR)/
drivers/
$(USBHID_DIR)/usbhid.ko
endef
$(eval $(call KernelPackage,usb-hid))
endef
$(eval $(call KernelPackage,usb-hid))
@@
-415,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.021335 seconds
and
4
git commands to generate.