diff options
author | matt mooney <mfm@muteddisk.com> | 2011-01-14 14:12:44 (GMT) |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-03-17 13:05:34 (GMT) |
commit | 8ac727c1e65ba98fc2d82bb28288312cc3b7473b (patch) | |
tree | 8e5a73af80eae5588639db3707ed2e58fb260088 /drivers | |
parent | d100d406044b76475c7baec72ab6770306ea1a8d (diff) | |
download | linux-8ac727c1e65ba98fc2d82bb28288312cc3b7473b.tar.xz |
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')
-rw-r--r-- | drivers/misc/cb710/Makefile | 4 | ||||
-rw-r--r-- | drivers/misc/sgi-gru/Makefile | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/drivers/misc/cb710/Makefile b/drivers/misc/cb710/Makefile index 7b80cbf..467c8e9 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 diff --git a/drivers/misc/sgi-gru/Makefile b/drivers/misc/sgi-gru/Makefile index 7c4c306..0003a1d 100644 --- a/drivers/misc/sgi-gru/Makefile +++ b/drivers/misc/sgi-gru/Makefile @@ -1,6 +1,4 @@ -ifdef CONFIG_SGI_GRU_DEBUG - EXTRA_CFLAGS += -DDEBUG -endif +ccflags-$(CONFIG_SGI_GRU_DEBUG) := -DDEBUG obj-$(CONFIG_SGI_GRU) := gru.o gru-y := grufile.o grumain.o grufault.o grutlbpurge.o gruprocfs.o grukservices.o gruhandles.o grukdump.o |