kernel version specific fixups for kmod packages
SVN-Revision: 7700
This commit is contained in:
parent
10a781acf2
commit
024f89c53f
1 changed files with 13 additions and 7 deletions
|
@ -8,12 +8,18 @@
|
||||||
|
|
||||||
USBMENU:=USB Support
|
USBMENU:=USB Support
|
||||||
|
|
||||||
# This is 2.6.22 specific
|
ifeq ($(KERNEL),2.4)
|
||||||
#ifeq ($(KERNEL),2.4)
|
USBNET_DIR:=usb/net
|
||||||
USBNET_DIR=usb/net
|
endif
|
||||||
#else
|
ifeq ($(KERNEL_PATCHVER),2.6.21)
|
||||||
# USBNET_DIR=net/usb
|
USBNET_DIR:=usb/net
|
||||||
#endif
|
endif
|
||||||
|
USBNET_DIR?=net/usb
|
||||||
|
|
||||||
|
ifeq ($(KERNEL_PATCHVER),2.6.21)
|
||||||
|
USBHID_DIR:=drivers/usb/input
|
||||||
|
endif
|
||||||
|
USBHID_DIR?=drivers/hid/usbhid
|
||||||
|
|
||||||
define usbdep
|
define usbdep
|
||||||
SUBMENU:=$(USBMENU)
|
SUBMENU:=$(USBMENU)
|
||||||
|
@ -400,7 +406,7 @@ define KernelPackage/usb-hid
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/usb-hid/2.6
|
define KernelPackage/usb-hid/2.6
|
||||||
FILES:=$(LINUX_DIR)/drivers/usb/input/usbhid.ko
|
FILES:=$(LINUX_DIR)/$(USBHID_DIR)/usbhid.ko
|
||||||
endef
|
endef
|
||||||
$(eval $(call KernelPackage,usb-hid))
|
$(eval $(call KernelPackage,usb-hid))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue