summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorTracey Dent <tdent48227@gmail.com>2010-11-25 23:41:29 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2010-12-24 15:02:40 +0100
commit133f1128b2bf178a1976b17c54bd14ce6feb90bf (patch)
tree206b00394eb2f0df8025a64304de46786d4ae55f /kernel
parent6675bc056790b403d198a173498d377187754142 (diff)
downloadblackbird-op-linux-133f1128b2bf178a1976b17c54bd14ce6feb90bf.tar.gz
blackbird-op-linux-133f1128b2bf178a1976b17c54bd14ce6feb90bf.zip
PM: Use proper ccflag flag in kernel/power/Makefile
Use the ccflags-$ flag instead of EXTRA_CFLAGS because EXTRA_CFLAGS is deprecated and should now be switched. According to (documentation/kbuild/makefiles.txt). Signed-off-by: Tracey Dent <tdent48227@gmail.com> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/power/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/power/Makefile b/kernel/power/Makefile
index f9063c6b185d..b75597235d85 100644
--- a/kernel/power/Makefile
+++ b/kernel/power/Makefile
@@ -1,7 +1,4 @@
-
-ifeq ($(CONFIG_PM_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_PM_DEBUG) := -DDEBUG
obj-$(CONFIG_PM) += main.o
obj-$(CONFIG_PM_SLEEP) += console.o
OpenPOWER on IntegriCloud