Makefile 3.8 KB
Newer Older
J
Jiri Kosina 已提交
1 2 3
#
# Makefile for the HID driver
#
4
hid-y			:= hid-core.o hid-input.o
5

6 7 8 9
ifdef CONFIG_DEBUG_FS
	hid-objs		+= hid-debug.o
endif

10
obj-$(CONFIG_HID)		+= hid.o
11
obj-$(CONFIG_UHID)		+= uhid.o
J
Jiri Kosina 已提交
12

13 14
obj-$(CONFIG_HID_GENERIC)	+= hid-generic.o

J
Jiri Kosina 已提交
15
hid-$(CONFIG_HIDRAW)		+= hidraw.o
16

17
hid-logitech-y		:= hid-lg.o
J
Jiri Slaby 已提交
18
ifdef CONFIG_LOGITECH_FF
19
	hid-logitech-y	+= hid-lgff.o
J
Jiri Slaby 已提交
20 21
endif
ifdef CONFIG_LOGIRUMBLEPAD2_FF
22
	hid-logitech-y	+= hid-lg2ff.o
J
Jiri Slaby 已提交
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
J
Jiri Slaby 已提交
30

31
hid-wiimote-y		:= hid-wiimote-core.o
32 33 34
ifdef CONFIG_HID_WIIMOTE_EXT
	hid-wiimote-y	+= hid-wiimote-ext.o
endif
35 36 37
ifdef CONFIG_DEBUG_FS
	hid-wiimote-y	+= hid-wiimote-debug.o
endif
38

J
Jiri Slaby 已提交
39
obj-$(CONFIG_HID_A4TECH)	+= hid-a4tech.o
40
obj-$(CONFIG_HID_ACRUX)		+= hid-axff.o
J
Jiri Slaby 已提交
41
obj-$(CONFIG_HID_APPLE)		+= hid-apple.o
42
obj-$(CONFIG_HID_AUREAL)        += hid-aureal.o
J
Jiri Slaby 已提交
43
obj-$(CONFIG_HID_BELKIN)	+= hid-belkin.o
J
Jiri Slaby 已提交
44
obj-$(CONFIG_HID_CHERRY)	+= hid-cherry.o
J
Jiri Slaby 已提交
45
obj-$(CONFIG_HID_CHICONY)	+= hid-chicony.o
J
Jiri Slaby 已提交
46
obj-$(CONFIG_HID_CYPRESS)	+= hid-cypress.o
47
obj-$(CONFIG_HID_DRAGONRISE)	+= hid-dr.o
48
obj-$(CONFIG_HID_EMS_FF)	+= hid-emsff.o
49
obj-$(CONFIG_HID_ELECOM)	+= hid-elecom.o
J
Jiri Slaby 已提交
50
obj-$(CONFIG_HID_EZKEY)		+= hid-ezkey.o
J
Jiri Slaby 已提交
51
obj-$(CONFIG_HID_GYRATION)	+= hid-gyration.o
52
obj-$(CONFIG_HID_HOLTEK)	+= hid-holtek-kbd.o
53
obj-$(CONFIG_HID_HOLTEK)	+= hid-holtekff.o
54
obj-$(CONFIG_HID_HYPERV_MOUSE)	+= hid-hyperv.o
B
Bastien Nocera 已提交
55
obj-$(CONFIG_HID_ICADE)		+= hid-icade.o
56
obj-$(CONFIG_HID_KENSINGTON)	+= hid-kensington.o
57
obj-$(CONFIG_HID_KEYTOUCH)	+= hid-keytouch.o
58
obj-$(CONFIG_HID_KYE)		+= hid-kye.o
59
obj-$(CONFIG_HID_LCPOWER)       += hid-lcpower.o
60
obj-$(CONFIG_HID_LENOVO_TPKBD)	+= hid-lenovo-tpkbd.o
J
Jiri Slaby 已提交
61
obj-$(CONFIG_HID_LOGITECH)	+= hid-logitech.o
62
obj-$(CONFIG_HID_LOGITECH_DJ)	+= hid-logitech-dj.o
63
obj-$(CONFIG_HID_MAGICMOUSE)    += hid-magicmouse.o
J
Jiri Slaby 已提交
64
obj-$(CONFIG_HID_MICROSOFT)	+= hid-microsoft.o
J
Jiri Slaby 已提交
65
obj-$(CONFIG_HID_MONTEREY)	+= hid-monterey.o
66
obj-$(CONFIG_HID_MULTITOUCH)	+= hid-multitouch.o
R
Rafi Rubin 已提交
67
obj-$(CONFIG_HID_NTRIG)		+= hid-ntrig.o
68
obj-$(CONFIG_HID_ORTEK)		+= hid-ortek.o
D
Don Prince 已提交
69
obj-$(CONFIG_HID_PRODIKEYS)	+= hid-prodikeys.o
J
Jiri Slaby 已提交
70
obj-$(CONFIG_HID_PANTHERLORD)	+= hid-pl.o
J
Jiri Slaby 已提交
71
obj-$(CONFIG_HID_PETALYNX)	+= hid-petalynx.o
72
obj-$(CONFIG_HID_PICOLCD)	+= hid-picolcd.o
B
Bruno Prémont 已提交
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
hid-picolcd-y			+= hid-picolcd_core.o
ifdef CONFIG_HID_PICOLCD_FB
hid-picolcd-y			+= hid-picolcd_fb.o
endif
ifdef CONFIG_HID_PICOLCD_BACKLIGHT
hid-picolcd-y			+= hid-picolcd_backlight.o
endif
ifdef CONFIG_HID_PICOLCD_LCD
hid-picolcd-y			+= hid-picolcd_lcd.o
endif
ifdef CONFIG_HID_PICOLCD_LEDS
hid-picolcd-y			+= hid-picolcd_leds.o
endif
ifdef CONFIG_HID_PICOLCD_CIR
hid-picolcd-y			+= hid-picolcd_cir.o
endif
ifdef CONFIG_DEBUG_FS
hid-picolcd-y			+= hid-picolcd_debugfs.o
endif

