Lines Matching refs:OUTPUT
134 ifneq ($(OUTPUT),)
139 VPATH += $(OUTPUT)
209 export srctree OUTPUT RM CC CXX LD AR CFLAGS CXXFLAGS V BISON FLEX AWK
253 FEATURE_DUMP_EXPORT := $(realpath $(OUTPUT)FEATURE-DUMP)
274 ifneq ($(OUTPUT),)
275 TE_PATH=$(OUTPUT)
276 BPF_PATH=$(OUTPUT)
277 SUBCMD_PATH=$(OUTPUT)
278 LIBPERF_PATH=$(OUTPUT)
280 API_PATH=$(OUTPUT)/../lib/api/
282 API_PATH=$(OUTPUT)
315 PYTHON_EXTBUILD := $(OUTPUT)python_ext_build/
320 python-clean := $(call QUIET_CLEAN, python) $(RM) -r $(PYTHON_EXTBUILD) $(OUTPUT)python/perf*.so
327 PROGRAMS += $(OUTPUT)perf
330 PROGRAMS += $(OUTPUT)perf-read-vdso32
334 PROGRAMS += $(OUTPUT)perf-read-vdsox32
340 PROGRAMS += $(OUTPUT)$(LIBJVMTI)
347 OTHER_PROGRAMS = $(OUTPUT)perf
368 ifneq ($(OUTPUT),)
369 CFLAGS += -I$(OUTPUT)
373 ALL_PROGRAMS += $(OUTPUT)libperf-gtk.so
374 GTK_IN := $(OUTPUT)gtk-in.o
411 beauty_outdir := $(OUTPUT)trace/beauty/generated
570 $(OUTPUT)python/perf.so: $(PYTHON_EXT_SRCS) $(PYTHON_EXT_DEPS) $(LIBTRACEEVENT_DYNAMIC_LIST) $(LIBP…
575 cp $(PYTHON_EXTBUILD_LIB)perf*.so $(OUTPUT)python/
582 strip: $(PROGRAMS) $(OUTPUT)perf
583 $(STRIP) $(STRIP_OPTS) $(PROGRAMS) $(OUTPUT)perf
585 PERF_IN := $(OUTPUT)perf-in.o
587 JEVENTS := $(OUTPUT)pmu-events/jevents
588 JEVENTS_IN := $(OUTPUT)pmu-events/jevents-in.o
590 PMU_EVENTS_IN := $(OUTPUT)pmu-events/pmu-events-in.o
608 $(OUTPUT)perf: $(PERFLIBS) $(PERF_IN) $(PMU_EVENTS_IN) $(LIBTRACEEVENT_DYNAMIC_LIST)
615 $(OUTPUT)libperf-gtk.so: $(GTK_IN) $(PERFLIBS)
618 $(OUTPUT)common-cmds.h: util/generate-cmdlist.sh command-list.txt
620 $(OUTPUT)common-cmds.h: $(wildcard Documentation/perf-*.txt)
626 $(OUTPUT)PERF-VERSION-FILE: ../../.git/HEAD
627 $(Q)$(SHELL_PATH) util/PERF-VERSION-GEN $(OUTPUT)
628 $(Q)touch $(OUTPUT)PERF-VERSION-FILE
632 : $(OUTPUT)PERF-VERSION-FILE
640 ifneq ($(OUTPUT),)
641 %.o: $(OUTPUT)%.o
643 pmu-events/%.o: $(OUTPUT)pmu-events/%.o
645 util/%.o: $(OUTPUT)util/%.o
647 bench/%.o: $(OUTPUT)bench/%.o
649 tests/%.o: $(OUTPUT)tests/%.o
658 __build-dir = $(subst $(OUTPUT),,$(dir $@))
661 prepare: $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)common-cmds.h archheaders $(drm_ioctl_array) \
685 $(OUTPUT)%.o: %.c prepare FORCE
688 $(OUTPUT)%.i: %.c prepare FORCE
691 $(OUTPUT)%.s: %.c prepare FORCE
694 $(OUTPUT)%-bison.o: %.c prepare FORCE
697 $(OUTPUT)%-flex.o: %.c prepare FORCE
700 $(OUTPUT)%.o: %.S prepare FORCE
703 $(OUTPUT)%.i: %.S prepare FORCE
706 $(OUTPUT)perf-%: %.o $(PERFLIBS)
710 $(OUTPUT)perf-read-vdso32: perf-read-vdso.c util/find-map.c
715 $(OUTPUT)perf-read-vdsox32: perf-read-vdso.c util/find-map.c
720 LIBJVMTI_IN := $(OUTPUT)jvmti/jvmti-in.o
725 $(OUTPUT)$(LIBJVMTI): $(LIBJVMTI_IN)
734 $(Q)$(MAKE) -C $(TRACE_EVENT_DIR) $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) $(OUTPUT)libtraceevent.a
737 $(Q)$(MAKE) -C $(TRACE_EVENT_DIR) $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) plugins
740 …$(Q)$(MAKE) -C $(TRACE_EVENT_DIR) $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) $(OUTPUT)plugins/libtraceeven…
744 $(Q)$(MAKE) -C $(TRACE_EVENT_DIR) O=$(OUTPUT) clean >/dev/null
747 $(Q)$(MAKE) -C $(TRACE_EVENT_DIR) $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) install_plugins
750 $(Q)$(MAKE) -C $(LIB_DIR) O=$(OUTPUT) $(OUTPUT)libapi.a
754 $(Q)$(MAKE) -C $(LIB_DIR) O=$(OUTPUT) clean >/dev/null
757 $(Q)$(MAKE) -C $(BPF_DIR) O=$(OUTPUT) $(OUTPUT)libbpf.a FEATURES_DUMP=$(FEATURE_DUMP_EXPORT)
761 $(Q)$(MAKE) -C $(BPF_DIR) O=$(OUTPUT) clean >/dev/null
764 $(Q)$(MAKE) -C $(LIBPERF_DIR) O=$(OUTPUT) $(OUTPUT)libperf.a
768 $(Q)$(MAKE) -C $(LIBPERF_DIR) O=$(OUTPUT) clean >/dev/null
771 $(Q)$(MAKE) -C $(SUBCMD_DIR) O=$(OUTPUT) $(OUTPUT)libsubcmd.a
775 $(Q)$(MAKE) -C $(SUBCMD_DIR) O=$(OUTPUT) clean
837 check: $(OUTPUT)common-cmds.h
851 install-gtk: $(OUTPUT)libperf-gtk.so
854 $(INSTALL) $(OUTPUT)libperf-gtk.so '$(DESTDIR_SQ)$(libdir_SQ)'
862 $(INSTALL) $(OUTPUT)perf '$(DESTDIR_SQ)$(bindir_SQ)'; \
866 $(INSTALL) $(OUTPUT)perf-read-vdso32 '$(DESTDIR_SQ)$(bindir_SQ)';
870 $(INSTALL) $(OUTPUT)perf-read-vdsox32 '$(DESTDIR_SQ)$(bindir_SQ)';
875 $(INSTALL) $(OUTPUT)$(LIBJVMTI) '$(DESTDIR_SQ)$(libdir_SQ)';
890 $(INSTALL) $(OUTPUT)perf-archive -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
892 $(INSTALL) $(OUTPUT)perf-with-kcore -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
951 …$(Q)$(MAKE) -C $(srctree)/tools/build/feature/ $(if $(OUTPUT),OUTPUT=$(OUTPUT)feature/,) clean >/d…
957 …$(call QUIET_CLEAN, core-objs) $(RM) $(LIBPERF_A) $(OUTPUT)perf-archive $(OUTPUT)perf-with-kcore …
958 …$(Q)find $(if $(OUTPUT),$(OUTPUT),.) -name '*.o' -delete -o -name '\.*.cmd' -delete -o -name '\.*.…
959 $(Q)$(RM) $(OUTPUT).config-detected
960 … $(ALL_PROGRAMS) perf perf-read-vdso32 perf-read-vdsox32 $(OUTPUT)pmu-events/jevents $(OUTPUT)$(LI…
961 …/*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope* $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)FEATUR…
962 $(OUTPUT)util/intel-pt-decoder/inat-tables.c \
963 $(OUTPUT)tests/llvm-src-{base,kbuild,prologue,relocation}.c \
964 $(OUTPUT)pmu-events/pmu-events.c \
965 $(OUTPUT)$(fadvise_advice_array) \
966 $(OUTPUT)$(fsconfig_arrays) \
967 $(OUTPUT)$(fsmount_arrays) \
968 $(OUTPUT)$(fspick_arrays) \
969 $(OUTPUT)$(madvise_behavior_array) \
970 $(OUTPUT)$(mmap_flags_array) \
971 $(OUTPUT)$(mount_flags_array) \
972 $(OUTPUT)$(move_mount_flags_array) \
973 $(OUTPUT)$(drm_ioctl_array) \
974 $(OUTPUT)$(pkey_alloc_access_rights_array) \
975 $(OUTPUT)$(sndrv_ctl_ioctl_array) \
976 $(OUTPUT)$(sndrv_pcm_ioctl_array) \
977 $(OUTPUT)$(kvm_ioctl_array) \
978 $(OUTPUT)$(kcmp_type_array) \
979 $(OUTPUT)$(socket_ipproto_array) \
980 $(OUTPUT)$(vhost_virtio_ioctl_array) \
981 $(OUTPUT)$(perf_ioctl_array) \
982 $(OUTPUT)$(prctl_option_array) \
983 $(OUTPUT)$(usbdevfs_ioctl_array) \
984 $(OUTPUT)$(x86_arch_prctl_code_array) \
985 $(OUTPUT)$(rename_flags_array) \
986 $(OUTPUT)$(arch_errno_name_array) \
987 $(OUTPUT)$(sync_file_range_arrays)
995 @cp $(OUTPUT)FEATURE-DUMP $(FEATURE_DUMP_COPY)