[PATCH 09/12] USB: chipidea: add -DDEBUG if CONFIG_USB_CHIPIDEA_DEBUG
Richard Zhao
richard.zhao at freescale.com
Thu Jul 12 03:01:49 EDT 2012
Signed-off-by: Richard Zhao <richard.zhao at freescale.com>
---
drivers/usb/chipidea/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/chipidea/Makefile b/drivers/usb/chipidea/Makefile
index 5c66d9c..3f56b76 100644
--- a/drivers/usb/chipidea/Makefile
+++ b/drivers/usb/chipidea/Makefile
@@ -1,3 +1,5 @@
+ccflags-$(CONFIG_USB_CHIPIDEA_DEBUG) := -DDEBUG
+
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o
ci_hdrc-y := core.o
--
1.7.9.5
More information about the linux-arm-kernel
mailing list