Kernel: gcov: Makefile: Use proper ccflag flag in Makefile
PATCH 1/1 Kernel: gcov: Makefile: Use proper ccflag flag in Makefile
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 <[email protected]>
--- kernel/gcov/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/gcov/Makefile +1 -1
@@ -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
Signature · 1 line
1.7.4.rc2
Quoted 5 lines · Tracey Dent
Use the ccflags-y flag instead of
EXTRA_CFLAGSbecauseEXTRA_CFLAGSis deprecated and should now be switched. According to (documentation/kbuild/makefiles.txt)Signed-off-by Tracey Dent <[email protected]>
Acked-by WANG Cong <[email protected]>
Thanks.