SVN-Revision: 7789
This commit is contained in:
Felix Fietkau 2007-06-30 12:11:46 +00:00
parent 78c9e79c15
commit 938e5f8466

View File

@ -11,19 +11,15 @@ USBMENU:=USB Support
ifeq ($(KERNEL),2.4) ifeq ($(KERNEL),2.4)
USBNET_DIR:=usb/net USBNET_DIR:=usb/net
endif endif
ifeq ($(KERNEL_PATCHVER),2.6.21) ifeq ($(KERNEL_PATCHVER),2.6.21)
USBNET_DIR:=usb/net USBNET_DIR:=usb/net
endif USBHID_DIR:=usb/input
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)
USBINPUT_DIR:=usb/input USBINPUT_DIR:=usb/input
endif endif
USBNET_DIR?=net/usb
USBHID_DIR?=hid/usbhid
USBINPUT_DIR?=input/misc USBINPUT_DIR?=input/misc
define usbdep define usbdep
@ -411,7 +407,7 @@ define KernelPackage/usb-hid
endef endef
define KernelPackage/usb-hid/2.6 define KernelPackage/usb-hid/2.6
FILES:=$(LINUX_DIR)/$(USBHID_DIR)/usbhid.ko FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
endef endef
$(eval $(call KernelPackage,usb-hid)) $(eval $(call KernelPackage,usb-hid))