blob: 00a7b70901925276e63237b023580c94ec21cec8 [file] [log] [blame]
Jiri Kosina6db3dfe2007-03-08 16:47:49 +01001#
2# Makefile for the USB input drivers
3#
4
5# Multipart objects.
Paul Walmsley2eb5dc32007-04-19 13:27:04 +02006usbhid-objs := hid-core.o hid-quirks.o
Jiri Kosina6db3dfe2007-03-08 16:47:49 +01007
8# Optional parts of multipart objects.
9
10ifeq ($(CONFIG_USB_HIDDEV),y)
11 usbhid-objs += hiddev.o
12endif
13ifeq ($(CONFIG_HID_PID),y)
14 usbhid-objs += hid-pidff.o
15endif
16ifeq ($(CONFIG_LOGITECH_FF),y)
17 usbhid-objs += hid-lgff.o
18endif
Anssi Hannulac17f9c92008-04-01 01:51:11 +020019ifeq ($(CONFIG_LOGIRUMBLEPAD2_FF),y)
20 usbhid-objs += hid-lg2ff.o
21endif
Jiri Kosina6db3dfe2007-03-08 16:47:49 +010022ifeq ($(CONFIG_PANTHERLORD_FF),y)
23 usbhid-objs += hid-plff.o
24endif
25ifeq ($(CONFIG_THRUSTMASTER_FF),y)
26 usbhid-objs += hid-tmff.o
27endif
28ifeq ($(CONFIG_ZEROPLUS_FF),y)
29 usbhid-objs += hid-zpff.o
30endif
31ifeq ($(CONFIG_HID_FF),y)
32 usbhid-objs += hid-ff.o
33endif
34
35obj-$(CONFIG_USB_HID) += usbhid.o
36obj-$(CONFIG_USB_KBD) += usbkbd.o
37obj-$(CONFIG_USB_MOUSE) += usbmouse.o
38