]> git.karo-electronics.de Git - linux-beck.git/commitdiff
PM: Use proper ccflag flag in kernel/power/Makefile
authorTracey Dent <tdent48227@gmail.com>
Thu, 25 Nov 2010 22:41:29 +0000 (23:41 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 24 Dec 2010 14:02:40 +0000 (15:02 +0100)
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>
kernel/power/Makefile

index f9063c6b185d2917124f06350753ad96e0b184d1..b75597235d85fd3323c318f5c58bb8c04554f1fb 100644 (file)
@@ -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