[PATCH] Kernel: gcov: Makefile: Use proper ccflag flag in Makefile

From: Tracey Dent
Date: Sun Jan 23 2011 - 17:54:01 EST


Use the ccflags-y 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@xxxxxxxxx>
---
kernel/gcov/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/gcov/Makefile b/kernel/gcov/Makefile
index 3f76100..e97ca59 100644
--- a/kernel/gcov/Makefile
+++ b/kernel/gcov/Makefile
@@ -1,3 +1,3 @@
-EXTRA_CFLAGS := -DSRCTREE='"$(srctree)"' -DOBJTREE='"$(objtree)"'
+ccflags-y := -DSRCTREE='"$(srctree)"' -DOBJTREE='"$(objtree)"'

obj-$(CONFIG_GCOV_KERNEL) := base.o fs.o gcc_3_4.o
--
1.7.4.rc2

Attachment: pgp00000.pgp
Description: PGP signature