aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/usbhid/Makefile
diff options
context:
space:
mode:
authorTracey Dent <tdent48227@gmail.com>2010-11-07 09:46:28 -0500
committerJiri Kosina <jkosina@suse.cz>2010-11-18 04:43:18 -0500
commite9229faf920aba47dd1ba6940b3ca138024543d3 (patch)
tree6f0958f83dcd4848edc31da4417de85a38a156da /drivers/hid/usbhid/Makefile
parentd47d612459300510215fc54bf1283f81710745df (diff)
HID: usbhid: Clean up makefile (-y instead of -objs)
Changed Makefile to use <modules>-y instead of <modules>-objs because -objs is deprecated and should now be switched. According to (documentation/kbuild/makefiles.txt). Signed-off-by: Tracey Dent <tdent48227@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/usbhid/Makefile')
-rw-r--r--drivers/hid/usbhid/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hid/usbhid/Makefile b/drivers/hid/usbhid/Makefile
index 1329ecb37a1c..db3cf31c6fa1 100644
--- a/drivers/hid/usbhid/Makefile
+++ b/drivers/hid/usbhid/Makefile
@@ -3,15 +3,15 @@
3# 3#
4 4
5# Multipart objects. 5# Multipart objects.
6usbhid-objs := hid-core.o hid-quirks.o 6usbhid-y := hid-core.o hid-quirks.o
7 7
8# Optional parts of multipart objects. 8# Optional parts of multipart objects.
9 9
10ifeq ($(CONFIG_USB_HIDDEV),y) 10ifeq ($(CONFIG_USB_HIDDEV),y)
11 usbhid-objs += hiddev.o 11 usbhid-y += hiddev.o
12endif 12endif
13ifeq ($(CONFIG_HID_PID),y) 13ifeq ($(CONFIG_HID_PID),y)
14 usbhid-objs += hid-pidff.o 14 usbhid-y += hid-pidff.o
15endif 15endif
16 16
17obj-$(CONFIG_USB_HID) += usbhid.o 17obj-$(CONFIG_USB_HID) += usbhid.o