/Linux-v5.4/tools/build/feature/ |
D | Makefile | 71 FILES := $(addprefix $(OUTPUT),$(FILES)) 88 $(OUTPUT)test-all.bin: 91 $(OUTPUT)test-hello.bin: 94 $(OUTPUT)test-pthread-attr-setaffinity-np.bin: 97 $(OUTPUT)test-pthread-barrier.bin: 100 $(OUTPUT)test-stackprotector-all.bin: 103 $(OUTPUT)test-fortify-source.bin: 106 $(OUTPUT)test-bionic.bin: 109 $(OUTPUT)test-libcap.bin: 112 $(OUTPUT)test-libelf.bin: [all …]
|
/Linux-v5.4/tools/bpf/ |
D | Makefile | 54 $(OUTPUT)%.yacc.c: $(srctree)/tools/bpf/%.y 57 $(OUTPUT)%.lex.c: $(srctree)/tools/bpf/%.l 60 $(OUTPUT)%.o: $(srctree)/tools/bpf/%.c 63 $(OUTPUT)%.yacc.o: $(OUTPUT)%.yacc.c 65 $(OUTPUT)%.lex.o: $(OUTPUT)%.lex.c 68 PROGS = $(OUTPUT)bpf_jit_disasm $(OUTPUT)bpf_dbg $(OUTPUT)bpf_asm 72 $(OUTPUT)bpf_jit_disasm: CFLAGS += -DPACKAGE='bpf_jit_disasm' 73 $(OUTPUT)bpf_jit_disasm: $(OUTPUT)bpf_jit_disasm.o 76 $(OUTPUT)bpf_dbg: $(OUTPUT)bpf_dbg.o 79 $(OUTPUT)bpf_asm: $(OUTPUT)bpf_asm.o $(OUTPUT)bpf_exp.yacc.o $(OUTPUT)bpf_exp.lex.o [all …]
|
/Linux-v5.4/tools/perf/ |
D | Makefile.perf | 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/ [all …]
|
/Linux-v5.4/tools/testing/selftests/bpf/ |
D | Makefile | 90 TEST_CUSTOM_PROGS = $(OUTPUT)/urandom_read 93 $(OUTPUT)/urandom_read: $(OUTPUT)/%: %.c 96 $(OUTPUT)/test_stub.o: test_stub.c 99 BPFOBJ := $(OUTPUT)/libbpf.a 101 $(TEST_GEN_PROGS): $(OUTPUT)/test_stub.o $(BPFOBJ) 103 $(TEST_GEN_PROGS_EXTENDED): $(OUTPUT)/test_stub.o $(OUTPUT)/libbpf.a 105 $(OUTPUT)/test_dev_cgroup: cgroup_helpers.c 106 $(OUTPUT)/test_skb_cgroup_id_user: cgroup_helpers.c 107 $(OUTPUT)/test_sock: cgroup_helpers.c 108 $(OUTPUT)/test_sock_addr: cgroup_helpers.c [all …]
|
/Linux-v5.4/tools/power/cpupower/debug/i386/ |
D | Makefile | 2 OUTPUT=./ macro 4 OUTPUT := $(O)/ macro 15 $(OUTPUT)centrino-decode: centrino-decode.c 18 $(OUTPUT)dump_psb: dump_psb.c 21 $(OUTPUT)intel_gsic: intel_gsic.c 24 $(OUTPUT)powernow-k8-decode: powernow-k8-decode.c 27 all: $(OUTPUT)centrino-decode $(OUTPUT)dump_psb $(OUTPUT)intel_gsic $(OUTPUT)powernow-k8-decode 30 rm -rf $(OUTPUT)centrino-decode 31 rm -rf $(OUTPUT)dump_psb 32 rm -rf $(OUTPUT)intel_gsic [all …]
|
/Linux-v5.4/tools/power/cpupower/bench/ |
D | Makefile | 2 OUTPUT := ./ macro 5 OUTPUT := $(O)/ macro 10 LIBS = -L../ -L$(OUTPUT) -lm 11 OBJS = $(OUTPUT)main.o $(OUTPUT)parse.o $(OUTPUT)system.o $(OUTPUT)benchmark.o \ 12 $(OUTPUT)../lib/cpufreq.o $(OUTPUT)../lib/cpupower.o 14 LIBS = -L../ -L$(OUTPUT) -lm -lcpupower 15 OBJS = $(OUTPUT)main.o $(OUTPUT)parse.o $(OUTPUT)system.o $(OUTPUT)benchmark.o
|
/Linux-v5.4/tools/perf/Documentation/ |
D | Makefile | 16 MAN_XML=$(addprefix $(OUTPUT),$(_MAN_XML)) 17 MAN_HTML=$(addprefix $(OUTPUT),$(_MAN_HTML)) 28 DOC_HTML=$(addprefix $(OUTPUT),$(_DOC_HTML)) 34 DOC_MAN1=$(addprefix $(OUTPUT),$(_DOC_MAN1)) 35 DOC_MAN5=$(addprefix $(OUTPUT),$(_DOC_MAN5)) 36 DOC_MAN7=$(addprefix $(OUTPUT),$(_DOC_MAN7)) 187 info: $(OUTPUT)perf.info $(OUTPUT)perfman.info 189 pdf: $(OUTPUT)user-manual.pdf 220 $(INSTALL) -m 644 $(OUTPUT)perf.info $(OUTPUT)perfman.info $(DESTDIR)$(infodir); \ 231 $(INSTALL) -m 644 $(OUTPUT)user-manual.pdf $(DESTDIR)$(pdfdir) [all …]
|
/Linux-v5.4/tools/gpio/ |
D | Makefile | 19 override CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include 22 ALL_PROGRAMS := $(patsubst %,$(OUTPUT)%,$(ALL_TARGETS)) 26 export srctree OUTPUT CC LD CFLAGS 32 $(OUTPUT)include/linux/gpio.h: ../../include/uapi/linux/gpio.h 33 mkdir -p $(OUTPUT)include/linux 2>&1 || true 36 prepare: $(OUTPUT)include/linux/gpio.h 45 LSGPIO_IN := $(OUTPUT)lsgpio-in.o 46 $(LSGPIO_IN): prepare FORCE $(OUTPUT)gpio-utils-in.o 48 $(OUTPUT)lsgpio: $(LSGPIO_IN) 54 GPIO_HAMMER_IN := $(OUTPUT)gpio-hammer-in.o [all …]
|
/Linux-v5.4/tools/iio/ |
D | Makefile | 15 override CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include 18 ALL_PROGRAMS := $(patsubst %,$(OUTPUT)%,$(ALL_TARGETS)) 22 export srctree OUTPUT CC LD CFLAGS 28 $(OUTPUT)include/linux/iio: ../../include/uapi/linux/iio 29 mkdir -p $(OUTPUT)include/linux/iio 2>&1 || true 33 prepare: $(OUTPUT)include/linux/iio 35 LSIIO_IN := $(OUTPUT)lsiio-in.o 38 $(OUTPUT)lsiio: $(LSIIO_IN) 41 IIO_EVENT_MONITOR_IN := $(OUTPUT)iio_event_monitor-in.o 44 $(OUTPUT)iio_event_monitor: $(IIO_EVENT_MONITOR_IN) [all …]
|
/Linux-v5.4/tools/power/acpi/ |
D | Makefile.rules | 8 objdir := $(OUTPUT)tools/$(TOOL)/ 10 $(OUTPUT)$(TOOL): $(toolobjs) FORCE 11 $(ECHO) " LD " $(subst $(OUTPUT),,$@) 12 $(QUIET) $(LD) $(CFLAGS) $(LDFLAGS) $(toolobjs) -L$(OUTPUT) -o $@ 13 $(ECHO) " STRIP " $(subst $(OUTPUT),,$@) 17 $(ECHO) " MKDIR " $(subst $(OUTPUT),,$@) 19 $(ECHO) " CP " $(subst $(OUTPUT),,$@) 23 $(ECHO) " CC " $(subst $(OUTPUT),,$@) 26 all: $(OUTPUT)$(TOOL) 28 $(ECHO) " RMOBJ " $(subst $(OUTPUT),,$(objdir)) [all …]
|
/Linux-v5.4/tools/testing/selftests/powerpc/pmu/ |
D | Makefile | 16 $(OUTPUT)/count_instructions: loop.S count_instructions.c $(EXTRA_SOURCES) 19 $(OUTPUT)/per_event_excludes: ../utils.c 24 TARGET=ebb; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET run_tests 30 TARGET=ebb; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -s -C $$TARGET emit_tests 36 TARGET=ebb; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET install 40 $(RM) $(TEST_GEN_PROGS) $(OUTPUT)/loop.o 41 TARGET=ebb; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET clean 44 …TARGET=$@; BUILD_TARGET=$$OUTPUT/$$TARGET; mkdir -p $$BUILD_TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET …
|
/Linux-v5.4/tools/lib/bpf/ |
D | Makefile | 133 export srctree OUTPUT CC LD CFLAGS V 136 SHARED_OBJDIR := $(OUTPUT)sharedobjs/ 137 STATIC_OBJDIR := $(OUTPUT)staticobjs/ 142 LIB_TARGET := $(addprefix $(OUTPUT),$(LIB_TARGET)) 143 LIB_FILE := $(addprefix $(OUTPUT),$(LIB_FILE)) 144 PC_FILE := $(addprefix $(OUTPUT),$(PC_FILE)) 150 VERSIONED_SYM_COUNT = $(shell readelf -s --wide $(OUTPUT)libbpf.so | \ 155 CXX_TEST_TARGET = $(OUTPUT)test_libbpf 184 $(Q)$(MAKE) $(build)=libbpf OUTPUT=$(SHARED_OBJDIR) CFLAGS="$(CFLAGS) $(SHLIB_FLAGS)" 187 $(Q)$(MAKE) $(build)=libbpf OUTPUT=$(STATIC_OBJDIR) [all …]
|
/Linux-v5.4/tools/testing/selftests/powerpc/switch_endian/ |
D | Makefile | 6 EXTRA_CLEAN = $(OUTPUT)/*.o $(OUTPUT)/check-reversed.S 11 $(OUTPUT)/switch_endian_test: ASFLAGS += -I $(OUTPUT) 12 $(OUTPUT)/switch_endian_test: $(OUTPUT)/check-reversed.S 14 $(OUTPUT)/check-reversed.o: $(OUTPUT)/check.o 17 $(OUTPUT)/check-reversed.S: $(OUTPUT)/check-reversed.o
|
/Linux-v5.4/tools/testing/selftests/exec/ |
D | Makefile | 13 EXTRA_CLEAN := $(OUTPUT)/subdir.moved $(OUTPUT)/execveat.moved $(OUTPUT)/xxxxx* 17 $(OUTPUT)/subdir: 19 $(OUTPUT)/script: 23 $(OUTPUT)/execveat.symlink: $(OUTPUT)/execveat 24 cd $(OUTPUT) && ln -s -f $(shell basename $<) $(shell basename $@) 25 $(OUTPUT)/execveat.denatured: $(OUTPUT)/execveat
|
/Linux-v5.4/tools/spi/ |
D | Makefile | 15 CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include 18 ALL_PROGRAMS := $(patsubst %,$(OUTPUT)%,$(ALL_TARGETS)) 22 export srctree OUTPUT CC LD CFLAGS 28 $(OUTPUT)include/linux/spi/spidev.h: ../../include/uapi/linux/spi/spidev.h 29 mkdir -p $(OUTPUT)include/linux/spi 2>&1 || true 32 prepare: $(OUTPUT)include/linux/spi/spidev.h 37 SPIDEV_TEST_IN := $(OUTPUT)spidev_test-in.o 40 $(OUTPUT)spidev_test: $(SPIDEV_TEST_IN) 46 SPIDEV_FDX_IN := $(OUTPUT)spidev_fdx-in.o 49 $(OUTPUT)spidev_fdx: $(SPIDEV_FDX_IN) [all …]
|
/Linux-v5.4/tools/power/cpupower/debug/x86_64/ |
D | Makefile | 2 OUTPUT=./ macro 4 OUTPUT := $(O)/ macro 15 $(OUTPUT)centrino-decode: ../i386/centrino-decode.c 18 $(OUTPUT)powernow-k8-decode: ../i386/powernow-k8-decode.c 21 all: $(OUTPUT)centrino-decode $(OUTPUT)powernow-k8-decode 24 rm -rf $(OUTPUT)centrino-decode $(OUTPUT)powernow-k8-decode 28 $(INSTALL) $(OUTPUT)centrino-decode $(DESTDIR)${bindir} 29 $(INSTALL) $(OUTPUT)powernow-k8-decode $(DESTDIR)${bindir}
|
/Linux-v5.4/tools/pci/ |
D | Makefile | 15 CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include 18 ALL_PROGRAMS := $(patsubst %,$(OUTPUT)%,$(ALL_TARGETS)) 24 export srctree OUTPUT CC LD CFLAGS 30 $(OUTPUT)include/linux/: ../../include/uapi/linux/ 31 mkdir -p $(OUTPUT)include/linux/ 2>&1 || true 34 prepare: $(OUTPUT)include/linux/ 36 PCITEST_IN := $(OUTPUT)pcitest-in.o 39 $(OUTPUT)pcitest: $(PCITEST_IN) 44 rm -rf $(OUTPUT)include/ 45 find $(if $(OUTPUT),$(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete
|
/Linux-v5.4/tools/bpf/bpftool/ |
D | Makefile | 19 ifneq ($(OUTPUT),) 20 LIBBPF_OUTPUT = $(OUTPUT)/libbpf/ 32 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_OUTPUT) $(LIBBPF_OUTPUT)libbpf.a 36 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_OUTPUT) clean >/dev/null 91 include $(wildcard $(OUTPUT)*.d) 93 all: $(OUTPUT)bpftool 112 OBJS = $(patsubst %.c,$(OUTPUT)%.o,$(SRCS)) $(OUTPUT)disasm.o 114 $(OUTPUT)disasm.o: $(srctree)/kernel/bpf/disasm.c 117 $(OUTPUT)feature.o: | zdep 119 $(OUTPUT)bpftool: $(OBJS) $(LIBBPF) [all …]
|
/Linux-v5.4/tools/power/x86/intel-speed-select/ |
D | Makefile | 17 override CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include 20 ALL_PROGRAMS := $(patsubst %,$(OUTPUT)%,$(ALL_TARGETS)) 24 export srctree OUTPUT CC LD CFLAGS 30 $(OUTPUT)include/linux/isst_if.h: ../../../../include/uapi/linux/isst_if.h 31 mkdir -p $(OUTPUT)include/linux 2>&1 || true 34 prepare: $(OUTPUT)include/linux/isst_if.h 36 ISST_IN := $(OUTPUT)intel-speed-select-in.o 40 $(OUTPUT)intel-speed-select: $(ISST_IN) 45 rm -rf $(OUTPUT)include/linux/isst_if.h 46 find $(if $(OUTPUT),$(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete
|
/Linux-v5.4/tools/testing/selftests/powerpc/math/ |
D | Makefile | 10 $(OUTPUT)/fpu_syscall: fpu_asm.S 11 $(OUTPUT)/fpu_preempt: fpu_asm.S 12 $(OUTPUT)/fpu_signal: fpu_asm.S 14 $(OUTPUT)/vmx_syscall: vmx_asm.S 15 $(OUTPUT)/vmx_preempt: vmx_asm.S 16 $(OUTPUT)/vmx_signal: vmx_asm.S 18 $(OUTPUT)/vsx_preempt: CFLAGS += -mvsx 19 $(OUTPUT)/vsx_preempt: vsx_asm.S
|
/Linux-v5.4/tools/hv/ |
D | Makefile | 18 override CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include 21 ALL_PROGRAMS := $(patsubst %,$(OUTPUT)%,$(ALL_TARGETS)) 27 export srctree OUTPUT CC LD CFLAGS 30 HV_KVP_DAEMON_IN := $(OUTPUT)hv_kvp_daemon-in.o 33 $(OUTPUT)hv_kvp_daemon: $(HV_KVP_DAEMON_IN) 36 HV_VSS_DAEMON_IN := $(OUTPUT)hv_vss_daemon-in.o 39 $(OUTPUT)hv_vss_daemon: $(HV_VSS_DAEMON_IN) 42 HV_FCOPY_DAEMON_IN := $(OUTPUT)hv_fcopy_daemon-in.o 45 $(OUTPUT)hv_fcopy_daemon: $(HV_FCOPY_DAEMON_IN) 50 find $(if $(OUTPUT),$(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete
|
/Linux-v5.4/tools/testing/selftests/powerpc/ |
D | Makefile | 40 BUILD_TARGET=$(OUTPUT)/$@; mkdir -p $$BUILD_TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -k -C $@ all 46 BUILD_TARGET=$(OUTPUT)/$$TARGET; \ 47 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET run_tests;\ 53 BUILD_TARGET=$(OUTPUT)/$$TARGET; \ 54 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET install;\ 60 BUILD_TARGET=$(OUTPUT)/$$TARGET; \ 61 $(MAKE) OUTPUT=$$BUILD_TARGET -s -C $$TARGET emit_tests;\ 67 BUILD_TARGET=$(OUTPUT)/$$TARGET; \ 68 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET clean; \
|
/Linux-v5.4/tools/testing/selftests/powerpc/tm/ |
D | Makefile | 17 $(OUTPUT)/tm-syscall: tm-syscall-asm.S 18 $(OUTPUT)/tm-syscall: CFLAGS += -I../../../../../usr/include 19 $(OUTPUT)/tm-tmspr: CFLAGS += -pthread 20 $(OUTPUT)/tm-vmx-unavail: CFLAGS += -pthread -m64 21 $(OUTPUT)/tm-resched-dscr: ../pmu/lib.c 22 $(OUTPUT)/tm-unavailable: CFLAGS += -O0 -pthread -m64 -Wno-error=uninitialized -mvsx 23 $(OUTPUT)/tm-trap: CFLAGS += -O0 -pthread -m64 24 $(OUTPUT)/tm-signal-context-force-tm: CFLAGS += -pthread -m64 26 SIGNAL_CONTEXT_CHK_TESTS := $(patsubst %,$(OUTPUT)/%,$(SIGNAL_CONTEXT_CHK_TESTS))
|
/Linux-v5.4/tools/testing/selftests/ |
D | lib.mk | 6 ifeq ($(OUTPUT),) 7 OUTPUT := $(shell pwd) 19 TEST_GEN_PROGS := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_PROGS)) 20 TEST_GEN_PROGS_EXTENDED := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_PROGS_EXTENDED)) 21 TEST_GEN_FILES := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_FILES)) 52 make --no-builtin-rules INSTALL_HDR_PATH=$$OUTPUT/usr \ 75 @rsync -aq $(TEST_PROGS) $(TEST_PROGS_EXTENDED) $(TEST_FILES) $(OUTPUT) 78 $(call RUN_TESTS, $(TEST_GEN_PROGS) $(TEST_CUSTOM_PROGS) $(OUTPUT)/$(TEST_PROGS)) 137 $(OUTPUT)/%:%.c 140 $(OUTPUT)/%.o:%.S [all …]
|
/Linux-v5.4/tools/lib/lockdep/ |
D | Makefile | 64 LIB_IN := $(OUTPUT)liblockdep-in.o 67 LIB_FILE = $(OUTPUT)liblockdep.a $(OUTPUT)liblockdep.so.$(LIBLOCKDEP_VERSION) 100 export srctree OUTPUT CC LD CFLAGS V 123 $(OUTPUT)liblockdep.so.$(LIBLOCKDEP_VERSION): $(LIB_IN) 126 $(OUTPUT)liblockdep.a: $(LIB_IN) 154 …$(RM) $(OUTPUT)*.o *~ $(TARGETS) $(OUTPUT)*.a $(OUTPUT)*liblockdep*.so* $(VERSION_FILES) $(OUTPUT)…
|