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