dmaengine: inherit debug settings from the subsystem for subdirectories
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 14 Jul 2014 20:47:26 +0000 (22:47 +0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 15 Jul 2014 16:17:33 +0000 (21:47 +0530)
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 <wsa+renesas@sang-engineering.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/Makefile

index c779e1eb2db2acca9f35a1faf24dffb04dd930fb..aca5eb577d4468fea05ea9add456e168a3ca2c5b 100644 (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