summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2010-09-24 23:17:11 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 21:16:44 +0400
commit7a868088ee48d1816c10f9be6d32aef4cf30bcf7 (patch)
tree84a233edb60bab167328da49fa85c5c0ed59f46d /drivers
parent38f49a5132f24d29236820eb5c7dd956e47f94a3 (diff)
downloadlinux-7a868088ee48d1816c10f9be6d32aef4cf30bcf7.tar.xz
driver-core: base: 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: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/base/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/base/Makefile b/drivers/base/Makefile
index c12c7f2f2a6f..5f51c3b4451e 100644
--- a/drivers/base/Makefile
+++ b/drivers/base/Makefile
@@ -19,7 +19,5 @@ obj-$(CONFIG_MODULES) += module.o
endif
obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o
-ifeq ($(CONFIG_DEBUG_DRIVER),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG