Jiri Kosina | 6db3dfe | 2007-03-08 16:47:49 +0100 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the USB input drivers |
| 3 | # |
| 4 | |
| 5 | # Multipart objects. |
Paul Walmsley | 2eb5dc3 | 2007-04-19 13:27:04 +0200 | [diff] [blame^] | 6 | usbhid-objs := hid-core.o hid-quirks.o |
Jiri Kosina | 6db3dfe | 2007-03-08 16:47:49 +0100 | [diff] [blame] | 7 | |
| 8 | # Optional parts of multipart objects. |
| 9 | |
| 10 | ifeq ($(CONFIG_USB_HIDDEV),y) |
| 11 | usbhid-objs += hiddev.o |
| 12 | endif |
| 13 | ifeq ($(CONFIG_HID_PID),y) |
| 14 | usbhid-objs += hid-pidff.o |
| 15 | endif |
| 16 | ifeq ($(CONFIG_LOGITECH_FF),y) |
| 17 | usbhid-objs += hid-lgff.o |
| 18 | endif |
| 19 | ifeq ($(CONFIG_PANTHERLORD_FF),y) |
| 20 | usbhid-objs += hid-plff.o |
| 21 | endif |
| 22 | ifeq ($(CONFIG_THRUSTMASTER_FF),y) |
| 23 | usbhid-objs += hid-tmff.o |
| 24 | endif |
| 25 | ifeq ($(CONFIG_ZEROPLUS_FF),y) |
| 26 | usbhid-objs += hid-zpff.o |
| 27 | endif |
| 28 | ifeq ($(CONFIG_HID_FF),y) |
| 29 | usbhid-objs += hid-ff.o |
| 30 | endif |
| 31 | |
| 32 | obj-$(CONFIG_USB_HID) += usbhid.o |
| 33 | obj-$(CONFIG_USB_KBD) += usbkbd.o |
| 34 | obj-$(CONFIG_USB_MOUSE) += usbmouse.o |
| 35 | |