* [PATCH 1/2] drivers/dma/: Use the ccflag-y instead of EXTRA_CFLAGS
@ 2010-11-06 21:01 Tracey Dent
2010-11-06 21:01 ` [PATCH 2/2] drivers/dma/ioat: " Tracey Dent
0 siblings, 1 reply; 2+ messages in thread
From: Tracey Dent @ 2010-11-06 21:01 UTC (permalink / raw)
To: dan.j.williams; +Cc: akpm, linux-kernel, s.hauer, linus.walleij, Tracey Dent
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>
---
drivers/dma/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dma/Makefile b/drivers/dma/Makefile
index a8a84f4..64b21f5 100644
--- a/drivers/dma/Makefile
+++ b/drivers/dma/Makefile
@@ -1,8 +1,8 @@
ifeq ($(CONFIG_DMADEVICES_DEBUG),y)
- EXTRA_CFLAGS += -DDEBUG
+ ccflags-y += -DDEBUG
endif
ifeq ($(CONFIG_DMADEVICES_VDEBUG),y)
- EXTRA_CFLAGS += -DVERBOSE_DEBUG
+ ccflags-y += -DVERBOSE_DEBUG
endif
obj-$(CONFIG_DMA_ENGINE) += dmaengine.o
--
1.7.3.1.104.gc752e
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] drivers/dma/ioat: Use the ccflag-y instead of EXTRA_CFLAGS
2010-11-06 21:01 [PATCH 1/2] drivers/dma/: Use the ccflag-y instead of EXTRA_CFLAGS Tracey Dent
@ 2010-11-06 21:01 ` Tracey Dent
0 siblings, 0 replies; 2+ messages in thread
From: Tracey Dent @ 2010-11-06 21:01 UTC (permalink / raw)
To: dan.j.williams; +Cc: akpm, linux-kernel, s.hauer, linus.walleij, Tracey Dent
Changed Makefile to use <modules>-y instead of <modules>-objs. Following
(documentation/kbuild/makefiles.txt).
Signed-off-by: Tracey Dent <tdent48227@gmail.com>
---
drivers/dma/ioat/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/dma/ioat/Makefile b/drivers/dma/ioat/Makefile
index 8997d3f..0ff7270 100644
--- a/drivers/dma/ioat/Makefile
+++ b/drivers/dma/ioat/Makefile
@@ -1,2 +1,2 @@
obj-$(CONFIG_INTEL_IOATDMA) += ioatdma.o
-ioatdma-objs := pci.o dma.o dma_v2.o dma_v3.o dca.o
+ioatdma-y := pci.o dma.o dma_v2.o dma_v3.o dca.o
--
1.7.3.1.104.gc752e
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-06 21:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-06 21:01 [PATCH 1/2] drivers/dma/: Use the ccflag-y instead of EXTRA_CFLAGS Tracey Dent
2010-11-06 21:01 ` [PATCH 2/2] drivers/dma/ioat: " Tracey Dent
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).