Commit d47d6124 authored by Tracey Dent's avatar Tracey Dent Committed by Jiri Kosina

HID: 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: default avatarTracey Dent <tdent48227@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 6021afcf
# #
# Makefile for the HID driver # Makefile for the HID driver
# #
hid-objs := hid-core.o hid-input.o hid-y := hid-core.o hid-input.o
ifdef CONFIG_DEBUG_FS ifdef CONFIG_DEBUG_FS
hid-objs += hid-debug.o hid-objs += hid-debug.o
...@@ -11,18 +11,18 @@ obj-$(CONFIG_HID) += hid.o ...@@ -11,18 +11,18 @@ obj-$(CONFIG_HID) += hid.o
hid-$(CONFIG_HIDRAW) += hidraw.o hid-$(CONFIG_HIDRAW) += hidraw.o
hid-logitech-objs := hid-lg.o hid-logitech-y := hid-lg.o
ifdef CONFIG_LOGITECH_FF ifdef CONFIG_LOGITECH_FF
hid-logitech-objs += hid-lgff.o hid-logitech-y += hid-lgff.o
endif endif
ifdef CONFIG_LOGIRUMBLEPAD2_FF ifdef CONFIG_LOGIRUMBLEPAD2_FF
hid-logitech-objs += hid-lg2ff.o hid-logitech-y += hid-lg2ff.o
endif endif
ifdef CONFIG_LOGIG940_FF ifdef CONFIG_LOGIG940_FF
hid-logitech-objs += hid-lg3ff.o hid-logitech-y += hid-lg3ff.o
endif endif
ifdef CONFIG_LOGIWII_FF ifdef CONFIG_LOGIWII_FF
hid-logitech-objs += hid-lg4ff.o hid-logitech-y += hid-lg4ff.o
endif endif
obj-$(CONFIG_HID_3M_PCT) += hid-3m-pct.o obj-$(CONFIG_HID_3M_PCT) += hid-3m-pct.o
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment