net: change to new flag variable
PATCH 20/20 net: change to new flag variable
Replace EXTRA_CFLAGS with ccflags-y.
Signed-off-by matt mooney <[email protected]>
--- net/caif/Makefile | 4 +--- net/rds/Makefile | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-)
net/caif/Makefile +1 -3
@@ -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 \
net/rds/Makefile +1 -3
@@ -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
Signature · 1 line
1.7.2.1
Quoted 1 line · matt mooney
Replace
EXTRA_CFLAGSwith ccflags-y.
Thank you,
CAIF parts looks good to me.
Acked-by Sjur Braendeland <[email protected]>