xref: /openbmc/linux/drivers/hid/Makefile (revision 078a55fc)
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_CYPRESS)	+= hid-cypress.o
45obj-$(CONFIG_HID_DRAGONRISE)	+= hid-dr.o
46obj-$(CONFIG_HID_EMS_FF)	+= hid-emsff.o
47obj-$(CONFIG_HID_ELECOM)	+= hid-elecom.o
48obj-$(CONFIG_HID_ELO)		+= hid-elo.o
49obj-$(CONFIG_HID_EZKEY)		+= hid-ezkey.o
50obj-$(CONFIG_HID_GYRATION)	+= hid-gyration.o
51obj-$(CONFIG_HID_HOLTEK)	+= hid-holtek-kbd.o
52obj-$(CONFIG_HID_HOLTEK)	+= hid-holtek-mouse.o
53obj-$(CONFIG_HID_HOLTEK)	+= hid-holtekff.o
54obj-$(CONFIG_HID_HUION)		+= hid-huion.o
55obj-$(CONFIG_HID_HYPERV_MOUSE)	+= hid-hyperv.o
56obj-$(CONFIG_HID_ICADE)		+= hid-icade.o
57obj-$(CONFIG_HID_KENSINGTON)	+= hid-kensington.o
58obj-$(CONFIG_HID_KEYTOUCH)	+= hid-keytouch.o
59obj-$(CONFIG_HID_KYE)		+= hid-kye.o
60obj-$(CONFIG_HID_LCPOWER)       += hid-lcpower.o
61obj-$(CONFIG_HID_LENOVO_TPKBD)	+= hid-lenovo-tpkbd.o
62obj-$(CONFIG_HID_LOGITECH)	+= hid-logitech.o
63obj-$(CONFIG_HID_LOGITECH_DJ)	+= hid-logitech-dj.o
64obj-$(CONFIG_HID_MAGICMOUSE)    += hid-magicmouse.o
65obj-$(CONFIG_HID_MICROSOFT)	+= hid-microsoft.o
66obj-$(CONFIG_HID_MONTEREY)	+= hid-monterey.o
67obj-$(CONFIG_HID_MULTITOUCH)	+= hid-multitouch.o
68obj-$(CONFIG_HID_NTRIG)		+= hid-ntrig.o
69obj-$(CONFIG_HID_ORTEK)		+= hid-ortek.o
70obj-$(CONFIG_HID_PRODIKEYS)	+= hid-prodikeys.o
71obj-$(CONFIG_HID_PANTHERLORD)	+= hid-pl.o
72obj-$(CONFIG_HID_PETALYNX)	+= hid-petalynx.o
73obj-$(CONFIG_HID_PICOLCD)	+= hid-picolcd.o
74hid-picolcd-y			+= hid-picolcd_core.o
75ifdef CONFIG_HID_PICOLCD_FB
76hid-picolcd-y			+= hid-picolcd_fb.o
77endif
78ifdef CONFIG_HID_PICOLCD_BACKLIGHT
79hid-picolcd-y			+= hid-picolcd_backlight.o
80endif
81ifdef CONFIG_HID_PICOLCD_LCD
82hid-picolcd-y			+= hid-picolcd_lcd.o
83endif
84ifdef CONFIG_HID_PICOLCD_LEDS
85hid-picolcd-y			+= hid-picolcd_leds.o
86endif
87ifdef CONFIG_HID_PICOLCD_CIR
88hid-picolcd-y			+= hid-picolcd_cir.o
89endif
90ifdef CONFIG_DEBUG_FS
91hid-picolcd-y			+= hid-picolcd_debugfs.o
92endif
93
94obj-$(CONFIG_HID_PRIMAX)	+= hid-primax.o
95obj-$(CONFIG_HID_ROCCAT)	+= hid-roccat.o hid-roccat-common.o \
96	hid-roccat-arvo.o hid-roccat-isku.o hid-roccat-kone.o \
97	hid-roccat-koneplus.o hid-roccat-konepure.o hid-roccat-kovaplus.o \
98	hid-roccat-lua.o hid-roccat-pyra.o hid-roccat-savu.o
99obj-$(CONFIG_HID_SAITEK)	+= hid-saitek.o
100obj-$(CONFIG_HID_SAMSUNG)	+= hid-samsung.o
101obj-$(CONFIG_HID_SMARTJOYPLUS)	+= hid-sjoy.o
102obj-$(CONFIG_HID_SONY)		+= hid-sony.o
103obj-$(CONFIG_HID_SPEEDLINK)	+= hid-speedlink.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_THINGM)	+= hid-thingm.o
108obj-$(CONFIG_HID_THRUSTMASTER)	+= hid-tmff.o
109obj-$(CONFIG_HID_TIVO)		+= hid-tivo.o
110obj-$(CONFIG_HID_TOPSEED)	+= hid-topseed.o
111obj-$(CONFIG_HID_TWINHAN)	+= hid-twinhan.o
112obj-$(CONFIG_HID_UCLOGIC)	+= hid-uclogic.o
113obj-$(CONFIG_HID_ZEROPLUS)	+= hid-zpff.o
114obj-$(CONFIG_HID_ZYDACRON)	+= hid-zydacron.o
115obj-$(CONFIG_HID_WACOM)		+= hid-wacom.o
116obj-$(CONFIG_HID_WALTOP)	+= hid-waltop.o
117obj-$(CONFIG_HID_WIIMOTE)	+= hid-wiimote.o
118obj-$(CONFIG_HID_SENSOR_HUB)	+= hid-sensor-hub.o
119
120obj-$(CONFIG_USB_HID)		+= usbhid/
121obj-$(CONFIG_USB_MOUSE)		+= usbhid/
122obj-$(CONFIG_USB_KBD)		+= usbhid/
123
124obj-$(CONFIG_I2C_HID)		+= i2c-hid/
125