HID: usbhid: Clean up makefile (-y instead of -objs)
authorTracey Dent <tdent48227@gmail.com>
Sun, 7 Nov 2010 14:46:28 +0000 (09:46 -0500)
committerJiri Kosina <jkosina@suse.cz>
Thu, 18 Nov 2010 09:43:18 +0000 (10:43 +0100)
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>
drivers/hid/usbhid/Makefile

index 1329ecb..db3cf31 100644 (file)
@@ -3,15 +3,15 @@
 #
 
 # Multipart objects.
-usbhid-objs    := hid-core.o hid-quirks.o
+usbhid-y       := hid-core.o hid-quirks.o
 
 # Optional parts of multipart objects.
 
 ifeq ($(CONFIG_USB_HIDDEV),y)
-       usbhid-objs     += hiddev.o
+       usbhid-y        += hiddev.o
 endif
 ifeq ($(CONFIG_HID_PID),y)
-       usbhid-objs     += hid-pidff.o
+       usbhid-y        += hid-pidff.o
 endif
 
 obj-$(CONFIG_USB_HID)          += usbhid.o