Lines Matching refs:OUTPUT
152 ifneq ($(OUTPUT),)
157 VPATH += $(OUTPUT)
228 export srctree OUTPUT RM CC CXX LD AR CFLAGS CXXFLAGS V BISON FLEX AWK
273 FEATURE_DUMP_EXPORT := $(realpath $(OUTPUT)FEATURE-DUMP)
294 ifneq ($(OUTPUT),)
295 TE_PATH=$(OUTPUT)
296 PLUGINS_PATH=$(OUTPUT)
297 SUBCMD_PATH=$(OUTPUT)
298 LIBPERF_PATH=$(OUTPUT)
300 API_PATH=$(OUTPUT)/../lib/api/
302 API_PATH=$(OUTPUT)
326 ifneq ($(OUTPUT),)
327 LIBBPF_OUTPUT = $(abspath $(OUTPUT))/libbpf
341 PYTHON_EXTBUILD := $(OUTPUT)python_ext_build/
346 python-clean := $(call QUIET_CLEAN, python) $(RM) -r $(PYTHON_EXTBUILD) $(OUTPUT)python/perf*.so
353 PROGRAMS += $(OUTPUT)perf
356 PROGRAMS += $(OUTPUT)perf-read-vdso32
360 PROGRAMS += $(OUTPUT)perf-read-vdsox32
366 PROGRAMS += $(OUTPUT)$(LIBJVMTI)
370 DLFILTERS := $(patsubst %,$(OUTPUT)dlfilters/%,$(DLFILTERS))
376 OTHER_PROGRAMS = $(OUTPUT)perf
402 ifneq ($(OUTPUT),)
403 CFLAGS += -I$(OUTPUT)
407 ALL_PROGRAMS += $(OUTPUT)libperf-gtk.so
408 GTK_IN := $(OUTPUT)gtk-in.o
447 beauty_outdir := $(OUTPUT)trace/beauty/generated
639 $(Q)$(MAKE) -C $(TESTS_CORESIGHT_DIR) O=$(OUTPUT) clean >/dev/null
646 $(OUTPUT)python/perf.so: $(PYTHON_EXT_SRCS) $(PYTHON_EXT_DEPS) $(LIBTRACEEVENT_DYNAMIC_LIST) $(LIBP…
651 cp $(PYTHON_EXTBUILD_LIB)perf*.so $(OUTPUT)python/
658 strip: $(PROGRAMS) $(OUTPUT)perf
659 $(STRIP) $(STRIP_OPTS) $(PROGRAMS) $(OUTPUT)perf
661 PERF_IN := $(OUTPUT)perf-in.o
663 PMU_EVENTS_IN := $(OUTPUT)pmu-events/pmu-events-in.o
674 $(OUTPUT)perf: $(PERFLIBS) $(PERF_IN) $(PMU_EVENTS_IN) $(LIBTRACEEVENT_DYNAMIC_LIST)
681 $(OUTPUT)libperf-gtk.so: $(GTK_IN) $(PERFLIBS)
684 $(OUTPUT)common-cmds.h: util/generate-cmdlist.sh command-list.txt
686 $(OUTPUT)common-cmds.h: $(wildcard Documentation/perf-*.txt)
692 $(OUTPUT)PERF-VERSION-FILE: .FORCE-PERF-VERSION-FILE
693 $(Q)$(SHELL_PATH) util/PERF-VERSION-GEN $(OUTPUT)
697 : $(OUTPUT)PERF-VERSION-FILE
705 ifneq ($(OUTPUT),)
706 %.o: $(OUTPUT)%.o
708 pmu-events/%.o: $(OUTPUT)pmu-events/%.o
710 util/%.o: $(OUTPUT)util/%.o
712 bench/%.o: $(OUTPUT)bench/%.o
714 tests/%.o: $(OUTPUT)tests/%.o
723 __build-dir = $(subst $(OUTPUT),,$(dir $@))
726 prepare: $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)common-cmds.h archheaders $(drm_ioctl_array) \
756 $(OUTPUT)%.o: %.c prepare FORCE
759 $(OUTPUT)%.i: %.c prepare FORCE
762 $(OUTPUT)%.s: %.c prepare FORCE
765 $(OUTPUT)%-bison.o: %.c prepare FORCE
768 $(OUTPUT)%-flex.o: %.c prepare FORCE
771 $(OUTPUT)%.o: %.S prepare FORCE
774 $(OUTPUT)%.i: %.S prepare FORCE
777 $(OUTPUT)perf-%: %.o $(PERFLIBS)
781 $(OUTPUT)perf-read-vdso32: perf-read-vdso.c util/find-map.c
786 $(OUTPUT)perf-read-vdsox32: perf-read-vdso.c util/find-map.c
790 $(OUTPUT)dlfilters/%.o: dlfilters/%.c include/perf/perf_dlfilter.h
791 $(Q)$(MKDIR) -p $(OUTPUT)dlfilters
796 $(OUTPUT)dlfilters/%.so: $(OUTPUT)dlfilters/%.o
800 LIBJVMTI_IN := $(OUTPUT)jvmti/jvmti-in.o
805 $(OUTPUT)$(LIBJVMTI): $(LIBJVMTI_IN)
814 $(Q)$(MAKE) -C $(TRACE_EVENT_DIR) $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) $(OUTPUT)libtraceevent.a
817 $(Q)$(MAKE) -C $(TRACE_EVENT_DIR)plugins $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) plugins
820 …$(Q)$(MAKE) -C $(TRACE_EVENT_DIR)plugins $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) $(OUTPUT)libtraceevent…
824 $(Q)$(MAKE) -C $(TRACE_EVENT_DIR) O=$(OUTPUT) clean >/dev/null
827 $(Q)$(MAKE) -C $(TRACE_EVENT_DIR) $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) install_plugins
830 $(Q)$(MAKE) -C $(LIB_DIR) O=$(OUTPUT) $(OUTPUT)libapi.a
834 $(Q)$(MAKE) -C $(LIB_DIR) O=$(OUTPUT) clean >/dev/null
838 O= OUTPUT=$(LIBBPF_OUTPUT)/ DESTDIR=$(LIBBPF_DESTDIR) prefix= \
846 $(Q)$(MAKE) -C $(LIBPERF_DIR) EXTRA_CFLAGS="$(LIBPERF_CFLAGS)" O=$(OUTPUT) $(OUTPUT)libperf.a
850 $(Q)$(MAKE) -C $(LIBPERF_DIR) O=$(OUTPUT) clean >/dev/null
853 $(Q)$(MAKE) -C $(SUBCMD_DIR) O=$(OUTPUT) $(OUTPUT)libsubcmd.a
856 $(Q)$(MAKE) -C $(SUBCMD_DIR) O=$(OUTPUT) clean
895 $(Q)$(MAKE) -C $(DOC_DIR) O=$(OUTPUT) $(@:doc=all) ASCIIDOC_EXTRA=$(ASCIIDOC_EXTRA)
918 check: $(OUTPUT)common-cmds.h
932 install-gtk: $(OUTPUT)libperf-gtk.so
935 $(INSTALL) $(OUTPUT)libperf-gtk.so '$(DESTDIR_SQ)$(libdir_SQ)'
943 $(INSTALL) $(OUTPUT)perf '$(DESTDIR_SQ)$(bindir_SQ)'; \
949 $(INSTALL) $(OUTPUT)perf-read-vdso32 '$(DESTDIR_SQ)$(bindir_SQ)';
953 $(INSTALL) $(OUTPUT)perf-read-vdsox32 '$(DESTDIR_SQ)$(bindir_SQ)';
958 $(INSTALL) $(OUTPUT)$(LIBJVMTI) '$(DESTDIR_SQ)$(libdir_SQ)';
973 $(INSTALL) $(OUTPUT)perf-archive -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
975 $(INSTALL) $(OUTPUT)perf-iostat -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
1032 $(Q)$(MAKE) -C $(DOC_DIR) O=$(OUTPUT) $(@:-doc=) ASCIIDOC_EXTRA=$(ASCIIDOC_EXTRA)
1039 SKEL_OUT := $(abspath $(OUTPUT)util/bpf_skel)
1056 OUTPUT=$(SKEL_TMP_OUT)/ bootstrap
1093 …$(call QUIET_CLEAN, core-objs) $(RM) $(LIBPERF_A) $(OUTPUT)perf-archive $(OUTPUT)perf-iostat $(LA…
1094 $(Q)find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '\.*.cmd' -delete -o -name '\.*.d' -delete
1095 $(Q)$(RM) $(OUTPUT).config-detected
1096 …, core-progs) $(RM) $(ALL_PROGRAMS) perf perf-read-vdso32 perf-read-vdsox32 $(OUTPUT)$(LIBJVMTI).so
1097 …/*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope* $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)FEATUR…
1098 $(OUTPUT)util/intel-pt-decoder/inat-tables.c \
1099 $(OUTPUT)tests/llvm-src-{base,kbuild,prologue,relocation}.c \
1100 $(OUTPUT)pmu-events/pmu-events.c \
1101 $(OUTPUT)$(fadvise_advice_array) \
1102 $(OUTPUT)$(fsconfig_arrays) \
1103 $(OUTPUT)$(fsmount_arrays) \
1104 $(OUTPUT)$(fspick_arrays) \
1105 $(OUTPUT)$(madvise_behavior_array) \
1106 $(OUTPUT)$(mmap_flags_array) \
1107 $(OUTPUT)$(mmap_prot_array) \
1108 $(OUTPUT)$(mremap_flags_array) \
1109 $(OUTPUT)$(mount_flags_array) \
1110 $(OUTPUT)$(move_mount_flags_array) \
1111 $(OUTPUT)$(drm_ioctl_array) \
1112 $(OUTPUT)$(pkey_alloc_access_rights_array) \
1113 $(OUTPUT)$(sndrv_ctl_ioctl_array) \
1114 $(OUTPUT)$(sndrv_pcm_ioctl_array) \
1115 $(OUTPUT)$(kvm_ioctl_array) \
1116 $(OUTPUT)$(kcmp_type_array) \
1117 $(OUTPUT)$(socket_arrays) \
1118 $(OUTPUT)$(sockaddr_arrays) \
1119 $(OUTPUT)$(vhost_virtio_ioctl_array) \
1120 $(OUTPUT)$(perf_ioctl_array) \
1121 $(OUTPUT)$(prctl_option_array) \
1122 $(OUTPUT)$(usbdevfs_ioctl_array) \
1123 $(OUTPUT)$(x86_arch_irq_vectors_array) \
1124 $(OUTPUT)$(x86_arch_MSRs_array) \
1125 $(OUTPUT)$(x86_arch_prctl_code_array) \
1126 $(OUTPUT)$(rename_flags_array) \
1127 $(OUTPUT)$(arch_errno_name_array) \
1128 $(OUTPUT)$(sync_file_range_arrays)
1130 $(MAKE) -C $(DOC_DIR) O=$(OUTPUT) clean >/dev/null
1137 @cp $(OUTPUT)FEATURE-DUMP $(FEATURE_DUMP_COPY)