perf: clean should remove libtraceevent.a too
PATCH 1/1 perf: clean should remove libtraceevent.a too
It's built as part of perf, so it should be cleaned too.
Signed-off-by David Ahern <[email protected]>
Cc Steven Rostedt <[email protected]>
Cc Namhyung Kim <[email protected]>
--- tools/perf/Makefile | 1 + 1 file changed, 1 insertion(+)
tools/perf/Makefile +1 -0
@@ -1068,6 +1068,7 @@ clean: $(RM) $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)PERF-CFLAGS $(RM) $(OUTPUT)util/*-bison* $(RM) $(OUTPUT)util/*-flex* + $(RM) $(LIBTRACEEVENT) $(python-clean) .PHONY: all install clean strip $(LIBTRACEEVENT)
Signature · 1 line
1.7.10.1
Quoted 14 lines · David Ahern
It's built as part of perf, so it should be cleaned too.
Signed-off-by David Ahern <[email protected]>Cc Steven Rostedt <[email protected]>Cc Namhyung Kim <[email protected]>--- tools/perf/Makefile | 1 + 1 file changed, 1 insertion(+)tools/perf/Makefile +0
-0
tools/perf/Makefile clean: · line 1072
Quoted 5 lines
tools/perf/Makefile +1
-0@@ -1068,6 +1068,7 @@ clean: $(RM) $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)PERF-CFLAGS $(RM) $(OUTPUT)util/*-bison* $(RM) $(OUTPUT)util/*-flex* + $(RM) $(LIBTRACEEVENT) $(python-clean)
Actually, this should do the clean in the tools/lib/traceevent directory, as this change wont clean the objects created.
-- Steve
Quoted 24 lines · Steven Rostedt
Quoted 14 lines · David Ahern
It's built as part of perf, so it should be cleaned too.
Signed-off-by David Ahern <[email protected]>Cc Steven Rostedt <[email protected]>Cc Namhyung Kim <[email protected]>--- tools/perf/Makefile | 1 + 1 file changed, 1 insertion(+)tools/perf/Makefile +0
-0tools/perf/Makefile clean: · line 1072
Quoted 5 lines
tools/perf/Makefile +1
-0@@ -1068,6 +1068,7 @@ clean: $(RM) $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)PERF-CFLAGS $(RM) $(OUTPUT)util/*-bison* $(RM) $(OUTPUT)util/*-flex* + $(RM) $(LIBTRACEEVENT) $(python-clean)Actually, this should do the clean in the
tools/lib/traceeventdirectory, as this change wont clean the objects created.
Quoted 3 lines
-- Steve
Indeed. update coming.