aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2015-01-10 22:47:56 +0100
committerLinus Walleij <[email protected]>2015-01-10 22:52:01 +0100
commite2821bee40bec00aed5abffa446a5ac3738b041e (patch)
tree8ddd4258148309d0fce089530eb5a996d815d57d
parent2ef2a489256b135429a652060416714172c23603 (diff)
pinctrl: pass -DDEBUG in subdirs
When drivers are compiled in subdirectories the -DDEBUG flag need to be passed in the individual Makefiles. Reported-by: Mika Westerberg <[email protected]> Suggested-by: Yingjoe Chen <[email protected]> Cc: Mika Westerberg <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
-rw-r--r--drivers/pinctrl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile
index c030b3db8034..c7139ba195fe 100644
--- a/drivers/pinctrl/Makefile
+++ b/drivers/pinctrl/Makefile
@@ -1,6 +1,6 @@
# generic pinmux support
-ccflags-$(CONFIG_DEBUG_PINCTRL) += -DDEBUG
+subdir-ccflags-$(CONFIG_DEBUG_PINCTRL) += -DDEBUG
obj-$(CONFIG_PINCTRL) += core.o pinctrl-utils.o
obj-$(CONFIG_PINMUX) += pinmux.o