summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/Makefile
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-01-10 21:47:56 (GMT)
committerLinus Walleij <linus.walleij@linaro.org>2015-01-10 21:52:01 (GMT)
commite2821bee40bec00aed5abffa446a5ac3738b041e (patch)
tree8ddd4258148309d0fce089530eb5a996d815d57d /drivers/pinctrl/Makefile
parent2ef2a489256b135429a652060416714172c23603 (diff)
downloadlinux-e2821bee40bec00aed5abffa446a5ac3738b041e.tar.xz
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 <mika.westerberg@linux.intel.com> Suggested-by: Yingjoe Chen <yingjoe.chen@mediatek.com> Cc: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/Makefile')
-rw-r--r--drivers/pinctrl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile
index c030b3d..c7139ba 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