dmaengine: inherit debug settings from the subsystem for subdirectories

To be able to see debug messages during boot, enable the debug settings
from Kconfig also for drivers in subdirectories.

Signed-off-by: Wolfram Sang <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
This commit is contained in:
Wolfram Sang authored and Vinod Koul committed 2014-07-15 21:47:33 +05:30
1 parent 96cb989857
commit 653e67f7e5
1 file changed
+2 -2
+2 -2
View File
@@ -1,5 +1,5 @@
ccflags-$(CONFIG_DMADEVICES_DEBUG) := -DDEBUG
ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG
subdir-ccflags-$(CONFIG_DMADEVICES_DEBUG) := -DDEBUG
subdir-ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG
obj-$(CONFIG_DMA_ENGINE) += dmaengine.o
obj-$(CONFIG_DMA_VIRTUAL_CHANNELS) += virt-dma.o