summaryrefslogtreecommitdiff
path: root/drivers/net/caif/Makefile
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2011-01-14 17:12:45 +0300
committerMichal Marek <mmarek@suse.cz>2011-03-17 16:05:35 +0300
commit5a8b7cdc7424d63467cff1d20461acf48ffcb72f (patch)
treec960cba07cad2265476007c6feac315970090bb5 /drivers/net/caif/Makefile
parent8ac727c1e65ba98fc2d82bb28288312cc3b7473b (diff)
downloadlinux-5a8b7cdc7424d63467cff1d20461acf48ffcb72f.tar.xz
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>
Diffstat (limited to 'drivers/net/caif/Makefile')
-rw-r--r--drivers/net/caif/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/caif/Makefile b/drivers/net/caif/Makefile
index b38d987da67d..9560b9d624bd 100644
--- a/drivers/net/caif/Makefile
+++ b/drivers/net/caif/Makefile
@@ -1,6 +1,4 @@
-ifeq ($(CONFIG_CAIF_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_CAIF_DEBUG) := -DDEBUG
# Serial interface
obj-$(CONFIG_CAIF_TTY) += caif_serial.o