projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8000743
)
convert drivers/base/power/Makefile to ccflags
author
Johannes Berg
<johannes@sipsolutions.net>
Thu, 8 Nov 2007 11:59:13 +0000
(12:59 +0100)
committer
Sam Ravnborg
<sam@ravnborg.org>
Mon, 28 Jan 2008 22:14:35 +0000
(23:14 +0100)
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>
drivers/base/power/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/drivers/base/power/Makefile
b/drivers/base/power/Makefile
index 06a86fe6a78d77a1c2d0a3b7e84003456c430933..de28dfd3b96c6ff4db97ed85320f017a8542e799 100644
(file)
--- 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