summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/Makefile
diff options
context:
space:
mode:
authorAndreas Larsson <andreas@gaisler.com>2013-10-11 08:07:00 +0200
committerFelipe Balbi <balbi@ti.com>2013-10-11 20:50:36 +0200
commitcd1086913ffef6d9656efdf35168b2b28675c245 (patch)
treef07cecf1f45b31c0f421106bbe6633710a10004a /drivers/usb/gadget/Makefile
parentusb: gadget: s3c-hsotg: remove unused label (diff)
downloadlinux-cd1086913ffef6d9656efdf35168b2b28675c245.tar.xz
linux-cd1086913ffef6d9656efdf35168b2b28675c245.zip
usb: gadget: Make VERBOSE_DEBUG enableable via Kconfig
Create a way for VERBOSE_DEBUG to be enabled during drivers/usb/gadget/ build. Signed-off-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/Makefile')
-rw-r--r--drivers/usb/gadget/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile
index f1bd42a2cbba..f1af39603d4d 100644
--- a/drivers/usb/gadget/Makefile
+++ b/drivers/usb/gadget/Makefile
@@ -1,7 +1,8 @@
#
# USB peripheral controller drivers
#
-ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG
+ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG
+ccflags-$(CONFIG_USB_GADGET_VERBOSE) += -DVERBOSE_DEBUG
obj-$(CONFIG_USB_GADGET) += udc-core.o
obj-$(CONFIG_USB_LIBCOMPOSITE) += libcomposite.o