xref: /openbmc/linux/drivers/hid/Makefile (revision b34e08d5)
1#
2# Makefile for the HID driver
3#
4hid-y			:= hid-core.o hid-input.o
5
6ifdef CONFIG_DEBUG_FS
7	hid-objs		+= hid-debug.o
8endif
9
10obj-$(CONFIG_HID)		+= hid.o
11obj-$(CONFIG_UHID)		+= uhid.o
12
13obj-$(CONFIG_HID_GENERIC)	+= hid-generic.o
14
15hid-$(CONFIG_HIDRAW)		+= hidraw.o
16
17hid-logitech-y		:= hid-lg.o
18ifdef CONFIG_LOGITECH_FF
19	hid-logitech-y	+= hid-lgff.o
20endif
21ifdef CONFIG_LOGIRUMBLEPAD2_FF
22	hid-logitech-y	+= hid-lg2ff.o
23endif
24ifdef CONFIG_LOGIG940_FF
25	hid-logitech-y	+= hid-lg3ff.o
26endif
27ifdef CONFIG_LOGIWHEELS_FF
28	hid-logitech-y	+= hid-lg4ff.o
29endif
30
31hid-wiimote-y		:= hid-wiimote-core.o hid-wiimote-modules.o
32ifdef CONFIG_DEBUG_FS
33	hid-wiimote-y	+= hid-wiimote-debug.o
34endif
35
36obj-$(CONFIG_HID_A4TECH)	+= hid-a4tech.o
37obj-$(CONFIG_HID_ACRUX)		+= hid-axff.o
38obj-$(CONFIG_HID_APPLE)		+= hid-apple.o
39obj-$(CONFIG_HID_APPLEIR)	+= hid-appleir.o
40obj-$(CONFIG_HID_AUREAL)        += hid-aureal.o
41obj-$(CONFIG_HID_BELKIN)	+= hid-belkin.o
42obj-$(CONFIG_HID_CHERRY)	+= hid-cherry.o
43obj-$(CONFIG_HID_CHICONY)	+= hid-chicony.o
44obj-$(CONFIG_HID_CP2112)	+= hid-cp2112.o
45obj-$(CONFIG_HID_CYPRESS)	+= hid-cypress.o
46obj-$(CONFIG_HID_DRAGONRISE)	+= hid-dr.o
47obj-$(CONFIG_HID_EMS_FF)	+= hid-emsff.o
48obj-$(CONFIG_HID_ELECOM)	+= hid-elecom.o
49obj-$(CONFIG_HID_ELO)		+= hid-elo.o
50obj-$(CONFIG_HID_EZKEY)		+= hid-ezkey.o
51obj-$(CONFIG_HID_GYRATION)	+= hid-gyration.o
52obj-$(CONFIG_HID_HOLTEK)	+= hid-holtek-kbd.o
53obj-$(CONFIG_HID_HOLTEK)	+= hid-holtek-mouse.o
54obj-$(CONFIG_HID_HOLTEK)	+= hid-holtekff.o
55obj-$(CONFIG_HID_HUION)		+= hid-huion.o
56obj-$(CONFIG_HID_HYPERV_MOUSE)	+= hid-hyperv.o
57obj-$(CONFIG_HID_ICADE)		+= hid-icade.o
58obj-$(CONFIG_HID_KENSINGTON)	+= hid-kensington.o
59obj-$(CONFIG_HID_KEYTOUCH)	+= hid-keytouch.o
60obj-$(CONFIG_HID_KYE)		+= hid-kye.o
61obj-$(CONFIG_HID_LCPOWER)       += hid-lcpower.o
62obj-$(CONFIG_HID_LENOVO_TPKBD)	+= hid-lenovo-tpkbd.o
63obj-$(CONFIG_HID_LOGITECH)	+= hid-logitech.o
64obj-$(CONFIG_HID_LOGITECH_DJ)	+= hid-logitech-dj.o
65obj-$(CONFIG_HID_MAGICMOUSE)    += hid-magicmouse.o
66obj-$(CONFIG_HID_MICROSOFT)	+= hid-microsoft.o
67obj-$(CONFIG_HID_MONTEREY)	+= hid-monterey.o
68obj-$(CONFIG_HID_MULTITOUCH)	+= hid-multitouch.o
69obj-$(CONFIG_HID_NTRIG)		+= hid-ntrig.o
70obj-$(CONFIG_HID_ORTEK)		+= hid-ortek.o
71obj-$(CONFIG_HID_PRODIKEYS)	+= hid-prodikeys.o
72obj-$(CONFIG_HID_PANTHERLORD)	+= hid-pl.o
73obj-$(CONFIG_HID_PETALYNX)	+= hid-petalynx.o
74obj-$(CONFIG_HID_PICOLCD)	+= hid-picolcd.o
75hid-picolcd-y			+= hid-picolcd_core.o
76ifdef CONFIG_HID_PICOLCD_FB
77hid-picolcd-y			+= hid-picolcd_fb.o
78endif
79ifdef CONFIG_HID_PICOLCD_BACKLIGHT
80hid-picolcd-y			+= hid-picolcd_backlight.o
81endif
82ifdef CONFIG_HID_PICOLCD_LCD
83hid-picolcd-y			+= hid-picolcd_lcd.o
84endif
85ifdef CONFIG_HID_PICOLCD_LEDS
86hid-picolcd-y			+= hid-picolcd_leds.o
87endif
88ifdef CONFIG_HID_PICOLCD_CIR
89hid-picolcd-y			+= hid-picolcd_cir.o
90endif
91ifdef CONFIG_DEBUG_FS
92hid-picolcd-y			+= hid-picolcd_debugfs.o
93endif
94
95obj-$(CONFIG_HID_PRIMAX)	+= hid-primax.o
96obj-$(CONFIG_HID_ROCCAT)	+= hid-roccat.o hid-roccat-common.o \
97	hid-roccat-arvo.o hid-roccat-isku.o hid-roccat-kone.o \
98	hid-roccat-koneplus.o hid-roccat-konepure.o hid-roccat-kovaplus.o \
99	hid-roccat-lua.o hid-roccat-pyra.o hid-roccat-ryos.o hid-roccat-savu.o
100obj-$(CONFIG_HID_SAITEK)	+= hid-saitek.o
101obj-$(CONFIG_HID_SAMSUNG)	+= hid-samsung.o
102obj-$(CONFIG_HID_SMARTJOYPLUS)	+= hid-sjoy.o
103obj-$(CONFIG_HID_SONY)		+= hid-sony.o
104obj-$(CONFIG_HID_SPEEDLINK)	+= hid-speedlink.o
105obj-$(CONFIG_HID_STEELSERIES)	+= hid-steelseries.o
106obj-$(CONFIG_HID_SUNPLUS)	+= hid-sunplus.o
107obj-$(CONFIG_HID_GREENASIA)	+= hid-gaff.o
108obj-$(CONFIG_HID_THINGM)	+= hid-thingm.o
109obj-$(CONFIG_HID_THRUSTMASTER)	+= hid-tmff.o
110obj-$(CONFIG_HID_TIVO)		+= hid-tivo.o
111obj-$(CONFIG_HID_TOPSEED)	+= hid-topseed.o
112obj-$(CONFIG_HID_TWINHAN)	+= hid-twinhan.o
113obj-$(CONFIG_HID_UCLOGIC)	+= hid-uclogic.o
114obj-$(CONFIG_HID_XINMO)		+= hid-xinmo.o
115obj-$(CONFIG_HID_ZEROPLUS)	+= hid-zpff.o
116obj-$(CONFIG_HID_ZYDACRON)	+= hid-zydacron.o
117obj-$(CONFIG_HID_WACOM)		+= hid-wacom.o
118obj-$(CONFIG_HID_WALTOP)	+= hid-waltop.o
119obj-$(CONFIG_HID_WIIMOTE)	+= hid-wiimote.o
120obj-$(CONFIG_HID_SENSOR_HUB)	+= hid-sensor-hub.o
121
122obj-$(CONFIG_USB_HID)		+= usbhid/
123obj-$(CONFIG_USB_MOUSE)		+= usbhid/
124obj-$(CONFIG_USB_KBD)		+= usbhid/
125
126obj-$(CONFIG_I2C_HID)		+= i2c-hid/
127