Pull battery into release branch
[cascardo/linux.git] / drivers / hid / Makefile
index 84c823e..68d1376 100644 (file)
@@ -1,19 +1,12 @@
 #
 # Makefile for the HID driver
 #
-
-# Multipart objects.
-hid-objs       := hid-core.o hid-input.o
-
-# Optional parts of multipart objects.
-ifeq ($(CONFIG_HID_DEBUG),y)
-hid-objs       += hid-debug.o
-endif
-
-ifeq ($(CONFIG_INPUT_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
-
+hid-objs                       := hid-core.o hid-input.o
 
 obj-$(CONFIG_HID)              += hid.o
+hid-$(CONFIG_HID_DEBUG)                += hid-debug.o
+
+obj-$(CONFIG_USB_HID)          += usbhid/
+obj-$(CONFIG_USB_MOUSE)                += usbhid/
+obj-$(CONFIG_USB_KBD)          += usbhid/