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>
This commit is contained in:
parent
2ef2a48925
commit
e2821bee40
|
@ -1,6 +1,6 @@
|
||||||
# generic pinmux support
|
# generic pinmux support
|
||||||
|
|
||||||
ccflags-$(CONFIG_DEBUG_PINCTRL) += -DDEBUG
|
subdir-ccflags-$(CONFIG_DEBUG_PINCTRL) += -DDEBUG
|
||||||
|
|
||||||
obj-$(CONFIG_PINCTRL) += core.o pinctrl-utils.o
|
obj-$(CONFIG_PINCTRL) += core.o pinctrl-utils.o
|
||||||
obj-$(CONFIG_PINMUX) += pinmux.o
|
obj-$(CONFIG_PINMUX) += pinmux.o
|
||||||
|
|
Loading…
Reference in New Issue