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 --- 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