tools/liblockdep: Use realpath for srctree and objtree
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / hid / Makefile
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 obj-$(CONFIG_HID_GENERIC)       += hid-generic.o
14
15 hid-$(CONFIG_HIDRAW)            += hidraw.o
16
17 hid-logitech-y          := hid-lg.o
18 ifdef CONFIG_LOGITECH_FF
19         hid-logitech-y  += hid-lgff.o
20 endif
21 ifdef CONFIG_LOGIRUMBLEPAD2_FF
22         hid-logitech-y  += hid-lg2ff.o
23 endif
24 ifdef CONFIG_LOGIG940_FF
25         hid-logitech-y  += hid-lg3ff.o
26 endif
27 ifdef CONFIG_LOGIWHEELS_FF
28         hid-logitech-y  += hid-lg4ff.o
29 endif
30
31 hid-wiimote-y           := hid-wiimote-core.o hid-wiimote-modules.o
32 ifdef CONFIG_DEBUG_FS
33         hid-wiimote-y   += hid-wiimote-debug.o
34 endif
35
36 obj-$(CONFIG_HID_A4TECH)        += hid-a4tech.o
37 obj-$(CONFIG_HID_ACRUX)         += hid-axff.o
38 obj-$(CONFIG_HID_APPLE)         += hid-apple.o
39 obj-$(CONFIG_HID_APPLEIR)       += hid-appleir.o
40 obj-$(CONFIG_HID_AUREAL)        += hid-aureal.o
41 obj-$(CONFIG_HID_BELKIN)        += hid-belkin.o
42 obj-$(CONFIG_HID_CHERRY)        += hid-cherry.o
43 obj-$(CONFIG_HID_CHICONY)       += hid-chicony.o
44 obj-$(CONFIG_HID_CYPRESS)       += hid-cypress.o
45 obj-$(CONFIG_HID_DRAGONRISE)    += hid-dr.o
46 obj-$(CONFIG_HID_EMS_FF)        += hid-emsff.o
47 obj-$(CONFIG_HID_ELECOM)        += hid-elecom.o
48 obj-$(CONFIG_HID_ELO)           += hid-elo.o
49 obj-$(CONFIG_HID_EZKEY)         += hid-ezkey.o
50 obj-$(CONFIG_HID_GYRATION)      += hid-gyration.o
51 obj-$(CONFIG_HID_HOLTEK)        += hid-holtek-kbd.o
52 obj-$(CONFIG_HID_HOLTEK)        += hid-holtek-mouse.o
53 obj-$(CONFIG_HID_HOLTEK)        += hid-holtekff.o
54 obj-$(CONFIG_HID_HUION)         += hid-huion.o
55 obj-$(CONFIG_HID_HYPERV_MOUSE)  += hid-hyperv.o
56 obj-$(CONFIG_HID_ICADE)         += hid-icade.o
57 obj-$(CONFIG_HID_KENSINGTON)    += hid-kensington.o
58 obj-$(CONFIG_HID_KEYTOUCH)      += hid-keytouch.o
59 obj-$(CONFIG_HID_KYE)           += hid-kye.o
60 obj-$(CONFIG_HID_LCPOWER)       += hid-lcpower.o
61 obj-$(CONFIG_HID_LENOVO_TPKBD)  += hid-lenovo-tpkbd.o
62 obj-$(CONFIG_HID_LOGITECH)      += hid-logitech.o
63 obj-$(CONFIG_HID_LOGITECH_DJ)   += hid-logitech-dj.o
64 obj-$(CONFIG_HID_MAGICMOUSE)    += hid-magicmouse.o
65 obj-$(CONFIG_HID_MICROSOFT)     += hid-microsoft.o
66 obj-$(CONFIG_HID_MONTEREY)      += hid-monterey.o
67 obj-$(CONFIG_HID_MULTITOUCH)    += hid-multitouch.o
68 obj-$(CONFIG_HID_NTRIG)         += hid-ntrig.o
69 obj-$(CONFIG_HID_ORTEK)         += hid-ortek.o
70 obj-$(CONFIG_HID_PRODIKEYS)     += hid-prodikeys.o
71 obj-$(CONFIG_HID_PANTHERLORD)   += hid-pl.o
72 obj-$(CONFIG_HID_PETALYNX)      += hid-petalynx.o
73 obj-$(CONFIG_HID_PICOLCD)       += hid-picolcd.o
74 hid-picolcd-y                   += hid-picolcd_core.o
75 ifdef CONFIG_HID_PICOLCD_FB
76 hid-picolcd-y                   += hid-picolcd_fb.o
77 endif
78 ifdef CONFIG_HID_PICOLCD_BACKLIGHT
79 hid-picolcd-y                   += hid-picolcd_backlight.o
80 endif
81 ifdef CONFIG_HID_PICOLCD_LCD
82 hid-picolcd-y                   += hid-picolcd_lcd.o
83 endif
84 ifdef CONFIG_HID_PICOLCD_LEDS
85 hid-picolcd-y                   += hid-picolcd_leds.o
86 endif
87 ifdef CONFIG_HID_PICOLCD_CIR
88 hid-picolcd-y                   += hid-picolcd_cir.o
89 endif
90 ifdef CONFIG_DEBUG_FS
91 hid-picolcd-y                   += hid-picolcd_debugfs.o
92 endif
93
94 obj-$(CONFIG_HID_PRIMAX)        += hid-primax.o
95 obj-$(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-ryos.o hid-roccat-savu.o
99 obj-$(CONFIG_HID_SAITEK)        += hid-saitek.o
100 obj-$(CONFIG_HID_SAMSUNG)       += hid-samsung.o
101 obj-$(CONFIG_HID_SMARTJOYPLUS)  += hid-sjoy.o
102 obj-$(CONFIG_HID_SONY)          += hid-sony.o
103 obj-$(CONFIG_HID_SPEEDLINK)     += hid-speedlink.o
104 obj-$(CONFIG_HID_STEELSERIES)   += hid-steelseries.o
105 obj-$(CONFIG_HID_SUNPLUS)       += hid-sunplus.o
106 obj-$(CONFIG_HID_GREENASIA)     += hid-gaff.o
107 obj-$(CONFIG_HID_THINGM)        += hid-thingm.o
108 obj-$(CONFIG_HID_THRUSTMASTER)  += hid-tmff.o
109 obj-$(CONFIG_HID_TIVO)          += hid-tivo.o
110 obj-$(CONFIG_HID_TOPSEED)       += hid-topseed.o
111 obj-$(CONFIG_HID_TWINHAN)       += hid-twinhan.o
112 obj-$(CONFIG_HID_UCLOGIC)       += hid-uclogic.o
113 obj-$(CONFIG_HID_XINMO)         += hid-xinmo.o
114 obj-$(CONFIG_HID_ZEROPLUS)      += hid-zpff.o
115 obj-$(CONFIG_HID_ZYDACRON)      += hid-zydacron.o
116 obj-$(CONFIG_HID_WACOM)         += hid-wacom.o
117 obj-$(CONFIG_HID_WALTOP)        += hid-waltop.o
118 obj-$(CONFIG_HID_WIIMOTE)       += hid-wiimote.o
119 obj-$(CONFIG_HID_SENSOR_HUB)    += hid-sensor-hub.o
120
121 obj-$(CONFIG_USB_HID)           += usbhid/
122 obj-$(CONFIG_USB_MOUSE)         += usbhid/
123 obj-$(CONFIG_USB_KBD)           += usbhid/
124
125 obj-$(CONFIG_I2C_HID)           += i2c-hid/