diff options
| -rw-r--r-- | tools/perf/Makefile.perf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 93de7c7b8007..01f7555fd933 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf | |||
| @@ -344,7 +344,7 @@ endif | |||
| 344 | 344 | ||
| 345 | export PERL_PATH | 345 | export PERL_PATH |
| 346 | 346 | ||
| 347 | LIB_FILE=$(OUTPUT)libperf.a | 347 | LIBPERF_A=$(OUTPUT)libperf.a |
| 348 | 348 | ||
| 349 | PERFLIBS = $(LIBAPI) $(LIBTRACEEVENT) $(LIBSUBCMD) | 349 | PERFLIBS = $(LIBAPI) $(LIBTRACEEVENT) $(LIBSUBCMD) |
| 350 | ifndef NO_LIBBPF | 350 | ifndef NO_LIBBPF |
| @@ -688,7 +688,7 @@ endif | |||
| 688 | 688 | ||
| 689 | $(patsubst perf-%,%.o,$(PROGRAMS)): $(wildcard */*.h) | 689 | $(patsubst perf-%,%.o,$(PROGRAMS)): $(wildcard */*.h) |
| 690 | 690 | ||
| 691 | $(LIB_FILE): $(LIBPERF_IN) | 691 | $(LIBPERF_A): $(LIBPERF_IN) |
| 692 | $(QUIET_AR)$(RM) $@ && $(AR) rcs $@ $(LIBPERF_IN) $(LIB_OBJS) | 692 | $(QUIET_AR)$(RM) $@ && $(AR) rcs $@ $(LIBPERF_IN) $(LIB_OBJS) |
| 693 | 693 | ||
| 694 | LIBTRACEEVENT_FLAGS += plugin_dir=$(plugindir_SQ) 'EXTRA_CFLAGS=$(EXTRA_CFLAGS)' 'LDFLAGS=$(LDFLAGS)' | 694 | LIBTRACEEVENT_FLAGS += plugin_dir=$(plugindir_SQ) 'EXTRA_CFLAGS=$(EXTRA_CFLAGS)' 'LDFLAGS=$(LDFLAGS)' |
| @@ -910,7 +910,7 @@ python-clean: | |||
| 910 | $(python-clean) | 910 | $(python-clean) |
| 911 | 911 | ||
| 912 | clean:: $(LIBTRACEEVENT)-clean $(LIBAPI)-clean $(LIBBPF)-clean $(LIBSUBCMD)-clean config-clean fixdep-clean python-clean | 912 | clean:: $(LIBTRACEEVENT)-clean $(LIBAPI)-clean $(LIBBPF)-clean $(LIBSUBCMD)-clean config-clean fixdep-clean python-clean |
| 913 | $(call QUIET_CLEAN, core-objs) $(RM) $(LIB_FILE) $(OUTPUT)perf-archive $(OUTPUT)perf-with-kcore $(LANG_BINDINGS) | 913 | $(call QUIET_CLEAN, core-objs) $(RM) $(LIBPERF_A) $(OUTPUT)perf-archive $(OUTPUT)perf-with-kcore $(LANG_BINDINGS) |
| 914 | $(Q)find $(if $(OUTPUT),$(OUTPUT),.) -name '*.o' -delete -o -name '\.*.cmd' -delete -o -name '\.*.d' -delete | 914 | $(Q)find $(if $(OUTPUT),$(OUTPUT),.) -name '*.o' -delete -o -name '\.*.cmd' -delete -o -name '\.*.d' -delete |
| 915 | $(Q)$(RM) $(OUTPUT).config-detected | 915 | $(Q)$(RM) $(OUTPUT).config-detected |
| 916 | $(call QUIET_CLEAN, core-progs) $(RM) $(ALL_PROGRAMS) perf perf-read-vdso32 perf-read-vdsox32 $(OUTPUT)pmu-events/jevents $(OUTPUT)$(LIBJVMTI).so | 916 | $(call QUIET_CLEAN, core-progs) $(RM) $(ALL_PROGRAMS) perf perf-read-vdso32 perf-read-vdsox32 $(OUTPUT)pmu-events/jevents $(OUTPUT)$(LIBJVMTI).so |