93
obj-$(CONFIG_HID_PRIMAX)	+= hid-primax.o
94
obj-$(CONFIG_HID_PS3REMOTE)	+= hid-ps3remote.o
95 96
obj-$(CONFIG_HID_ROCCAT)	+= hid-roccat.o hid-roccat-common.o \
	hid-roccat-arvo.o hid-roccat-isku.o hid-roccat-kone.o \
97 98
	hid-roccat-koneplus.o hid-roccat-kovaplus.o hid-roccat-pyra.o \
	hid-roccat-savu.o
99
obj-$(CONFIG_HID_SAITEK)	+= hid-saitek.o
J
Jiri Slaby 已提交
100
obj-$(CONFIG_HID_SAMSUNG)	+= hid-samsung.o
101
obj-$(CONFIG_HID_SMARTJOYPLUS)	+= hid-sjoy.o
J
Jiri Slaby 已提交
102
obj-$(CONFIG_HID_SONY)		+= hid-sony.o
103
obj-$(CONFIG_HID_SPEEDLINK)	+= hid-speedlink.o
J
Jiri Slaby 已提交
104
obj-$(CONFIG_HID_SUNPLUS)	+= hid-sunplus.o
105 106
obj-$(CONFIG_HID_GREENASIA)	+= hid-gaff.o
obj-$(CONFIG_HID_THRUSTMASTER)	+= hid-tmff.o
107
obj-$(CONFIG_HID_TIVO)		+= hid-tivo.o
108
obj-$(CONFIG_HID_TOPSEED)	+= hid-topseed.o
109
obj-$(CONFIG_HID_TWINHAN)	+= hid-twinhan.o
110
obj-$(CONFIG_HID_UCLOGIC)	+= hid-uclogic.o
111
obj-$(CONFIG_HID_ZEROPLUS)	+= hid-zpff.o
D
Don Prince 已提交
112
obj-$(CONFIG_HID_ZYDACRON)	+= hid-zydacron.o
113
obj-$(CONFIG_HID_WACOM)		+= hid-wacom.o
114
obj-$(CONFIG_HID_WALTOP)	+= hid-waltop.o
115
obj-$(CONFIG_HID_WIIMOTE)	+= hid-wiimote.o
116
obj-$(CONFIG_HID_SENSOR_HUB)	+= hid-sensor-hub.o
J
Jiri Slaby 已提交
117

118 119 120 121
obj-$(CONFIG_USB_HID)		+= usbhid/
obj-$(CONFIG_USB_MOUSE)		+= usbhid/
obj-$(CONFIG_USB_KBD)		+= usbhid/