All of lore.kernel.org
 help / color / mirror / Atom feed
* + kernel-gcov-makefile-use-proper-ccflag-flag-in-makefile.patch added to -mm tree
@ 2011-01-24 21:36 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2011-01-24 21:36 UTC (permalink / raw)
  To: mm-commits; +Cc: tdent48227, oberpar, xiyou.wangcong


The patch titled
     kernel/gcov/Makefile: use proper ccflag flag in Makefile
has been added to the -mm tree.  Its filename is
     kernel-gcov-makefile-use-proper-ccflag-flag-in-makefile.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: kernel/gcov/Makefile: use proper ccflag flag in Makefile
From: Tracey Dent <tdent48227@gmail.com>

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@gmail.com>
Cc: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 kernel/gcov/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN kernel/gcov/Makefile~kernel-gcov-makefile-use-proper-ccflag-flag-in-makefile kernel/gcov/Makefile
--- a/kernel/gcov/Makefile~kernel-gcov-makefile-use-proper-ccflag-flag-in-makefile
+++ a/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
_

Patches currently in -mm which might be from tdent48227@gmail.com are

drivers-block-makefile-replace-the-use-of-module-objs-with-module-y.patch
drivers-block-aoe-makefile-replace-the-use-of-module-objs-with-module-y.patch
kernel-gcov-makefile-use-proper-ccflag-flag-in-makefile.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-24 21:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-24 21:36 + kernel-gcov-makefile-use-proper-ccflag-flag-in-makefile.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.