[PATCH] USB: move CONFIG_USB_DEBUG checks into the Makefile
[linux-2.6] / drivers / usb / input / Makefile
index 43b2f99..07cb17d 100644 (file)
@@ -41,3 +41,8 @@ obj-$(CONFIG_USB_WACOM)               += wacom.o
 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