Skip to content

Commit

Permalink
HID: usbhid: Clean up makefile (-y instead of -objs)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tracey Dent authored and Jiri Kosina committed Nov 18, 2010
1 parent d47d612 commit e9229fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/hid/usbhid/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9229fa

Please sign in to comment.