[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1289690914-3752-1-git-send-email-tdent48227@gmail.com>
Date: Sat, 13 Nov 2010 18:28:34 -0500
From: Tracey Dent <tdent48227@...il.com>
To: len.brown@...el.com
Cc: pavel@....cz, rjw@...k.pl, linux-kernel@...r.kernel.org,
linux-pm@...ts.linux-foundation.org, akpm@...ux-foundation.org,
Tracey Dent <tdent48227@...il.com>
Subject: [PATCH] kernel/power/: Changed Makefile to use proper ccflag flag
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@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists