blob: 9dca84592cc46f2ae5bd7ad074d2515b0f36a4b2 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#
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
13hid-$(CONFIG_HIDRAW) += hidraw.o
14
15hid-logitech-y := hid-lg.o
16ifdef CONFIG_LOGITECH_FF
17 hid-logitech-y += hid-lgff.o
18endif
19ifdef CONFIG_LOGIRUMBLEPAD2_FF
20 hid-logitech-y += hid-lg2ff.o
21endif
22ifdef CONFIG_LOGIG940_FF
23 hid-logitech-y += hid-lg3ff.o
24endif
25ifdef CONFIG_LOGIWHEELS_FF
26 hid-logitech-y += hid-lg4ff.o
27endif
28
29hid-wiimote-y := hid-wiimote-core.o
30ifdef CONFIG_HID_WIIMOTE_EXT
31 hid-wiimote-y += hid-wiimote-ext.o
32endif
33ifdef CONFIG_DEBUG_FS
34 hid-wiimote-y += hid-wiimote-debug.o
35endif
36
37obj-$(CONFIG_HID_A4TECH) += hid-a4tech.o
38obj-$(CONFIG_HID_ACRUX) += hid-axff.o
39obj-$(CONFIG_HID_APPLE) += hid-apple.o
40obj-$(CONFIG_HID_BELKIN) += hid-belkin.o
41obj-$(CONFIG_HID_CHERRY) += hid-cherry.o
42obj-$(CONFIG_HID_CHICONY) += hid-chicony.o
43obj-$(CONFIG_HID_CYPRESS) += hid-cypress.o
44obj-$(CONFIG_HID_DRAGONRISE) += hid-dr.o
45obj-$(CONFIG_HID_EMS_FF) += hid-emsff.o
46obj-$(CONFIG_HID_ELECOM) += hid-elecom.o
47obj-$(CONFIG_HID_EZKEY) += hid-ezkey.o
48obj-$(CONFIG_HID_GYRATION) += hid-gyration.o
49obj-$(CONFIG_HID_HOLTEK) += hid-holtekff.o
50obj-$(CONFIG_HID_HYPERV_MOUSE) += hid-hyperv.o
51obj-$(CONFIG_HID_KENSINGTON) += hid-kensington.o
52obj-$(CONFIG_HID_KEYTOUCH) += hid-keytouch.o
53obj-$(CONFIG_HID_KYE) += hid-kye.o
54obj-$(CONFIG_HID_LCPOWER) += hid-lcpower.o
55obj-$(CONFIG_HID_LOGITECH) += hid-logitech.o
56obj-$(CONFIG_HID_LOGITECH_DJ) += hid-logitech-dj.o
57obj-$(CONFIG_HID_MAGICMOUSE) += hid-magicmouse.o
58obj-$(CONFIG_HID_MICROSOFT) += hid-microsoft.o
59obj-$(CONFIG_HID_MONTEREY) += hid-monterey.o
60obj-$(CONFIG_HID_MULTITOUCH) += hid-multitouch.o
61obj-$(CONFIG_HID_NTRIG) += hid-ntrig.o
62obj-$(CONFIG_HID_ORTEK) += hid-ortek.o
63obj-$(CONFIG_HID_PRODIKEYS) += hid-prodikeys.o
64obj-$(CONFIG_HID_PANTHERLORD) += hid-pl.o
65obj-$(CONFIG_HID_PETALYNX) += hid-petalynx.o
66obj-$(CONFIG_HID_PICOLCD) += hid-picolcd.o
67obj-$(CONFIG_HID_PRIMAX) += hid-primax.o
68obj-$(CONFIG_HID_ROCCAT) += hid-roccat.o hid-roccat-common.o \
69 hid-roccat-arvo.o hid-roccat-isku.o hid-roccat-kone.o \
70 hid-roccat-koneplus.o hid-roccat-kovaplus.o hid-roccat-pyra.o
71obj-$(CONFIG_HID_SAITEK) += hid-saitek.o
72obj-$(CONFIG_HID_SAMSUNG) += hid-samsung.o
73obj-$(CONFIG_HID_SMARTJOYPLUS) += hid-sjoy.o
74obj-$(CONFIG_HID_SONY) += hid-sony.o
75obj-$(CONFIG_HID_SPEEDLINK) += hid-speedlink.o
76obj-$(CONFIG_HID_SUNPLUS) += hid-sunplus.o
77obj-$(CONFIG_HID_GREENASIA) += hid-gaff.o
78obj-$(CONFIG_HID_THRUSTMASTER) += hid-tmff.o
79obj-$(CONFIG_HID_TIVO) += hid-tivo.o
80obj-$(CONFIG_HID_TOPSEED) += hid-topseed.o
81obj-$(CONFIG_HID_TWINHAN) += hid-twinhan.o
82obj-$(CONFIG_HID_UCLOGIC) += hid-uclogic.o
83obj-$(CONFIG_HID_ZEROPLUS) += hid-zpff.o
84obj-$(CONFIG_HID_ZYDACRON) += hid-zydacron.o
85obj-$(CONFIG_HID_WACOM) += hid-wacom.o
86obj-$(CONFIG_HID_WALTOP) += hid-waltop.o
87obj-$(CONFIG_HID_WIIMOTE) += hid-wiimote.o
88
89obj-$(CONFIG_USB_HID) += usbhid/
90obj-$(CONFIG_USB_MOUSE) += usbhid/
91obj-$(CONFIG_USB_KBD) += usbhid/
92