mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kajoljain <kjain@linux.ibm.com>
To: Adrian Hunter <adrian.hunter@intel.com>,
	Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] perf tools: Suppress 'rm dlfilter' build message
Date: Thu, 30 Sep 2021 16:10:42 +0530	[thread overview]
Message-ID: <9bb7e02d-1394-4b1e-f955-97f2f9f9f6f0@linux.ibm.com> (raw)
In-Reply-To: <20210930062849.110416-1-adrian.hunter@intel.com>



On 9/30/21 11:58 AM, Adrian Hunter wrote:
> The following build message:
> 
> 	rm dlfilters/dlfilter-test-api-v0.o
> 
> is unwanted.
> 

Hi Adrian,

> The object fle is being treated as an intermediate file and being

Just minor nit, it should be `object file` not `object fle`

Thanks,
Kajol Jain

> automatically removed. Mark the object file as .SECONDARY to prevent
> removal and hence the message.
> 
> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
> ---
>  tools/perf/Makefile.perf | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
> index e04313c4d840..ab8cb17d9ec5 100644
> --- a/tools/perf/Makefile.perf
> +++ b/tools/perf/Makefile.perf
> @@ -787,6 +787,8 @@ $(OUTPUT)dlfilters/%.o: dlfilters/%.c include/perf/perf_dlfilter.h
>  	$(Q)$(MKDIR) -p $(OUTPUT)dlfilters
>  	$(QUIET_CC)$(CC) -c -Iinclude $(EXTRA_CFLAGS) -o $@ -fpic $<
>  
> +.SECONDARY: $(DLFILTERS:.so=.o)
> +
>  $(OUTPUT)dlfilters/%.so: $(OUTPUT)dlfilters/%.o
>  	$(QUIET_LINK)$(CC) $(EXTRA_CFLAGS) -shared -o $@ $<
>  
> 

  reply	other threads:[~2021-09-30 10:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30  6:28 Adrian Hunter
2021-09-30 10:40 ` kajoljain [this message]
2021-10-20 14:38 ` Arnaldo Carvalho de Melo

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=9bb7e02d-1394-4b1e-f955-97f2f9f9f6f0@linux.ibm.com \
    --to=kjain@linux.ibm.com \
    --cc=acme@kernel.org \
    --cc=adrian.hunter@intel.com \
    --cc=jolsa@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®