diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-06-30 12:11:46 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-06-30 12:11:46 +0000 |
commit | 938e5f84667eb9ee2129431e6a80232dfa949789 (patch) | |
tree | d194c0a2e34a879701400ae551d94cb5a360cbee | |
parent | 78c9e79c159f0cfb0b38fb4a0431afb9da7296bd (diff) | |
download | mtk-20170518-938e5f84667eb9ee2129431e6a80232dfa949789.zip mtk-20170518-938e5f84667eb9ee2129431e6a80232dfa949789.tar.gz mtk-20170518-938e5f84667eb9ee2129431e6a80232dfa949789.tar.bz2 |
cleanup
SVN-Revision: 7789
-rw-r--r-- | package/kernel/modules/usb.mk | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index 1add875..12a55d7 100644 --- a/package/kernel/modules/usb.mk +++ b/package/kernel/modules/usb.mk @@ -11,19 +11,15 @@ USBMENU:=USB Support ifeq ($(KERNEL),2.4) USBNET_DIR:=usb/net endif -ifeq ($(KERNEL_PATCHVER),2.6.21) - USBNET_DIR:=usb/net -endif -USBNET_DIR?=net/usb - -ifeq ($(KERNEL_PATCHVER),2.6.21) - USBHID_DIR:=drivers/usb/input -endif -USBHID_DIR?=drivers/hid/usbhid 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 @@ -411,7 +407,7 @@ define KernelPackage/usb-hid 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)) |