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>
This commit is contained in:
parent
d47d612459
commit
e9229faf92
1 changed files with 3 additions and 3 deletions
|
@ -3,15 +3,15 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# Multipart objects.
|
# Multipart objects.
|
||||||
usbhid-objs := hid-core.o hid-quirks.o
|
usbhid-y := hid-core.o hid-quirks.o
|
||||||
|
|
||||||
# Optional parts of multipart objects.
|
# Optional parts of multipart objects.
|
||||||
|
|
||||||
ifeq ($(CONFIG_USB_HIDDEV),y)
|
ifeq ($(CONFIG_USB_HIDDEV),y)
|
||||||
usbhid-objs += hiddev.o
|
usbhid-y += hiddev.o
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_HID_PID),y)
|
ifeq ($(CONFIG_HID_PID),y)
|
||||||
usbhid-objs += hid-pidff.o
|
usbhid-y += hid-pidff.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
obj-$(CONFIG_USB_HID) += usbhid.o
|
obj-$(CONFIG_USB_HID) += usbhid.o
|
||||||
|
|
Loading…
Reference in a new issue