aboutsummaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-11-08 12:59:13 +0100
committerSam Ravnborg <sam@ravnborg.org>2008-01-28 23:14:35 +0100
commit9e233625fbee1f977929a5406533b96011f1a06b (patch)
treeab3d3f6a9f4aa8839a3cabfee5052dfd07545669 /drivers/base
parent800074345544ae6ec06c77b1a3f7ba032f84bd10 (diff)
convert drivers/base/power/Makefile to ccflags
This patch converts drivers/base/power/Makefile to use ccflags instead of EXTRA_CFLAGS. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/power/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/base/power/Makefile b/drivers/base/power/Makefile
index 06a86fe6a78..de28dfd3b96 100644
--- a/drivers/base/power/Makefile
+++ b/drivers/base/power/Makefile
@@ -2,9 +2,5 @@ obj-$(CONFIG_PM) += sysfs.o
obj-$(CONFIG_PM_SLEEP) += main.o
obj-$(CONFIG_PM_TRACE) += trace.o
-ifeq ($(CONFIG_DEBUG_DRIVER),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
-ifeq ($(CONFIG_PM_VERBOSE),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG
+ccflags-$(CONFIG_PM_VERBOSE) += -DDEBUG