summaryrefslogtreecommitdiffstats
path: root/drivers/misc/cb710/Makefile
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2011-01-14 15:12:44 +0100
committerMichal Marek <mmarek@suse.cz>2011-03-17 14:05:34 +0100
commit8ac727c1e65ba98fc2d82bb28288312cc3b7473b (patch)
tree8e5a73af80eae5588639db3707ed2e58fb260088 /drivers/misc/cb710/Makefile
parentmessage: change to new flag variable (diff)
downloadlinux-8ac727c1e65ba98fc2d82bb28288312cc3b7473b.tar.xz
linux-8ac727c1e65ba98fc2d82bb28288312cc3b7473b.zip
misc: 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> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'drivers/misc/cb710/Makefile')
-rw-r--r--drivers/misc/cb710/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/misc/cb710/Makefile b/drivers/misc/cb710/Makefile
index 7b80cbf1a609..467c8e9ca3c9 100644
--- a/drivers/misc/cb710/Makefile
+++ b/drivers/misc/cb710/Makefile
@@ -1,6 +1,4 @@
-ifeq ($(CONFIG_CB710_DEBUG),y)
- EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_CB710_DEBUG) := -DDEBUG
obj-$(CONFIG_CB710_CORE) += cb710.o