blob: 170163b413033504d69c9b58a3d8b1ecd5bc8e48 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Jiri Kosina63f38612006-12-08 18:41:30 +01002#
3# Makefile for the HID driver
4#
Benjamin Tissoiresd5d3e202017-11-20 11:48:41 +01005hid-y := hid-core.o hid-input.o hid-quirks.o
Michal Marek86312e42015-01-21 14:07:10 +01006hid-$(CONFIG_DEBUG_FS) += hid-debug.o
Jiri Kosinaa635f9d2009-06-12 15:20:55 +02007
Jiri Kosinac080d892007-01-25 11:43:31 +01008obj-$(CONFIG_HID) += hid.o
David Herrmann1ccd7a22012-06-10 15:16:13 +02009obj-$(CONFIG_UHID) += uhid.o
Jiri Kosina86166b72007-05-14 09:57:40 +020010
Henrik Rydberg8215d552012-04-23 12:07:07 +020011obj-$(CONFIG_HID_GENERIC) += hid-generic.o
12
Jiri Kosina86166b72007-05-14 09:57:40 +020013hid-$(CONFIG_HIDRAW) += hidraw.o
Jiri Kosinac080d892007-01-25 11:43:31 +010014
Tracey Dentd47d6122010-11-18 10:42:30 +010015hid-logitech-y := hid-lg.o
Michal Marek86312e42015-01-21 14:07:10 +010016hid-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
Jiri Slaby606bd0a2008-07-04 23:06:45 +020020
David Herrmann27f06942013-05-05 23:12:51 +020021hid-wiimote-y := hid-wiimote-core.o hid-wiimote-modules.o
Michal Marek86312e42015-01-21 14:07:10 +010022hid-wiimote-$(CONFIG_DEBUG_FS) += hid-wiimote-debug.o
David Herrmann192a1ac2011-11-17 14:11:58 +010023
Jiri Slaby14a21cd2008-06-23 23:31:09 +020024obj-$(CONFIG_HID_A4TECH) += hid-a4tech.o
Martyn Welchc846fe92017-02-14 14:17:56 +000025obj-$(CONFIG_HID_ACCUTOUCH) += hid-accutouch.o
Masaki Ota25627562016-06-16 18:45:57 +090026obj-$(CONFIG_HID_ALPS) += hid-alps.o
Dmitry Torokhov0ae43812011-03-11 00:27:34 -080027obj-$(CONFIG_HID_ACRUX) += hid-axff.o
Jiri Slaby8c19a512008-06-18 23:36:49 +020028obj-$(CONFIG_HID_APPLE) += hid-apple.o
Benjamin Tissoires9a4a5572013-04-17 18:15:15 +020029obj-$(CONFIG_HID_APPLEIR) += hid-appleir.o
Yusuke Fujimakieeb01a52016-03-21 16:18:42 +090030obj-$(CONFIG_HID_ASUS) += hid-asus.o
Antonio Ospite6e01d532015-04-28 13:11:20 +020031obj-$(CONFIG_HID_AUREAL) += hid-aureal.o
Jiri Slabyb5635b12008-06-24 23:24:57 +020032obj-$(CONFIG_HID_BELKIN) += hid-belkin.o
Huang Bofc38a8a62014-11-26 18:21:03 +080033obj-$(CONFIG_HID_BETOP_FF) += hid-betopff.o
Hanno Zulla256a90e2018-08-23 17:03:38 +020034obj-$(CONFIG_HID_BIGBEN_FF) += hid-bigbenff.o
Jiri Slaby3b239cd2008-06-24 20:42:25 +020035obj-$(CONFIG_HID_CHERRY) += hid-cherry.o
Jiri Slabyfcfacfd2008-06-24 22:48:52 +020036obj-$(CONFIG_HID_CHICONY) += hid-chicony.o
Ben Chenad8ddc52016-01-22 11:59:43 +080037obj-$(CONFIG_HID_CMEDIA) += hid-cmedia.o
Clément Vuchener6f781932015-09-30 15:14:20 +020038obj-$(CONFIG_HID_CORSAIR) += hid-corsair.o
Daniel M. Lambeab8e759b2018-07-17 22:35:37 +010039obj-$(CONFIG_HID_COUGAR) += hid-cougar.o
David Barksdalee932d812014-02-04 12:42:48 -060040obj-$(CONFIG_HID_CP2112) += hid-cp2112.o
Jiri Slaby0f221322008-06-23 22:54:08 +020041obj-$(CONFIG_HID_CYPRESS) += hid-cypress.o
Nikolai Kondrashov152fd632011-01-28 14:50:51 +030042obj-$(CONFIG_HID_DRAGONRISE) += hid-dr.o
Ignaz Forster04561c52010-11-01 15:13:37 -040043obj-$(CONFIG_HID_EMS_FF) += hid-emsff.o
Alexandrov Stansilav9a6a4192018-01-14 02:33:49 +030044obj-$(CONFIG_HID_ELAN) += hid-elan.o
Richard Nauber64b386e2010-06-28 18:54:25 +020045obj-$(CONFIG_HID_ELECOM) += hid-elecom.o
Jiri Slabyd23efc12013-05-07 11:40:58 +020046obj-$(CONFIG_HID_ELO) += hid-elo.o
Jiri Slaby1f243e32008-06-24 21:11:21 +020047obj-$(CONFIG_HID_EZKEY) += hid-ezkey.o
Benjamin Tissoires931830a2015-08-13 11:11:27 -040048obj-$(CONFIG_HID_GEMBIRD) += hid-gembird.o
Petri Gynther34fc1322015-10-26 01:15:58 -070049obj-$(CONFIG_HID_GFRM) += hid-gfrm.o
Wei-Ning Huangbc774b82018-03-15 09:28:25 +080050obj-$(CONFIG_HID_GOOGLE_HAMMER) += hid-google-hammer.o
Janne Kanniainenf471d942014-06-18 19:05:02 +030051obj-$(CONFIG_HID_GT683R) += hid-gt683r.o
Jiri Slaby949f8fe2008-07-24 23:35:13 +020052obj-$(CONFIG_HID_GYRATION) += hid-gyration.o
Tom Harwoodff9bf5a2012-07-06 08:05:04 -070053obj-$(CONFIG_HID_HOLTEK) += hid-holtek-kbd.o
Christian Ohm41de3262013-05-21 01:31:08 +020054obj-$(CONFIG_HID_HOLTEK) += hid-holtek-mouse.o
Anssi Hannulad946e65e2011-06-27 00:07:31 +030055obj-$(CONFIG_HID_HOLTEK) += hid-holtekff.o
Jiri Kosina6cf851d2011-11-22 22:52:15 +010056obj-$(CONFIG_HID_HYPERV_MOUSE) += hid-hyperv.o
Bastien Nocera4ddfe022012-10-31 12:10:10 +010057obj-$(CONFIG_HID_ICADE) += hid-icade.o
Hans de Goedef1918be2017-05-10 17:12:53 +020058obj-$(CONFIG_HID_ITE) += hid-ite.o
Niels Skou Olsen19ca2822017-10-04 12:31:22 +020059obj-$(CONFIG_HID_JABRA) += hid-jabra.o
Jiri Kosinafdf93aa2009-03-04 16:09:40 +010060obj-$(CONFIG_HID_KENSINGTON) += hid-kensington.o
Jiri Kosina177900e2011-02-17 15:12:45 +010061obj-$(CONFIG_HID_KEYTOUCH) += hid-keytouch.o
Jiri Kosina79422742009-03-11 11:43:27 +010062obj-$(CONFIG_HID_KYE) += hid-kye.o
Antonio Ospite6e01d532015-04-28 13:11:20 +020063obj-$(CONFIG_HID_LCPOWER) += hid-lcpower.o
Jamie Lentin94723bf2014-07-23 23:30:45 +010064obj-$(CONFIG_HID_LENOVO) += hid-lenovo.o
Jiri Slaby5f22a792008-05-16 11:49:19 +020065obj-$(CONFIG_HID_LOGITECH) += hid-logitech.o
Nestor Lopez Casado534a7b82011-09-15 11:34:49 +020066obj-$(CONFIG_HID_LOGITECH_DJ) += hid-logitech-dj.o
Benjamin Tissoires2f31c522014-09-30 13:18:27 -040067obj-$(CONFIG_HID_LOGITECH_HIDPP) += hid-logitech-hidpp.o
Antonio Ospite6e01d532015-04-28 13:11:20 +020068obj-$(CONFIG_HID_MAGICMOUSE) += hid-magicmouse.o
William Whistleraf8cd702019-01-14 17:50:07 +000069obj-$(CONFIG_HID_MALTRON) += hid-maltron.o
Marcel Haslerf8690452016-11-03 19:47:42 +010070obj-$(CONFIG_HID_MAYFLASH) += hid-mf.o
Jiri Slaby78a849a682008-06-20 21:26:11 +020071obj-$(CONFIG_HID_MICROSOFT) += hid-microsoft.o
Jiri Slaby3b8006e2008-06-25 00:07:50 +020072obj-$(CONFIG_HID_MONTEREY) += hid-monterey.o
Benjamin Tissoires5519cab2011-01-07 23:45:50 +010073obj-$(CONFIG_HID_MULTITOUCH) += hid-multitouch.o
Jonathan Tomer07e88a32017-02-01 11:54:57 -080074obj-$(CONFIG_HID_NTI) += hid-nti.o
Rafi Rubin94011f92008-11-19 15:54:46 +010075obj-$(CONFIG_HID_NTRIG) += hid-ntrig.o
Johnathon Harriscd9ec302010-01-21 14:36:52 +000076obj-$(CONFIG_HID_ORTEK) += hid-ortek.o
Don Prince3a370ca2010-05-12 15:18:59 +020077obj-$(CONFIG_HID_PRODIKEYS) += hid-prodikeys.o
Jiri Slaby5f022292008-09-18 19:43:32 +020078obj-$(CONFIG_HID_PANTHERLORD) += hid-pl.o
Christian Gmeinerffe51d02014-09-03 10:33:53 +020079obj-$(CONFIG_HID_PENMOUNT) += hid-penmount.o
Jiri Slaby1e762532008-06-24 23:46:21 +020080obj-$(CONFIG_HID_PETALYNX) += hid-petalynx.o
Bruno Prémont236db472010-03-30 22:33:50 +020081obj-$(CONFIG_HID_PICOLCD) += hid-picolcd.o
Bruno Prémontfabdbf22012-07-30 21:38:28 +020082hid-picolcd-y += hid-picolcd_core.o
Michal Marek86312e42015-01-21 14:07:10 +010083hid-picolcd-$(CONFIG_HID_PICOLCD_FB) += hid-picolcd_fb.o
84hid-picolcd-$(CONFIG_HID_PICOLCD_BACKLIGHT) += hid-picolcd_backlight.o
85hid-picolcd-$(CONFIG_HID_PICOLCD_LCD) += hid-picolcd_lcd.o
86hid-picolcd-$(CONFIG_HID_PICOLCD_LEDS) += hid-picolcd_leds.o
87hid-picolcd-$(CONFIG_HID_PICOLCD_CIR) += hid-picolcd_cir.o
88hid-picolcd-$(CONFIG_DEBUG_FS) += hid-picolcd_debugfs.o
Bruno Prémontfabdbf22012-07-30 21:38:28 +020089
JD Cole1a3f83f2014-10-31 17:34:42 -070090obj-$(CONFIG_HID_PLANTRONICS) += hid-plantronics.o
Terry Lambertf6a04602011-10-14 17:18:54 -070091obj-$(CONFIG_HID_PRIMAX) += hid-primax.o
Robert Munteanu85455dd92018-04-17 00:38:24 +030092obj-$(CONFIG_HID_REDRAGON) += hid-redragon.o
Bastien Nocera13b2e1b2017-06-20 18:13:37 +020093obj-$(CONFIG_HID_RETRODE) += hid-retrode.o
Stefan Achatzbd393db2011-12-29 17:20:14 +010094obj-$(CONFIG_HID_ROCCAT) += hid-roccat.o hid-roccat-common.o \
95 hid-roccat-arvo.o hid-roccat-isku.o hid-roccat-kone.o \
Stefan Achatz8936aa32013-03-10 12:32:44 +010096 hid-roccat-koneplus.o hid-roccat-konepure.o hid-roccat-kovaplus.o \
Stefan Achatz6f3a1932013-10-28 18:52:07 +010097 hid-roccat-lua.o hid-roccat-pyra.o hid-roccat-ryos.o hid-roccat-savu.o
Benjamin Tissoires9fb6bf02014-04-07 13:39:33 -040098obj-$(CONFIG_HID_RMI) += hid-rmi.o
Andreas Hübner1e936742012-02-22 02:10:06 +010099obj-$(CONFIG_HID_SAITEK) += hid-saitek.o
Jiri Slaby980a3da2008-06-25 22:31:48 +0200100obj-$(CONFIG_HID_SAMSUNG) += hid-samsung.o
Jussi Kivilinnafac733f2009-05-13 11:54:38 +0300101obj-$(CONFIG_HID_SMARTJOYPLUS) += hid-sjoy.o
Jiri Slabybd28ce02008-06-25 23:47:04 +0200102obj-$(CONFIG_HID_SONY) += hid-sony.o
Stefan Kriwanek74bc6952011-05-27 18:40:29 +0200103obj-$(CONFIG_HID_SPEEDLINK) += hid-speedlink.o
Rodrigo Rivas Costac164d6a2018-04-16 14:27:02 +0200104obj-$(CONFIG_HID_STEAM) += hid-steam.o
Jiri Kosina090800c2013-01-31 16:50:24 +0100105obj-$(CONFIG_HID_STEELSERIES) += hid-steelseries.o
Jiri Slaby90231e72008-06-23 21:56:07 +0200106obj-$(CONFIG_HID_SUNPLUS) += hid-sunplus.o
Jiri Kosina0f6f4312009-05-15 15:46:44 +0200107obj-$(CONFIG_HID_GREENASIA) += hid-gaff.o
108obj-$(CONFIG_HID_THRUSTMASTER) += hid-tmff.o
Jarod Wilson44ea35c2011-10-14 16:57:42 -0400109obj-$(CONFIG_HID_TIVO) += hid-tivo.o
Lev Babievf14f5262009-01-04 00:36:56 +0100110obj-$(CONFIG_HID_TOPSEED) += hid-topseed.o
Bruno Premont711a6802009-07-13 14:19:58 +0200111obj-$(CONFIG_HID_TWINHAN) += hid-twinhan.o
Nikolai Kondrashovff0c13d2019-02-10 12:13:50 +0200112hid-uclogic-objs := hid-uclogic-core.o \
Nikolai Kondrashov96142192019-02-10 12:13:51 +0200113 hid-uclogic-rdesc.o \
114 hid-uclogic-params.o
Nikolai Kondrashovf8a489c2010-08-09 20:44:17 +0400115obj-$(CONFIG_HID_UCLOGIC) += hid-uclogic.o
Bastien Nocera0edffe62016-11-15 13:02:05 +0100116obj-$(CONFIG_HID_UDRAW_PS3) += hid-udraw-ps3.o
Heiner Kallweit6c7ad072016-06-17 21:20:46 +0200117obj-$(CONFIG_HID_LED) += hid-led.o
Olivier Scherlercb2c9e32013-07-27 19:20:02 +0200118obj-$(CONFIG_HID_XINMO) += hid-xinmo.o
Jiri Kosina0f6f4312009-05-15 15:46:44 +0200119obj-$(CONFIG_HID_ZEROPLUS) += hid-zpff.o
Don Princea9885c82010-05-14 17:30:59 +0100120obj-$(CONFIG_HID_ZYDACRON) += hid-zydacron.o
Nikolai Kondrashov7c2af0a2019-02-10 12:13:48 +0200121obj-$(CONFIG_HID_VIEWSONIC) += hid-viewsonic.o
Benjamin Tissoires471d1712014-07-24 13:10:09 -0700122
123wacom-objs := wacom_wac.o wacom_sys.o
Benjamin Tissoires7403a6a2014-08-06 14:06:26 -0700124obj-$(CONFIG_HID_WACOM) += wacom.o
Nikolai Kondrashov72a46342010-08-20 19:21:11 +0400125obj-$(CONFIG_HID_WALTOP) += hid-waltop.o
David Herrmannfb51b442011-07-05 13:45:08 +0200126obj-$(CONFIG_HID_WIIMOTE) += hid-wiimote.o
srinivas pandruvada401ca242012-09-05 13:56:00 +0100127obj-$(CONFIG_HID_SENSOR_HUB) += hid-sensor-hub.o
Srinivas Pandruvada4a7de052015-04-10 11:22:22 -0700128obj-$(CONFIG_HID_SENSOR_CUSTOM_SENSOR) += hid-sensor-custom.o
Jiri Slaby5f22a792008-05-16 11:49:19 +0200129
Jiri Kosina6db3dfe2007-03-08 16:47:49 +0100130obj-$(CONFIG_USB_HID) += usbhid/
131obj-$(CONFIG_USB_MOUSE) += usbhid/
132obj-$(CONFIG_USB_KBD) += usbhid/
133
Benjamin Tissoires4a200c32012-11-12 15:42:59 +0100134obj-$(CONFIG_I2C_HID) += i2c-hid/
Srinivas Pandruvada3703f532016-08-07 02:25:34 -0700135
136obj-$(CONFIG_INTEL_ISH_HID) += intel-ish-hid/