* [PATCH 20/20] net: change to new flag variable
@ 2010-09-23 6:51 matt mooney
2010-09-23 11:48 ` Sjur Brændeland
0 siblings, 1 reply; 2+ messages in thread
From: matt mooney @ 2010-09-23 6:51 UTC (permalink / raw)
To: David S. Miller; +Cc: John W. Linville, netdev, linux-kernel, kernel-janitors
Replace EXTRA_CFLAGS with ccflags-y.
Signed-off-by: matt mooney <mfm@muteddisk.com>
---
net/caif/Makefile | 4 +---
net/rds/Makefile | 4 +---
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/net/caif/Makefile b/net/caif/Makefile
index f87481f..38581ba 100644
--- a/net/caif/Makefile
+++ b/net/caif/Makefile
@@ -1,6 +1,4 @@
-ifeq ($(CONFIG_CAIF_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_CAIF_DEBUG) := -DDEBUG
caif-objs := caif_dev.o \
cfcnfg.o cfmuxl.o cfctrl.o \
diff --git a/net/rds/Makefile b/net/rds/Makefile
index b46eca1..f00fb19 100644
--- a/net/rds/Makefile
+++ b/net/rds/Makefile
@@ -15,7 +15,5 @@ obj-$(CONFIG_RDS_TCP) += rds_tcp.o
rds_tcp-objs := tcp.o tcp_connect.o tcp_listen.o tcp_recv.o \
tcp_send.o tcp_stats.o
-ifeq ($(CONFIG_RDS_DEBUG), y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_RDS_DEBUG) := -DDEBUG
--
1.7.2.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-23 11:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-23 6:51 [PATCH 20/20] net: change to new flag variable matt mooney
2010-09-23 11:48 ` Sjur Brændeland
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).