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

net: change to new flag variable

Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Acked-by: Sjur Braendeland <sjur.brandeland@stericsson.com>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>

authored by

matt mooney and committed by
Michal Marek
5a8b7cdc 8ac727c1

+6 -10
+1 -3
drivers/net/caif/Makefile
··· 1 - ifeq ($(CONFIG_CAIF_DEBUG),y) 2 - EXTRA_CFLAGS += -DDEBUG 3 - endif 1 + ccflags-$(CONFIG_CAIF_DEBUG) := -DDEBUG 4 2 5 3 # Serial interface 6 4 obj-$(CONFIG_CAIF_TTY) += caif_serial.o
+1 -1
drivers/net/skfp/Makefile
··· 17 17 # projects. To keep the source common for all those drivers (and 18 18 # thus simplify fixes to it), please do not clean it up! 19 19 20 - EXTRA_CFLAGS += -Idrivers/net/skfp -DPCI -DMEM_MAPPED_IO -Wno-strict-prototypes 20 + ccflags-y := -Idrivers/net/skfp -DPCI -DMEM_MAPPED_IO -Wno-strict-prototypes
+1 -1
drivers/net/wan/lmc/Makefile
··· 14 14 # -DDEBUG \ 15 15 # -DLMC_PACKET_LOG 16 16 17 - EXTRA_CFLAGS += -I. $(DBGDEF) 17 + ccflags-y := -I. $(DBGDEF)
+2 -2
drivers/net/wireless/hostap/hostap_config.h
··· 30 30 31 31 /* Following defines can be used to remove unneeded parts of the driver, e.g., 32 32 * to limit the size of the kernel module. Definitions can be added here in 33 - * hostap_config.h or they can be added to make command with EXTRA_CFLAGS, 33 + * hostap_config.h or they can be added to make command with ccflags-y, 34 34 * e.g., 35 - * 'make pccard EXTRA_CFLAGS="-DPRISM2_NO_DEBUG -DPRISM2_NO_PROCFS_DEBUG"' 35 + * 'make pccard ccflags-y="-DPRISM2_NO_DEBUG -DPRISM2_NO_PROCFS_DEBUG"' 36 36 */ 37 37 38 38 /* Do not include debug messages into the driver */
+1 -3
drivers/net/wireless/zd1211rw/Makefile
··· 5 5 zd_rf_al7230b.o zd_rf_uw2453.o \ 6 6 zd_rf.o zd_usb.o 7 7 8 - ifeq ($(CONFIG_ZD1211RW_DEBUG),y) 9 - EXTRA_CFLAGS += -DDEBUG 10 - endif 8 + ccflags-$(CONFIG_ZD1211RW_DEBUG) := -DDEBUG 11 9