Skip to content

Commit 0957294

Browse files
ahunter6acmel
authored andcommitted
perf build: Suppress 'rm dlfilter' build message
The following build message: rm dlfilters/dlfilter-test-api-v0.o is unwanted. The object file is being treated as an intermediate file and being automatically removed. Mark the object file as .SECONDARY to prevent removal and hence the message. Requested-by: Arnaldo Carvalho de Melo <[email protected]> Signed-off-by: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 180eca5 commit 0957294

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/perf/Makefile.perf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,8 @@ $(OUTPUT)dlfilters/%.o: dlfilters/%.c include/perf/perf_dlfilter.h
787787
$(Q)$(MKDIR) -p $(OUTPUT)dlfilters
788788
$(QUIET_CC)$(CC) -c -Iinclude $(EXTRA_CFLAGS) -o $@ -fpic $<
789789

790+
.SECONDARY: $(DLFILTERS:.so=.o)
791+
790792
$(OUTPUT)dlfilters/%.so: $(OUTPUT)dlfilters/%.o
791793
$(QUIET_LINK)$(CC) $(EXTRA_CFLAGS) -shared -o $@ $<
792794

0 commit comments

Comments
 (0)