diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2015-01-10 22:47:56 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-01-10 22:52:01 +0100 |
commit | e2821bee40bec00aed5abffa446a5ac3738b041e (patch) | |
tree | 8ddd4258148309d0fce089530eb5a996d815d57d /drivers/pinctrl | |
parent | pinctrl: nomadik:fix up device tree bindings (diff) | |
download | linux-e2821bee40bec00aed5abffa446a5ac3738b041e.tar.xz linux-e2821bee40bec00aed5abffa446a5ac3738b041e.zip |
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')
-rw-r--r-- | drivers/pinctrl/Makefile | 2 |
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 |