xref: /openbmc/linux/drivers/hid/Makefile (revision e6e8c82b)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the HID driver
4#
5hid-y			:= hid-core.o hid-input.o hid-quirks.o
6hid-$(CONFIG_DEBUG_FS)		+= hid-debug.o
7
8obj-$(CONFIG_HID)		+= hid.o
9obj-$(CONFIG_UHID)		+= uhid.o
10
11obj-$(CONFIG_HID_GENERIC)	+= hid-generic.o
12
13hid-$(CONFIG_HIDRAW)		+= hidraw.o
14
15hid-logitech-y		:= hid-lg.o
16hid-logitech-$(CONFIG_LOGITECH_FF)	+= hid-lgff.o
17hid-logitech-$(CONFIG_LOGIRUMBLEPAD2_FF)	+= hid-lg2ff.o
18hid-logitech-$(CONFIG_LOGIG940_FF)	+= hid-lg3ff.o
19hid-logitech-$(CONFIG_LOGIWHEELS_FF)	+= hid-lg4ff.o
20
21hid-wiimote-y		:= hid-wiimote-core.o hid-wiimote-modules.o
22hid-wiimote-$(CONFIG_DEBUG_FS)	+= hid-wiimote-debug.o
23
24obj-$(CONFIG_HID_A4TECH)	+= hid-a4tech.o
25obj-$(CONFIG_HID_ACCUTOUCH)	+= hid-accutouch.o
26obj-$(CONFIG_HID_ALPS)		+= hid-alps.o
27obj-$(CONFIG_HID_ACRUX)		+= hid-axff.o
28obj-$(CONFIG_HID_APPLE)		+= hid-apple.o
29obj-$(CONFIG_HID_APPLEIR)	+= hid-appleir.o
30obj-$(CONFIG_HID_ASUS)		+= hid-asus.o
31obj-$(CONFIG_HID_AUREAL)	+= hid-aureal.o
32obj-$(CONFIG_HID_BELKIN)	+= hid-belkin.o
33obj-$(CONFIG_HID_BETOP_FF)	+= hid-betopff.o
34obj-$(CONFIG_HID_BIGBEN_FF)	+= hid-bigbenff.o
35obj-$(CONFIG_HID_CHERRY)	+= hid-cherry.o
36obj-$(CONFIG_HID_CHICONY)	+= hid-chicony.o
37obj-$(CONFIG_HID_CMEDIA)	+= hid-cmedia.o
38obj-$(CONFIG_HID_CORSAIR)	+= hid-corsair.o
39obj-$(CONFIG_HID_COUGAR)	+= hid-cougar.o
40obj-$(CONFIG_HID_CP2112)	+= hid-cp2112.o
41obj-$(CONFIG_HID_CYPRESS)	+= hid-cypress.o
42obj-$(CONFIG_HID_DRAGONRISE)	+= hid-dr.o
43obj-$(CONFIG_HID_EMS_FF)	+= hid-emsff.o
44obj-$(CONFIG_HID_ELAN)		+= hid-elan.o
45obj-$(CONFIG_HID_ELECOM)	+= hid-elecom.o
46obj-$(CONFIG_HID_ELO)		+= hid-elo.o
47obj-$(CONFIG_HID_EZKEY)		+= hid-ezkey.o
48obj-$(CONFIG_HID_GEMBIRD)	+= hid-gembird.o
49obj-$(CONFIG_HID_GFRM)		+= hid-gfrm.o
50obj-$(CONFIG_HID_GOOGLE_HAMMER)	+= hid-google-hammer.o
51obj-$(CONFIG_HID_GT683R)	+= hid-gt683r.o
52obj-$(CONFIG_HID_GYRATION)	+= hid-gyration.o
53obj-$(CONFIG_HID_HOLTEK)	+= hid-holtek-kbd.o
54obj-$(CONFIG_HID_HOLTEK)	+= hid-holtek-mouse.o
55obj-$(CONFIG_HID_HOLTEK)	+= hid-holtekff.o
56obj-$(CONFIG_HID_HYPERV_MOUSE)	+= hid-hyperv.o
57obj-$(CONFIG_HID_ICADE)		+= hid-icade.o
58obj-$(CONFIG_HID_ITE)		+= hid-ite.o
59obj-$(CONFIG_HID_JABRA)		+= hid-jabra.o
60obj-$(CONFIG_HID_KENSINGTON)	+= hid-kensington.o
61obj-$(CONFIG_HID_KEYTOUCH)	+= hid-keytouch.o
62obj-$(CONFIG_HID_KYE)		+= hid-kye.o
63obj-$(CONFIG_HID_LCPOWER)	+= hid-lcpower.o
64obj-$(CONFIG_HID_LENOVO)	+= hid-lenovo.o
65obj-$(CONFIG_HID_LOGITECH)	+= hid-logitech.o
66obj-$(CONFIG_HID_LOGITECH_DJ)	+= hid-logitech-dj.o
67obj-$(CONFIG_HID_LOGITECH_HIDPP)	+= hid-logitech-hidpp.o
68obj-$(CONFIG_HID_MAGICMOUSE)	+= hid-magicmouse.o
69obj-$(CONFIG_HID_MAYFLASH)	+= hid-mf.o
70obj-$(CONFIG_HID_MICROSOFT)	+= hid-microsoft.o
71obj-$(CONFIG_HID_MONTEREY)	+= hid-monterey.o
72obj-$(CONFIG_HID_MULTITOUCH)	+= hid-multitouch.o
73obj-$(CONFIG_HID_NTI)			+= hid-nti.o
74obj-$(CONFIG_HID_NTRIG)		+= hid-ntrig.o
75obj-$(CONFIG_HID_ORTEK)		+= hid-ortek.o
76obj-$(CONFIG_HID_PRODIKEYS)	+= hid-prodikeys.o
77obj-$(CONFIG_HID_PANTHERLORD)	+= hid-pl.o
78obj-$(CONFIG_HID_PENMOUNT)	+= hid-penmount.o
79obj-$(CONFIG_HID_PETALYNX)	+= hid-petalynx.o
80obj-$(CONFIG_HID_PICOLCD)	+= hid-picolcd.o
81hid-picolcd-y			+= hid-picolcd_core.o
82hid-picolcd-$(CONFIG_HID_PICOLCD_FB)	+= hid-picolcd_fb.o
83hid-picolcd-$(CONFIG_HID_PICOLCD_BACKLIGHT)	+= hid-picolcd_backlight.o
84hid-picolcd-$(CONFIG_HID_PICOLCD_LCD)	+= hid-picolcd_lcd.o
85hid-picolcd-$(CONFIG_HID_PICOLCD_LEDS)	+= hid-picolcd_leds.o
86hid-picolcd-$(CONFIG_HID_PICOLCD_CIR)	+= hid-picolcd_cir.o
87hid-picolcd-$(CONFIG_DEBUG_FS)		+= hid-picolcd_debugfs.o
88
89obj-$(CONFIG_HID_PLANTRONICS)	+= hid-plantronics.o
90obj-$(CONFIG_HID_PRIMAX)	+= hid-primax.o
91obj-$(CONFIG_HID_REDRAGON)	+= hid-redragon.o
92obj-$(CONFIG_HID_RETRODE)	+= hid-retrode.o
93obj-$(CONFIG_HID_ROCCAT)	+= hid-roccat.o hid-roccat-common.o \
94	hid-roccat-arvo.o hid-roccat-isku.o hid-roccat-kone.o \
95	hid-roccat-koneplus.o hid-roccat-konepure.o hid-roccat-kovaplus.o \
96	hid-roccat-lua.o hid-roccat-pyra.o hid-roccat-ryos.o hid-roccat-savu.o
97obj-$(CONFIG_HID_RMI)		+= hid-rmi.o
98obj-$(CONFIG_HID_SAITEK)	+= hid-saitek.o
99obj-$(CONFIG_HID_SAMSUNG)	+= hid-samsung.o
100obj-$(CONFIG_HID_SMARTJOYPLUS)	+= hid-sjoy.o
101obj-$(CONFIG_HID_SONY)		+= hid-sony.o
102obj-$(CONFIG_HID_SPEEDLINK)	+= hid-speedlink.o
103obj-$(CONFIG_HID_STEAM)		+= hid-steam.o
104obj-$(CONFIG_HID_STEELSERIES)	+= hid-steelseries.o
105obj-$(CONFIG_HID_SUNPLUS)	+= hid-sunplus.o
106obj-$(CONFIG_HID_GREENASIA)	+= hid-gaff.o
107obj-$(CONFIG_HID_THRUSTMASTER)	+= hid-tmff.o
108obj-$(CONFIG_HID_TIVO)		+= hid-tivo.o
109obj-$(CONFIG_HID_TOPSEED)	+= hid-topseed.o
110obj-$(CONFIG_HID_TWINHAN)	+= hid-twinhan.o
111obj-$(CONFIG_HID_UCLOGIC)	+= hid-uclogic.o
112obj-$(CONFIG_HID_UDRAW_PS3)	+= hid-udraw-ps3.o
113obj-$(CONFIG_HID_LED)		+= hid-led.o
114obj-$(CONFIG_HID_XINMO)		+= hid-xinmo.o
115obj-$(CONFIG_HID_ZEROPLUS)	+= hid-zpff.o
116obj-$(CONFIG_HID_ZYDACRON)	+= hid-zydacron.o
117
118wacom-objs			:= wacom_wac.o wacom_sys.o
119obj-$(CONFIG_HID_WACOM)		+= wacom.o
120obj-$(CONFIG_HID_WALTOP)	+= hid-waltop.o
121obj-$(CONFIG_HID_WIIMOTE)	+= hid-wiimote.o
122obj-$(CONFIG_HID_SENSOR_HUB)	+= hid-sensor-hub.o
123obj-$(CONFIG_HID_SENSOR_CUSTOM_SENSOR)	+= hid-sensor-custom.o
124
125obj-$(CONFIG_USB_HID)		+= usbhid/
126obj-$(CONFIG_USB_MOUSE)		+= usbhid/
127obj-$(CONFIG_USB_KBD)		+= usbhid/
128
129obj-$(CONFIG_I2C_HID)		+= i2c-hid/
130
131obj-$(CONFIG_INTEL_ISH_HID)	+= intel-ish-hid/
132