diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-11-08 06:59:13 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-01-28 17:14:35 -0500 |
commit | 9e233625fbee1f977929a5406533b96011f1a06b (patch) | |
tree | ab3d3f6a9f4aa8839a3cabfee5052dfd07545669 /drivers/base | |
parent | 800074345544ae6ec06c77b1a3f7ba032f84bd10 (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/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/base/power/Makefile b/drivers/base/power/Makefile index 06a86fe6a78d..de28dfd3b96c 100644 --- a/drivers/base/power/Makefile +++ b/drivers/base/power/Makefile | |||
@@ -2,9 +2,5 @@ obj-$(CONFIG_PM) += sysfs.o | |||
2 | obj-$(CONFIG_PM_SLEEP) += main.o | 2 | obj-$(CONFIG_PM_SLEEP) += main.o |
3 | obj-$(CONFIG_PM_TRACE) += trace.o | 3 | obj-$(CONFIG_PM_TRACE) += trace.o |
4 | 4 | ||
5 | ifeq ($(CONFIG_DEBUG_DRIVER),y) | 5 | ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG |
6 | EXTRA_CFLAGS += -DDEBUG | 6 | ccflags-$(CONFIG_PM_VERBOSE) += -DDEBUG |
7 | endif | ||
8 | ifeq ($(CONFIG_PM_VERBOSE),y) | ||
9 | EXTRA_CFLAGS += -DDEBUG | ||
10 | endif | ||