xref: /openbmc/linux/drivers/hid/Makefile (revision 377602fc)
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_BPF)		+= bpf/
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
18hid-logitech-$(CONFIG_LOGITECH_FF)	+= hid-lgff.o
19hid-logitech-$(CONFIG_LOGIRUMBLEPAD2_FF)	+= hid-lg2ff.o
20hid-logitech-$(CONFIG_LOGIG940_FF)	+= hid-lg3ff.o
21hid-logitech-$(CONFIG_LOGIWHEELS_FF)	+= hid-lg4ff.o
22
23hid-wiimote-y		:= hid-wiimote-core.o hid-wiimote-modules.o
24hid-wiimote-$(CONFIG_DEBUG_FS)	+= hid-wiimote-debug.o
25
26obj-$(CONFIG_HID_A4TECH)	+= hid-a4tech.o
27obj-$(CONFIG_HID_ACCUTOUCH)	+= hid-accutouch.o
28obj-$(CONFIG_HID_ALPS)		+= hid-alps.o
29obj-$(CONFIG_HID_ACRUX)		+= hid-axff.o
30obj-$(CONFIG_HID_APPLE)		+= hid-apple.o
31obj-$(CONFIG_HID_APPLEIR)	+= hid-appleir.o
32obj-$(CONFIG_HID_CREATIVE_SB0540)	+= hid-creative-sb0540.o
33obj-$(CONFIG_HID_ASUS)		+= hid-asus.o
34obj-$(CONFIG_HID_AUREAL)	+= hid-aureal.o
35obj-$(CONFIG_HID_BELKIN)	+= hid-belkin.o
36obj-$(CONFIG_HID_BETOP_FF)	+= hid-betopff.o
37obj-$(CONFIG_HID_BIGBEN_FF)	+= hid-bigbenff.o
38obj-$(CONFIG_HID_CHERRY)	+= hid-cherry.o
39obj-$(CONFIG_HID_CHICONY)	+= hid-chicony.o
40obj-$(CONFIG_HID_CMEDIA)	+= hid-cmedia.o
41obj-$(CONFIG_HID_CORSAIR)	+= hid-corsair.o
42obj-$(CONFIG_HID_COUGAR)	+= hid-cougar.o
43obj-$(CONFIG_HID_CP2112)	+= hid-cp2112.o
44obj-$(CONFIG_HID_CYPRESS)	+= hid-cypress.o
45obj-$(CONFIG_HID_DRAGONRISE)	+= hid-dr.o
46obj-$(CONFIG_HID_EMS_FF)	+= hid-emsff.o
47obj-$(CONFIG_HID_ELAN)		+= hid-elan.o
48obj-$(CONFIG_HID_ELECOM)	+= hid-elecom.o
49obj-$(CONFIG_HID_ELO)		+= hid-elo.o
50obj-$(CONFIG_HID_EVISION)	+= hid-evision.o
51obj-$(CONFIG_HID_EZKEY)		+= hid-ezkey.o
52obj-$(CONFIG_HID_FT260)		+= hid-ft260.o
53obj-$(CONFIG_HID_GEMBIRD)	+= hid-gembird.o
54obj-$(CONFIG_HID_GFRM)		+= hid-gfrm.o
55obj-$(CONFIG_HID_GLORIOUS)  += hid-glorious.o
56obj-$(CONFIG_HID_VIVALDI_COMMON) += hid-vivaldi-common.o
57obj-$(CONFIG_HID_GOOGLE_HAMMER)	+= hid-google-hammer.o
58obj-$(CONFIG_HID_GOOGLE_STADIA_FF)	+= hid-google-stadiaff.o
59obj-$(CONFIG_HID_VIVALDI)	+= hid-vivaldi.o
60obj-$(CONFIG_HID_GT683R)	+= hid-gt683r.o
61obj-$(CONFIG_HID_GYRATION)	+= hid-gyration.o
62obj-$(CONFIG_HID_HOLTEK)	+= hid-holtek-kbd.o
63obj-$(CONFIG_HID_HOLTEK)	+= hid-holtek-mouse.o
64obj-$(CONFIG_HID_HOLTEK)	+= hid-holtekff.o
65obj-$(CONFIG_HID_HYPERV_MOUSE)	+= hid-hyperv.o
66obj-$(CONFIG_HID_ICADE)		+= hid-icade.o
67obj-$(CONFIG_HID_ITE)		+= hid-ite.o
68obj-$(CONFIG_HID_JABRA)		+= hid-jabra.o
69obj-$(CONFIG_HID_KENSINGTON)	+= hid-kensington.o
70obj-$(CONFIG_HID_KEYTOUCH)	+= hid-keytouch.o
71obj-$(CONFIG_HID_KYE)		+= hid-kye.o
72obj-$(CONFIG_HID_LCPOWER)	+= hid-lcpower.o
73obj-$(CONFIG_HID_LENOVO)	+= hid-lenovo.o
74obj-$(CONFIG_HID_LETSKETCH)	+= hid-letsketch.o
75obj-$(CONFIG_HID_LOGITECH)	+= hid-logitech.o
76obj-$(CONFIG_HID_LOGITECH)	+= hid-lg-g15.o
77obj-$(CONFIG_HID_LOGITECH_DJ)	+= hid-logitech-dj.o
78obj-$(CONFIG_HID_LOGITECH_HIDPP)	+= hid-logitech-hidpp.o
79obj-$(CONFIG_HID_MACALLY)	+= hid-macally.o
80obj-$(CONFIG_HID_MAGICMOUSE)	+= hid-magicmouse.o
81obj-$(CONFIG_HID_MALTRON)	+= hid-maltron.o
82obj-$(CONFIG_HID_MCP2221)	+= hid-mcp2221.o
83obj-$(CONFIG_HID_MAYFLASH)	+= hid-mf.o
84obj-$(CONFIG_HID_MEGAWORLD_FF)	+= hid-megaworld.o
85obj-$(CONFIG_HID_MICROSOFT)	+= hid-microsoft.o
86obj-$(CONFIG_HID_MONTEREY)	+= hid-monterey.o
87obj-$(CONFIG_HID_MULTITOUCH)	+= hid-multitouch.o
88obj-$(CONFIG_HID_NINTENDO)	+= hid-nintendo.o
89obj-$(CONFIG_HID_NTI)			+= hid-nti.o
90obj-$(CONFIG_HID_NTRIG)		+= hid-ntrig.o
91obj-$(CONFIG_HID_NVIDIA_SHIELD)	+= hid-nvidia-shield.o
92obj-$(CONFIG_HID_ORTEK)		+= hid-ortek.o
93obj-$(CONFIG_HID_PRODIKEYS)	+= hid-prodikeys.o
94obj-$(CONFIG_HID_PANTHERLORD)	+= hid-pl.o
95obj-$(CONFIG_HID_PENMOUNT)	+= hid-penmount.o
96obj-$(CONFIG_HID_PETALYNX)	+= hid-petalynx.o
97obj-$(CONFIG_HID_PICOLCD)	+= hid-picolcd.o
98hid-picolcd-y			+= hid-picolcd_core.o
99hid-picolcd-$(CONFIG_HID_PICOLCD_FB)	+= hid-picolcd_fb.o
100hid-picolcd-$(CONFIG_HID_PICOLCD_BACKLIGHT)	+= hid-picolcd_backlight.o
101hid-picolcd-$(CONFIG_HID_PICOLCD_LCD)	+= hid-picolcd_lcd.o
102hid-picolcd-$(CONFIG_HID_PICOLCD_LEDS)	+= hid-picolcd_leds.o
103hid-picolcd-$(CONFIG_HID_PICOLCD_CIR)	+= hid-picolcd_cir.o
104hid-picolcd-$(CONFIG_DEBUG_FS)		+= hid-picolcd_debugfs.o
105
106obj-$(CONFIG_HID_PLANTRONICS)	+= hid-plantronics.o
107obj-$(CONFIG_HID_PLAYSTATION)	+= hid-playstation.o
108obj-$(CONFIG_HID_PRIMAX)	+= hid-primax.o
109obj-$(CONFIG_HID_PXRC)		+= hid-pxrc.o
110obj-$(CONFIG_HID_RAZER)	+= hid-razer.o
111obj-$(CONFIG_HID_REDRAGON)	+= hid-redragon.o
112obj-$(CONFIG_HID_RETRODE)	+= hid-retrode.o
113obj-$(CONFIG_HID_ROCCAT)	+= hid-roccat.o hid-roccat-common.o \
114	hid-roccat-arvo.o hid-roccat-isku.o hid-roccat-kone.o \
115	hid-roccat-koneplus.o hid-roccat-konepure.o hid-roccat-kovaplus.o \
116	hid-roccat-lua.o hid-roccat-pyra.o hid-roccat-ryos.o hid-roccat-savu.o
117obj-$(CONFIG_HID_RMI)		+= hid-rmi.o
118obj-$(CONFIG_HID_SAITEK)	+= hid-saitek.o
119obj-$(CONFIG_HID_SAMSUNG)	+= hid-samsung.o
120obj-$(CONFIG_HID_SEMITEK)	+= hid-semitek.o
121obj-$(CONFIG_HID_SIGMAMICRO)	+= hid-sigmamicro.o
122obj-$(CONFIG_HID_SMARTJOYPLUS)	+= hid-sjoy.o
123obj-$(CONFIG_HID_SONY)		+= hid-sony.o
124obj-$(CONFIG_HID_SPEEDLINK)	+= hid-speedlink.o
125obj-$(CONFIG_HID_STEAM)		+= hid-steam.o
126obj-$(CONFIG_HID_STEELSERIES)	+= hid-steelseries.o
127obj-$(CONFIG_HID_SUNPLUS)	+= hid-sunplus.o
128obj-$(CONFIG_HID_GREENASIA)	+= hid-gaff.o
129obj-$(CONFIG_HID_THRUSTMASTER)	+= hid-tmff.o hid-thrustmaster.o
130obj-$(CONFIG_HID_TIVO)		+= hid-tivo.o
131obj-$(CONFIG_HID_TOPSEED)	+= hid-topseed.o
132obj-$(CONFIG_HID_TOPRE)	+= hid-topre.o
133obj-$(CONFIG_HID_TWINHAN)	+= hid-twinhan.o
134obj-$(CONFIG_HID_U2FZERO)	+= hid-u2fzero.o
135hid-uclogic-objs		:= hid-uclogic-core.o \
136				   hid-uclogic-rdesc.o \
137				   hid-uclogic-params.o
138obj-$(CONFIG_HID_UCLOGIC)	+= hid-uclogic.o
139obj-$(CONFIG_HID_UDRAW_PS3)	+= hid-udraw-ps3.o
140obj-$(CONFIG_HID_LED)		+= hid-led.o
141obj-$(CONFIG_HID_XIAOMI)	+= hid-xiaomi.o
142obj-$(CONFIG_HID_XINMO)		+= hid-xinmo.o
143obj-$(CONFIG_HID_ZEROPLUS)	+= hid-zpff.o
144obj-$(CONFIG_HID_ZYDACRON)	+= hid-zydacron.o
145obj-$(CONFIG_HID_VIEWSONIC)	+= hid-viewsonic.o
146obj-$(CONFIG_HID_VRC2)		+= hid-vrc2.o
147
148wacom-objs			:= wacom_wac.o wacom_sys.o
149obj-$(CONFIG_HID_WACOM)		+= wacom.o
150obj-$(CONFIG_HID_WALTOP)	+= hid-waltop.o
151obj-$(CONFIG_HID_WIIMOTE)	+= hid-wiimote.o
152obj-$(CONFIG_HID_SENSOR_HUB)	+= hid-sensor-hub.o
153obj-$(CONFIG_HID_SENSOR_CUSTOM_SENSOR)	+= hid-sensor-custom.o
154
155hid-uclogic-test-objs		:= hid-uclogic-rdesc.o \
156				   hid-uclogic-params.o \
157				   hid-uclogic-rdesc-test.o
158obj-$(CONFIG_HID_KUNIT_TEST)	+= hid-uclogic-test.o
159
160obj-$(CONFIG_USB_HID)		+= usbhid/
161obj-$(CONFIG_USB_MOUSE)		+= usbhid/
162obj-$(CONFIG_USB_KBD)		+= usbhid/
163
164obj-$(CONFIG_I2C_HID_CORE)	+= i2c-hid/
165
166obj-$(CONFIG_INTEL_ISH_HID)	+= intel-ish-hid/
167obj-$(INTEL_ISH_FIRMWARE_DOWNLOADER)	+= intel-ish-hid/
168
169obj-$(CONFIG_AMD_SFH_HID)       += amd-sfh-hid/
170
171obj-$(CONFIG_SURFACE_HID_CORE)  += surface-hid/
172