Commit 990710ca authored by matt mooney's avatar matt mooney Committed by Michal Marek

dma: change to new flag variable

Replace EXTRA_CFLAGS with ccflags-y.
Signed-off-by: default avatarmatt mooney <mfm@muteddisk.com>
Acked-by: default avatarWANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 8ec3b843
ifeq ($(CONFIG_DMADEVICES_DEBUG),y) ccflags-$(CONFIG_DMADEVICES_DEBUG) := -DDEBUG
ccflags-y += -DDEBUG ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG
endif
ifeq ($(CONFIG_DMADEVICES_VDEBUG),y)
ccflags-y += -DVERBOSE_DEBUG
endif
obj-$(CONFIG_DMA_ENGINE) += dmaengine.o obj-$(CONFIG_DMA_ENGINE) += dmaengine.o
obj-$(CONFIG_NET_DMA) += iovlock.o obj-$(CONFIG_NET_DMA) += iovlock.o
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment