Commit 5a8b7cdc authored by matt mooney's avatar matt mooney Committed by Michal Marek

net: 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>
Acked-by: default avatarSjur Braendeland <sjur.brandeland@stericsson.com>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Acked-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 8ac727c1
ifeq ($(CONFIG_CAIF_DEBUG),y) ccflags-$(CONFIG_CAIF_DEBUG) := -DDEBUG
EXTRA_CFLAGS += -DDEBUG
endif
# Serial interface # Serial interface
obj-$(CONFIG_CAIF_TTY) += caif_serial.o obj-$(CONFIG_CAIF_TTY) += caif_serial.o
......
...@@ -17,4 +17,4 @@ skfp-objs := skfddi.o hwmtm.o fplustm.o smt.o cfm.o \ ...@@ -17,4 +17,4 @@ skfp-objs := skfddi.o hwmtm.o fplustm.o smt.o cfm.o \
# projects. To keep the source common for all those drivers (and # projects. To keep the source common for all those drivers (and
# thus simplify fixes to it), please do not clean it up! # thus simplify fixes to it), please do not clean it up!
EXTRA_CFLAGS += -Idrivers/net/skfp -DPCI -DMEM_MAPPED_IO -Wno-strict-prototypes ccflags-y := -Idrivers/net/skfp -DPCI -DMEM_MAPPED_IO -Wno-strict-prototypes
...@@ -14,4 +14,4 @@ lmc-objs := lmc_debug.o lmc_media.o lmc_main.o lmc_proto.o ...@@ -14,4 +14,4 @@ lmc-objs := lmc_debug.o lmc_media.o lmc_main.o lmc_proto.o
# -DDEBUG \ # -DDEBUG \
# -DLMC_PACKET_LOG # -DLMC_PACKET_LOG
EXTRA_CFLAGS += -I. $(DBGDEF) ccflags-y := -I. $(DBGDEF)
...@@ -30,9 +30,9 @@ ...@@ -30,9 +30,9 @@
/* Following defines can be used to remove unneeded parts of the driver, e.g., /* Following defines can be used to remove unneeded parts of the driver, e.g.,
* to limit the size of the kernel module. Definitions can be added here in * to limit the size of the kernel module. Definitions can be added here in
* hostap_config.h or they can be added to make command with EXTRA_CFLAGS, * hostap_config.h or they can be added to make command with ccflags-y,
* e.g., * e.g.,
* 'make pccard EXTRA_CFLAGS="-DPRISM2_NO_DEBUG -DPRISM2_NO_PROCFS_DEBUG"' * 'make pccard ccflags-y="-DPRISM2_NO_DEBUG -DPRISM2_NO_PROCFS_DEBUG"'
*/ */
/* Do not include debug messages into the driver */ /* Do not include debug messages into the driver */
......
...@@ -5,7 +5,5 @@ zd1211rw-objs := zd_chip.o zd_mac.o \ ...@@ -5,7 +5,5 @@ zd1211rw-objs := zd_chip.o zd_mac.o \
zd_rf_al7230b.o zd_rf_uw2453.o \ zd_rf_al7230b.o zd_rf_uw2453.o \
zd_rf.o zd_usb.o zd_rf.o zd_usb.o
ifeq ($(CONFIG_ZD1211RW_DEBUG),y) ccflags-$(CONFIG_ZD1211RW_DEBUG) := -DDEBUG
EXTRA_CFLAGS += -DDEBUG
endif
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