Makefile 4.8 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2 3 4
#
# Makefile for the HID driver
#
5
hid-y			:= hid-core.o hid-input.o
6
hid-$(CONFIG_DEBUG_FS)		+= hid-debug.o
7

8
obj-$(CONFIG_HID)		+= hid.o
9
obj-$(CONFIG_UHID)		+= uhid.o
Jiri Kosina's avatar
Jiri Kosina committed
10

11 12
obj-$(CONFIG_HID_GENERIC)	+= hid-generic.o

Jiri Kosina's avatar
Jiri Kosina committed
13
hid-$(CONFIG_HIDRAW)		+= hidraw.o
14

15
hid-logitech-y		:= hid-lg.o
16 17 18 19
hid-logitech-$(CONFIG_LOGITECH_FF)	+= hid-lgff.o
hid-logitech-$(CONFIG_LOGIRUMBLEPAD2_FF)	+= hid-lg2ff.o
hid-logitech-$(CONFIG_LOGIG940_FF)	+= hid-lg3ff.o
hid-logitech-$(CONFIG_LOGIWHEELS_FF)	+= hid-lg4ff.o
20

21
hid-wiimote-y		:= hid-wiimote-core.o hid-wiimote-modules.o
22
hid-wiimote-$(CONFIG_DEBUG_FS)	+= hid-wiimote-debug.o
23

Jiri Slaby's avatar
Jiri Slaby committed
24
obj-$(CONFIG_HID_A4TECH)	+= hid-a4tech.o
25
obj-$(CONFIG_HID_ACCUTOUCH)	+= hid-accutouch.o
26
obj-$(CONFIG_HID_ALPS)		+= hid-alps.o
27
obj-$(CONFIG_HID_ACRUX)		+= hid-axff.o
Jiri Slaby's avatar
Jiri Slaby committed
28
obj-$(CONFIG_HID_APPLE)		+= hid-apple.o
29
obj-$(CONFIG_HID_APPLEIR)	+= hid-appleir.o
30
obj-$(CONFIG_HID_ASUS)		+= hid-asus.o
31
obj-$(CONFIG_HID_AUREAL)	+= hid-aureal.o
Jiri Slaby's avatar
Jiri Slaby committed
32
obj-$(CONFIG_HID_BELKIN)	+= hid-belkin.o
33
obj-$(CONFIG_HID_BETOP_FF)	+= hid-betopff.o
Jiri Slaby's avatar
Jiri Slaby committed
34
obj-$(CONFIG_HID_CHERRY)	+= hid-cherry.o
Jiri Slaby's avatar
Jiri Slaby committed
35
obj-$(CONFIG_HID_CHICONY)	+= hid-chicony.o
36
obj-$(CONFIG_HID_CMEDIA)	+= hid-cmedia.o
37
obj-$(CONFIG_HID_CORSAIR)	+= hid-corsair.o
David Barksdale's avatar
David Barksdale committed
38
obj-$(CONFIG_HID_CP2112)	+= hid-cp2112.o
Jiri Slaby's avatar
Jiri Slaby committed
39
obj-$(CONFIG_HID_CYPRESS)	+= hid-cypress.o
40
obj-$(CONFIG_HID_DRAGONRISE)	+= hid-dr.o
41
obj-$(CONFIG_HID_EMS_FF)	+= hid-emsff.o
42
obj-$(CONFIG_HID_ELECOM)	+= hid-elecom.o
43
obj-$(CONFIG_HID_ELO)		+= hid-elo.o
Jiri Slaby's avatar
Jiri Slaby committed
44
obj-$(CONFIG_HID_EZKEY)		+= hid-ezkey.o
45
obj-$(CONFIG_HID_GEMBIRD)	+= hid-gembird.o
46
obj-$(CONFIG_HID_GFRM)		+= hid-gfrm.o
47
obj-$(CONFIG_HID_GT683R)	+= hid-gt683r.o
Jiri Slaby's avatar
Jiri Slaby committed
48
obj-$(CONFIG_HID_GYRATION)	+= hid-gyration.o
49
obj-$(CONFIG_HID_HOLTEK)	+= hid-holtek-kbd.o
50
obj-$(CONFIG_HID_HOLTEK)	+= hid-holtek-mouse.o
51
obj-$(CONFIG_HID_HOLTEK)	+= hid-holtekff.o
52
obj-$(CONFIG_HID_HYPERV_MOUSE)	+= hid-hyperv.o
53
obj-$(CONFIG_HID_ICADE)		+= hid-icade.o
Hans de Goede's avatar
Hans de Goede committed
54
obj-$(CONFIG_HID_ITE)		+= hid-ite.o
55
obj-$(CONFIG_HID_KENSINGTON)	+= hid-kensington.o
56
obj-$(CONFIG_HID_KEYTOUCH)	+= hid-keytouch.o
57
obj-$(CONFIG_HID_KYE)		+= hid-kye.o
58
obj-$(CONFIG_HID_LCPOWER)	+= hid-lcpower.o
59
obj-$(CONFIG_HID_LENOVO)	+= hid-lenovo.o
Jiri Slaby's avatar
Jiri Slaby committed
60
obj-$(CONFIG_HID_LOGITECH)	+= hid-logitech.o
61
obj-$(CONFIG_HID_LOGITECH_DJ)	+= hid-logitech-dj.o
62
obj-$(CONFIG_HID_LOGITECH_HIDPP)	+= hid-logitech-hidpp.o
63
obj-$(CONFIG_HID_MAGICMOUSE)	+= hid-magicmouse.o
64
obj-$(CONFIG_HID_MAYFLASH)	+= hid-mf.o
Jiri Slaby's avatar
Jiri Slaby committed
65
obj-$(CONFIG_HID_MICROSOFT)	+= hid-microsoft.o
Jiri Slaby's avatar
Jiri Slaby committed
66
obj-$(CONFIG_HID_MONTEREY)	+= hid-monterey.o
67
obj-$(CONFIG_HID_MULTITOUCH)	+= hid-multitouch.o
68
obj-$(CONFIG_HID_NTI)			+= hid-nti.o
69
obj-$(CONFIG_HID_NTRIG)		+= hid-ntrig.o
70
obj-$(CONFIG_HID_ORTEK)		+= hid-ortek.o
71
obj-$(CONFIG_HID_PRODIKEYS)	+= hid-prodikeys.o
72
obj-$(CONFIG_HID_PANTHERLORD)	+= hid-pl.o
73
obj-$(CONFIG_HID_PENMOUNT)	+= hid-penmount.o
Jiri Slaby's avatar
Jiri Slaby committed
74
obj-$(CONFIG_HID_PETALYNX)	+= hid-petalynx.o
75
obj-$(CONFIG_HID_PICOLCD)	+= hid-picolcd.o
76
hid-picolcd-y			+= hid-picolcd_core.o
77 78 79 80 81 82
hid-picolcd-$(CONFIG_HID_PICOLCD_FB)	+= hid-picolcd_fb.o
hid-picolcd-$(CONFIG_HID_PICOLCD_BACKLIGHT)	+= hid-picolcd_backlight.o
hid-picolcd-$(CONFIG_HID_PICOLCD_LCD)	+= hid-picolcd_lcd.o
hid-picolcd-$(CONFIG_HID_PICOLCD_LEDS)	+= hid-picolcd_leds.o
hid-picolcd-$(CONFIG_HID_PICOLCD_CIR)	+= hid-picolcd_cir.o
hid-picolcd-$(CONFIG_DEBUG_FS)		+= hid-picolcd_debugfs.o
83

