Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drivers/dma/: Use the ccflag-y instead of EXTRA_CFLAGS

Use the ccflag-y flag instead of EXTRA_CFLAGS because EXTRA_CFLAGS is
deprecated and should now be switched. According to (documentation/kbuild/makefiles.txt).

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>

authored by

Tracey Dent and committed by
Dan Williams
87e51107 51a1efe2

+2 -2
+2 -2
drivers/dma/Makefile
··· 1 1 ifeq ($(CONFIG_DMADEVICES_DEBUG),y) 2 - EXTRA_CFLAGS += -DDEBUG 2 + ccflags-y += -DDEBUG 3 3 endif 4 4 ifeq ($(CONFIG_DMADEVICES_VDEBUG),y) 5 - EXTRA_CFLAGS += -DVERBOSE_DEBUG 5 + ccflags-y += -DVERBOSE_DEBUG 6 6 endif 7 7 8 8 obj-$(CONFIG_DMA_ENGINE) += dmaengine.o