summaryrefslogtreecommitdiffstats
path: root/drivers/usb/input/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/input/Makefile')
-rw-r--r--drivers/usb/input/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/input/Makefile b/drivers/usb/input/Makefile
index 5e03b93f29f..07cb17db42f 100644
--- a/drivers/usb/input/Makefile
+++ b/drivers/usb/input/Makefile
@@ -42,3 +42,7 @@ obj-$(CONFIG_USB_ACECAD) += acecad.o
obj-$(CONFIG_USB_YEALINK) += yealink.o
obj-$(CONFIG_USB_XPAD) += xpad.o
obj-$(CONFIG_USB_APPLETOUCH) += appletouch.o
+
+ifeq ($(CONFIG_USB_DEBUG),y)
+EXTRA_CFLAGS += -DDEBUG
+endif