diff options
author | matt mooney <mfm@muteddisk.com> | 2011-01-14 06:12:37 -0800 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-03-17 14:02:59 +0100 |
commit | 990710ca5ddf28aef9c34594b3ffe71544e5faa4 (patch) | |
tree | c3bb05e0685919ffa0682b36cc717f824e60d6fd /drivers/dma/Makefile | |
parent | 8ec3b8432e4fe8d452f88f1ed9a3450e715bb797 (diff) | |
download | op-kernel-dev-990710ca5ddf28aef9c34594b3ffe71544e5faa4.zip op-kernel-dev-990710ca5ddf28aef9c34594b3ffe71544e5faa4.tar.gz |
dma: change to new flag variable
Replace EXTRA_CFLAGS with ccflags-y.
Signed-off-by: matt mooney <mfm@muteddisk.com>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'drivers/dma/Makefile')
-rw-r--r-- | drivers/dma/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/dma/Makefile b/drivers/dma/Makefile index 64b21f5..1be065a 100644 --- a/drivers/dma/Makefile +++ b/drivers/dma/Makefile @@ -1,9 +1,5 @@ -ifeq ($(CONFIG_DMADEVICES_DEBUG),y) - ccflags-y += -DDEBUG -endif -ifeq ($(CONFIG_DMADEVICES_VDEBUG),y) - ccflags-y += -DVERBOSE_DEBUG -endif +ccflags-$(CONFIG_DMADEVICES_DEBUG) := -DDEBUG +ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG obj-$(CONFIG_DMA_ENGINE) += dmaengine.o obj-$(CONFIG_NET_DMA) += iovlock.o |