From: Michal Marek <mmarek@suse.com>
To: RaphaelWu@viatech.com.cn
Cc: daniel.baluta@intel.com, linux-kbuild@vger.kernel.org,
octavian.purdila@intel.com, bogdan.m.davidoaia@intel.com
Subject: Re: how to echo $(KBUILD_CFLAGS)
Date: Thu, 20 Aug 2015 10:57:31 +0200 [thread overview]
Message-ID: <55D5967B.9050806@suse.com> (raw)
In-Reply-To: <848BD1798F19584EADB3CD55379CFD64665E4D3B@SHMX01.s3graphics.com>
On 2015-08-20 04:03, RaphaelWu@viatech.com.cn wrote:
> Hi,
> Recently I wrote a test module, within my module I need remove -pg flag
> which is defined by host Makefile (which enable -pg, ftrace function).
> I used a trick in my module makefile KBUILD_CFLAGS := $(subst -pg,,$(KBUILD_CFLAGS)),
You are probably looking for CLFAGS_REMOVE_<file.o>.
Michal
next prev parent reply other threads:[~2015-08-20 8:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-20 2:03 how to echo $(KBUILD_CFLAGS) RaphaelWu
2015-08-20 8:57 ` Michal Marek [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-08-20 10:45 RaphaelWu
2015-08-20 10:49 ` Michal Marek
2015-08-20 11:03 RaphaelWu
2015-08-20 11:34 ` Michal Marek
2015-08-20 17:19 ` Sam Ravnborg
2015-08-20 12:04 RaphaelWu
2015-08-21 1:08 RaphaelWu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55D5967B.9050806@suse.com \
--to=mmarek@suse.com \
--cc=RaphaelWu@viatech.com.cn \
--cc=bogdan.m.davidoaia@intel.com \
--cc=daniel.baluta@intel.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=octavian.purdila@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).