84
obj-$(CONFIG_HID_PLANTRONICS)	+= hid-plantronics.o
85
obj-$(CONFIG_HID_PRIMAX)	+= hid-primax.o
86
obj-$(CONFIG_HID_RETRODE)	+= hid-retrode.o
87 88
obj-$(CONFIG_HID_ROCCAT)	+= hid-roccat.o hid-roccat-common.o \
	hid-roccat-arvo.o hid-roccat-isku.o hid-roccat-kone.o \
89
	hid-roccat-koneplus.o hid-roccat-konepure.o hid-roccat-kovaplus.o \
90
	hid-roccat-lua.o hid-roccat-pyra.o hid-roccat-ryos.o hid-roccat-savu.o
91
obj-$(CONFIG_HID_RMI)		+= hid-rmi.o
92
obj-$(CONFIG_HID_SAITEK)	+= hid-saitek.o
Jiri Slaby's avatar
Jiri Slaby committed
93
obj-$(CONFIG_HID_SAMSUNG)	+= hid-samsung.o
94
obj-$(CONFIG_HID_SMARTJOYPLUS)	+= hid-sjoy.o
Jiri Slaby's avatar
Jiri Slaby committed
95
obj-$(CONFIG_HID_SONY)		+= hid-sony.o
96
obj-$(CONFIG_HID_SPEEDLINK)	+= hid-speedlink.o
97
obj-$(CONFIG_HID_STEELSERIES)	+= hid-steelseries.o
Jiri Slaby's avatar
Jiri Slaby committed
98
obj-$(CONFIG_HID_SUNPLUS)	+= hid-sunplus.o
99 100
obj-$(CONFIG_HID_GREENASIA)	+= hid-gaff.o
obj-$(CONFIG_HID_THRUSTMASTER)	+= hid-tmff.o
101
obj-$(CONFIG_HID_TIVO)		+= hid-tivo.o
102
obj-$(CONFIG_HID_TOPSEED)	+= hid-topseed.o
103
obj-$(CONFIG_HID_TWINHAN)	+= hid-twinhan.o
104
obj-$(CONFIG_HID_UCLOGIC)	+= hid-uclogic.o
105
obj-$(CONFIG_HID_UDRAW_PS3)	+= hid-udraw-ps3.o
106
obj-$(CONFIG_HID_LED)		+= hid-led.o
107
obj-$(CONFIG_HID_XINMO)		+= hid-xinmo.o
108
obj-$(CONFIG_HID_ZEROPLUS)	+= hid-zpff.o
109
obj-$(CONFIG_HID_ZYDACRON)	+= hid-zydacron.o
110 111

wacom-objs			:= wacom_wac.o wacom_sys.o
112
obj-$(CONFIG_HID_WACOM)		+= wacom.o
113
obj-$(CONFIG_HID_WALTOP)	+= hid-waltop.o
114
obj-$(CONFIG_HID_WIIMOTE)	+= hid-wiimote.o
115
obj-$(CONFIG_HID_SENSOR_HUB)	+= hid-sensor-hub.o
116
obj-$(CONFIG_HID_SENSOR_CUSTOM_SENSOR)	+= hid-sensor-custom.o
Jiri Slaby's avatar
Jiri Slaby committed
117

118 119 120 121
obj-$(CONFIG_USB_HID)		+= usbhid/
obj-$(CONFIG_USB_MOUSE)		+= usbhid/
obj-$(CONFIG_USB_KBD)		+= usbhid/

122
obj-$(CONFIG_I2C_HID)		+= i2c-hid/
123 124

obj-$(CONFIG_INTEL_ISH_HID)	+= intel-ish-hid/