linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kernel/power/: Changed Makefile to use proper ccflag flag
@ 2010-11-13 23:28 Tracey Dent
  2010-11-14  5:32 ` Pavel Machek
  2010-11-26 22:04 ` Rafael J. Wysocki
  0 siblings, 2 replies; 3+ messages in thread
From: Tracey Dent @ 2010-11-13 23:28 UTC (permalink / raw)
  To: len.brown; +Cc: pavel, rjw, linux-kernel, linux-pm, akpm, Tracey Dent

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>
---
 kernel/power/Makefile |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/kernel/power/Makefile b/kernel/power/Makefile
index f9063c6..b755972 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
-- 
1.7.3.2.164.g6f10c


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-26 22:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-13 23:28 [PATCH] kernel/power/: Changed Makefile to use proper ccflag flag Tracey Dent
2010-11-14  5:32 ` Pavel Machek
2010-11-26 22:04 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).