Przeglądaj źródła

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>
Tracey Dent 14 lat temu
rodzic
commit
e9229faf92
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      drivers/hid/usbhid/Makefile

+ 3 - 3
drivers/hid/usbhid/Makefile

@@ -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