Lines Matching full:output

12 # Define VF to have a more verbose feature check output.
14 # Define O to save output files in a separate directory.
146 ifneq ($(OUTPUT),)
147 #$(info Determined 'OUTPUT' to be $(OUTPUT))
148 # Adding $(OUTPUT) as a directory to look for source files,
149 # because use generated output files as sources dependency
151 VPATH += $(OUTPUT)
221 export srctree OUTPUT RM CC CXX LD AR CFLAGS CXXFLAGS V BISON FLEX AWK
245 # Without this setting the output feature dump file misses some features, for
266 FEATURE_DUMP_EXPORT := $(realpath $(OUTPUT)FEATURE-DUMP)
287 ifneq ($(OUTPUT),)
288 TE_PATH=$(OUTPUT)
289 PLUGINS_PATH=$(OUTPUT)
290 BPF_PATH=$(OUTPUT)
291 SUBCMD_PATH=$(OUTPUT)
292 LIBPERF_PATH=$(OUTPUT)
294 API_PATH=$(OUTPUT)/../lib/api/
296 API_PATH=$(OUTPUT)
330 PYTHON_EXTBUILD := $(OUTPUT)python_ext_build/
335 python-clean := $(call QUIET_CLEAN, python) $(RM) -r $(PYTHON_EXTBUILD) $(OUTPUT)python/perf*.so
342 PROGRAMS += $(OUTPUT)perf
345 PROGRAMS += $(OUTPUT)perf-read-vdso32
349 PROGRAMS += $(OUTPUT)perf-read-vdsox32
355 PROGRAMS += $(OUTPUT)$(LIBJVMTI)
362 OTHER_PROGRAMS = $(OUTPUT)perf
385 ifneq ($(OUTPUT),)
386 CFLAGS += -I$(OUTPUT)
390 ALL_PROGRAMS += $(OUTPUT)libperf-gtk.so
391 GTK_IN := $(OUTPUT)gtk-in.o
430 beauty_outdir := $(OUTPUT)trace/beauty/generated
436 # Create output directory if not already present
617 # Create python binding output directory if not already present
618 _dummy := $(shell [ -d '$(OUTPUT)python' ] || mkdir -p '$(OUTPUT)python')
620 $(OUTPUT)python/perf.so: $(PYTHON_EXT_SRCS) $(PYTHON_EXT_DEPS) $(LIBTRACEEVENT_DYNAMIC_LIST) $(LIBP…
625 cp $(PYTHON_EXTBUILD_LIB)perf*.so $(OUTPUT)python/
632 strip: $(PROGRAMS) $(OUTPUT)perf
633 $(STRIP) $(STRIP_OPTS) $(PROGRAMS) $(OUTPUT)perf
635 PERF_IN := $(OUTPUT)perf-in.o
637 JEVENTS := $(OUTPUT)pmu-events/jevents
638 JEVENTS_IN := $(OUTPUT)pmu-events/jevents-in.o
640 PMU_EVENTS_IN := $(OUTPUT)pmu-events/pmu-events-in.o
658 $(OUTPUT)perf: $(PERFLIBS) $(PERF_IN) $(PMU_EVENTS_IN) $(LIBTRACEEVENT_DYNAMIC_LIST)
665 $(OUTPUT)libperf-gtk.so: $(GTK_IN) $(PERFLIBS)
668 $(OUTPUT)common-cmds.h: util/generate-cmdlist.sh command-list.txt
670 $(OUTPUT)common-cmds.h: $(wildcard Documentation/perf-*.txt)
674 $(QUIET_GEN)$(INSTALL) '$@.sh' '$(OUTPUT)$@'
676 $(OUTPUT)PERF-VERSION-FILE: ../../.git/HEAD
677 $(Q)$(SHELL_PATH) util/PERF-VERSION-GEN $(OUTPUT)
678 $(Q)touch $(OUTPUT)PERF-VERSION-FILE
682 : $(OUTPUT)PERF-VERSION-FILE
687 # If a target does not match any of the later rules then prefix it by $(OUTPUT)
690 ifneq ($(OUTPUT),)
691 %.o: $(OUTPUT)%.o
692 @echo " # Redirected target $@ => $(OUTPUT)$@"
693 pmu-events/%.o: $(OUTPUT)pmu-events/%.o
694 @echo " # Redirected target $@ => $(OUTPUT)$@"
695 util/%.o: $(OUTPUT)util/%.o
696 @echo " # Redirected target $@ => $(OUTPUT)$@"
697 bench/%.o: $(OUTPUT)bench/%.o
698 @echo " # Redirected target $@ => $(OUTPUT)$@"
699 tests/%.o: $(OUTPUT)tests/%.o
700 @echo " # Redirected target $@ => $(OUTPUT)$@"
706 # get relative building directory (to $(OUTPUT))
707 # and '.' if it's $(OUTPUT) itself
708 __build-dir = $(subst $(OUTPUT),,$(dir $@))
711 prepare: $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)common-cmds.h archheaders $(drm_ioctl_array) \
740 $(OUTPUT)%.o: %.c prepare FORCE
743 $(OUTPUT)%.i: %.c prepare FORCE
746 $(OUTPUT)%.s: %.c prepare FORCE
749 $(OUTPUT)%-bison.o: %.c prepare FORCE
752 $(OUTPUT)%-flex.o: %.c prepare FORCE
755 $(OUTPUT)%.o: %.S prepare FORCE
758 $(OUTPUT)%.i: %.S prepare FORCE
761 $(OUTPUT)perf-%: %.o $(PERFLIBS)
765 $(OUTPUT)perf-read-vdso32: perf-read-vdso.c util/find-map.c
770 $(OUTPUT)perf-read-vdsox32: perf-read-vdso.c util/find-map.c
775 LIBJVMTI_IN := $(OUTPUT)jvmti/jvmti-in.o
780 $(OUTPUT)$(LIBJVMTI): $(LIBJVMTI_IN)
789 $(Q)$(MAKE) -C $(TRACE_EVENT_DIR) $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) $(OUTPUT)libtraceevent.a
792 $(Q)$(MAKE) -C $(TRACE_EVENT_DIR)plugins $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) plugins
795 …$(Q)$(MAKE) -C $(TRACE_EVENT_DIR)plugins $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) $(OUTPUT)libtraceevent…
799 $(Q)$(MAKE) -C $(TRACE_EVENT_DIR) O=$(OUTPUT) clean >/dev/null
802 $(Q)$(MAKE) -C $(TRACE_EVENT_DIR) $(LIBTRACEEVENT_FLAGS) O=$(OUTPUT) install_plugins
805 $(Q)$(MAKE) -C $(LIB_DIR) O=$(OUTPUT) $(OUTPUT)libapi.a
809 $(Q)$(MAKE) -C $(LIB_DIR) O=$(OUTPUT) clean >/dev/null
812 $(Q)$(MAKE) -C $(BPF_DIR) O=$(OUTPUT) $(OUTPUT)libbpf.a FEATURES_DUMP=$(FEATURE_DUMP_EXPORT)
816 $(Q)$(MAKE) -C $(BPF_DIR) O=$(OUTPUT) clean >/dev/null
819 $(Q)$(MAKE) -C $(LIBPERF_DIR) EXTRA_CFLAGS="$(LIBPERF_CFLAGS)" O=$(OUTPUT) $(OUTPUT)libperf.a
823 $(Q)$(MAKE) -C $(LIBPERF_DIR) O=$(OUTPUT) clean >/dev/null
826 $(Q)$(MAKE) -C $(SUBCMD_DIR) O=$(OUTPUT) $(OUTPUT)libsubcmd.a
829 $(Q)$(MAKE) -C $(SUBCMD_DIR) O=$(OUTPUT) clean
858 @echo ' clean - clean all binary objects and build output'
868 $(Q)$(MAKE) -C $(DOC_DIR) O=$(OUTPUT) $(@:doc=all) ASCIIDOC_EXTRA=$(ASCIIDOC_EXTRA)
891 check: $(OUTPUT)common-cmds.h
905 install-gtk: $(OUTPUT)libperf-gtk.so
908 $(INSTALL) $(OUTPUT)libperf-gtk.so '$(DESTDIR_SQ)$(libdir_SQ)'
916 $(INSTALL) $(OUTPUT)perf '$(DESTDIR_SQ)$(bindir_SQ)'; \
920 $(INSTALL) $(OUTPUT)perf-read-vdso32 '$(DESTDIR_SQ)$(bindir_SQ)';
924 $(INSTALL) $(OUTPUT)perf-read-vdsox32 '$(DESTDIR_SQ)$(bindir_SQ)';
929 $(INSTALL) $(OUTPUT)$(LIBJVMTI) '$(DESTDIR_SQ)$(libdir_SQ)';
944 $(INSTALL) $(OUTPUT)perf-archive -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
946 $(INSTALL) $(OUTPUT)perf-with-kcore -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
996 $(Q)$(MAKE) -C $(DOC_DIR) O=$(OUTPUT) $(@:-doc=) ASCIIDOC_EXTRA=$(ASCIIDOC_EXTRA)
1006 …$(Q)$(MAKE) -C $(srctree)/tools/build/feature/ $(if $(OUTPUT),OUTPUT=$(OUTPUT)feature/,) clean >/d…
1012 …$(call QUIET_CLEAN, core-objs) $(RM) $(LIBPERF_A) $(OUTPUT)perf-archive $(OUTPUT)perf-with-kcore …
1013 …$(Q)find $(if $(OUTPUT),$(OUTPUT),.) -name '*.o' -delete -o -name '\.*.cmd' -delete -o -name '\.*.…
1014 $(Q)$(RM) $(OUTPUT).config-detected
1015 … $(ALL_PROGRAMS) perf perf-read-vdso32 perf-read-vdsox32 $(OUTPUT)pmu-events/jevents $(OUTPUT)$(LI…
1016 …/*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope* $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)FEATUR…
1017 $(OUTPUT)util/intel-pt-decoder/inat-tables.c \
1018 $(OUTPUT)tests/llvm-src-{base,kbuild,prologue,relocation}.c \
1019 $(OUTPUT)pmu-events/pmu-events.c \
1020 $(OUTPUT)$(fadvise_advice_array) \
1021 $(OUTPUT)$(fsconfig_arrays) \
1022 $(OUTPUT)$(fsmount_arrays) \
1023 $(OUTPUT)$(fspick_arrays) \
1024 $(OUTPUT)$(madvise_behavior_array) \
1025 $(OUTPUT)$(mmap_flags_array) \
1026 $(OUTPUT)$(mmap_prot_array) \
1027 $(OUTPUT)$(mremap_flags_array) \
1028 $(OUTPUT)$(mount_flags_array) \
1029 $(OUTPUT)$(move_mount_flags_array) \
1030 $(OUTPUT)$(drm_ioctl_array) \
1031 $(OUTPUT)$(pkey_alloc_access_rights_array) \
1032 $(OUTPUT)$(sndrv_ctl_ioctl_array) \
1033 $(OUTPUT)$(sndrv_pcm_ioctl_array) \
1034 $(OUTPUT)$(kvm_ioctl_array) \
1035 $(OUTPUT)$(kcmp_type_array) \
1036 $(OUTPUT)$(socket_ipproto_array) \
1037 $(OUTPUT)$(socket_arrays) \
1038 $(OUTPUT)$(vhost_virtio_ioctl_array) \
1039 $(OUTPUT)$(perf_ioctl_array) \
1040 $(OUTPUT)$(prctl_option_array) \
1041 $(OUTPUT)$(usbdevfs_ioctl_array) \
1042 $(OUTPUT)$(x86_arch_irq_vectors_array) \
1043 $(OUTPUT)$(x86_arch_MSRs_array) \
1044 $(OUTPUT)$(x86_arch_prctl_code_array) \
1045 $(OUTPUT)$(rename_flags_array) \
1046 $(OUTPUT)$(arch_errno_name_array) \
1047 $(OUTPUT)$(sync_file_range_arrays)
1049 $(MAKE) -C $(DOC_DIR) O=$(OUTPUT) clean >/dev/null
1056 @cp $(OUTPUT)FEATURE-DUMP $(FEATURE_DUMP_COPY)
1059 @echo "FEATURE-DUMP file available in $(OUTPUT)FEATURE-DUMP"