/Linux-v5.15/tools/build/feature/ |
D | Makefile | 78 FILES := $(addprefix $(OUTPUT),$(FILES)) 92 $(OUTPUT)test-all.bin: 95 $(OUTPUT)test-hello.bin: 98 $(OUTPUT)test-pthread-attr-setaffinity-np.bin: 101 $(OUTPUT)test-pthread-barrier.bin: 104 $(OUTPUT)test-stackprotector-all.bin: 107 $(OUTPUT)test-fortify-source.bin: 110 $(OUTPUT)test-bionic.bin: 113 $(OUTPUT)test-libcap.bin: 116 $(OUTPUT)test-libelf.bin: [all …]
|
/Linux-v5.15/tools/bpf/ |
D | Makefile | 60 $(OUTPUT)%.yacc.c: $(srctree)/tools/bpf/%.y 63 $(OUTPUT)%.lex.c: $(srctree)/tools/bpf/%.l 66 $(OUTPUT)%.o: $(srctree)/tools/bpf/%.c 69 $(OUTPUT)%.yacc.o: $(OUTPUT)%.yacc.c 71 $(OUTPUT)%.lex.o: $(OUTPUT)%.lex.c 74 PROGS = $(OUTPUT)bpf_jit_disasm $(OUTPUT)bpf_dbg $(OUTPUT)bpf_asm 78 $(OUTPUT)bpf_jit_disasm: CFLAGS += -DPACKAGE='bpf_jit_disasm' 79 $(OUTPUT)bpf_jit_disasm: $(OUTPUT)bpf_jit_disasm.o 82 $(OUTPUT)bpf_dbg: $(OUTPUT)bpf_dbg.o 85 $(OUTPUT)bpf_asm: $(OUTPUT)bpf_asm.o $(OUTPUT)bpf_exp.yacc.o $(OUTPUT)bpf_exp.lex.o [all …]
|
/Linux-v5.15/tools/bpf/runqslower/ |
D | Makefile | 4 OUTPUT ?= $(abspath .output)/ macro 6 BPFTOOL_OUTPUT := $(OUTPUT)bpftool/ 10 BPFOBJ_OUTPUT := $(OUTPUT)libbpf/ 13 INCLUDES := -I$(OUTPUT) -I$(BPF_INCLUDE) -I$(abspath ../../lib) \ 39 runqslower: $(OUTPUT)/runqslower 44 $(Q)$(RM) $(OUTPUT)*.o $(OUTPUT)*.d 45 $(Q)$(RM) $(OUTPUT)*.skel.h $(OUTPUT)vmlinux.h 46 $(Q)$(RM) $(OUTPUT)runqslower 49 $(OUTPUT)/runqslower: $(OUTPUT)/runqslower.o $(BPFOBJ) 52 $(OUTPUT)/runqslower.o: runqslower.h $(OUTPUT)/runqslower.skel.h \ [all …]
|
/Linux-v5.15/tools/testing/selftests/sgx/ |
D | Makefile | 19 TEST_CUSTOM_PROGS := $(OUTPUT)/test_sgx 22 all: $(TEST_CUSTOM_PROGS) $(OUTPUT)/test_encl.elf 25 $(OUTPUT)/test_sgx: $(OUTPUT)/main.o \ 26 $(OUTPUT)/load.o \ 27 $(OUTPUT)/sigstruct.o \ 28 $(OUTPUT)/call.o \ 29 $(OUTPUT)/sign_key.o 32 $(OUTPUT)/main.o: main.c 35 $(OUTPUT)/load.o: load.c 38 $(OUTPUT)/sigstruct.o: sigstruct.c [all …]
|
/Linux-v5.15/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.15/tools/perf/ |
D | Makefile.perf | 150 ifneq ($(OUTPUT),) 155 VPATH += $(OUTPUT) 226 export srctree OUTPUT RM CC CXX LD AR CFLAGS CXXFLAGS V BISON FLEX AWK 271 FEATURE_DUMP_EXPORT := $(realpath $(OUTPUT)FEATURE-DUMP) 293 ifneq ($(OUTPUT),) 294 TE_PATH=$(OUTPUT) 295 PLUGINS_PATH=$(OUTPUT) 296 BPF_PATH=$(OUTPUT) 297 SUBCMD_PATH=$(OUTPUT) 298 LIBPERF_PATH=$(OUTPUT) [all …]
|
/Linux-v5.15/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.15/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 38 GPIO_UTILS_IN := $(OUTPUT)gpio-utils-in.o 45 LSGPIO_IN := $(OUTPUT)lsgpio-in.o 46 $(LSGPIO_IN): prepare FORCE $(OUTPUT)gpio-utils-in.o 48 $(OUTPUT)lsgpio: $(LSGPIO_IN) [all …]
|
/Linux-v5.15/tools/bpf/resolve_btfids/ |
D | Makefile | 23 OUTPUT ?= $(srctree)/tools/bpf/resolve_btfids/ macro 28 BPFOBJ := $(OUTPUT)/libbpf/libbpf.a 29 SUBCMDOBJ := $(OUTPUT)/libsubcmd/libsubcmd.a 31 BINARY := $(OUTPUT)/resolve_btfids 36 $(OUTPUT) $(OUTPUT)/libbpf $(OUTPUT)/libsubcmd: 40 $(SUBCMDOBJ): fixdep FORCE | $(OUTPUT)/libsubcmd 41 $(Q)$(MAKE) -C $(SUBCMD_SRC) OUTPUT=$(abspath $(dir $@))/ $(abspath $@) 43 $(BPFOBJ): $(wildcard $(LIBBPF_SRC)/*.[ch] $(LIBBPF_SRC)/Makefile) | $(OUTPUT)/libbpf 44 $(Q)$(MAKE) $(submake_extras) -C $(LIBBPF_SRC) OUTPUT=$(abspath $(dir $@))/ $(abspath $@) 54 export srctree OUTPUT CFLAGS Q [all …]
|
/Linux-v5.15/tools/testing/selftests/powerpc/pmu/ |
D | Makefile | 16 $(OUTPUT)/count_instructions: CFLAGS += -m64 17 $(OUTPUT)/count_instructions: loop.S count_instructions.c $(EXTRA_SOURCES) 19 $(OUTPUT)/count_stcx_fail: CFLAGS += -m64 20 $(OUTPUT)/count_stcx_fail: loop.S $(EXTRA_SOURCES) 23 $(OUTPUT)/per_event_excludes: ../utils.c 28 TARGET=ebb; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET run_tests 34 TARGET=ebb; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -s -C $$TARGET emit_tests 40 TARGET=ebb; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET install 44 $(RM) $(TEST_GEN_PROGS) $(OUTPUT)/loop.o 45 TARGET=ebb; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET clean [all …]
|
/Linux-v5.15/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: ../../include/uapi/linux/spi 29 mkdir -p $(OUTPUT)include/linux/spi 2>&1 || true 33 prepare: $(OUTPUT)include/linux/spi 38 SPIDEV_TEST_IN := $(OUTPUT)spidev_test-in.o 41 $(OUTPUT)spidev_test: $(SPIDEV_TEST_IN) 47 SPIDEV_FDX_IN := $(OUTPUT)spidev_fdx-in.o 50 $(OUTPUT)spidev_fdx: $(SPIDEV_FDX_IN) [all …]
|
/Linux-v5.15/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 34 prepare: $(OUTPUT)include/linux/iio 36 IIO_UTILS_IN := $(OUTPUT)iio_utils-in.o 40 LSIIO_IN := $(OUTPUT)lsiio-in.o 41 $(LSIIO_IN): prepare FORCE $(OUTPUT)iio_utils-in.o 43 $(OUTPUT)lsiio: $(LSIIO_IN) [all …]
|
/Linux-v5.15/tools/testing/selftests/exec/ |
D | Makefile | 14 EXTRA_CLEAN := $(OUTPUT)/subdir.moved $(OUTPUT)/execveat.moved $(OUTPUT)/xxxxx* \ 15 $(OUTPUT)/S_I*.test 19 $(OUTPUT)/subdir: 21 $(OUTPUT)/script: 25 $(OUTPUT)/execveat.symlink: $(OUTPUT)/execveat 26 cd $(OUTPUT) && ln -s -f $(shell basename $<) $(shell basename $@) 27 $(OUTPUT)/execveat.denatured: $(OUTPUT)/execveat 30 $(OUTPUT)/load_address_4096: load_address.c 32 $(OUTPUT)/load_address_2097152: load_address.c 34 $(OUTPUT)/load_address_16777216: load_address.c
|
/Linux-v5.15/kernel/bpf/preload/iterators/ |
D | Makefile | 2 OUTPUT := .output macro 6 DEFAULT_BPFTOOL := $(OUTPUT)/sbin/bpftool 9 BPFOBJ := $(OUTPUT)/libbpf.a 10 BPF_INCLUDE := $(OUTPUT) 11 INCLUDES := -I$(OUTPUT) -I$(BPF_INCLUDE) -I$(abspath ../../../../tools/lib) \ 15 abs_out := $(abspath $(OUTPUT)) 34 $(Q)rm -rf $(OUTPUT) iterators 36 iterators.skel.h: $(OUTPUT)/iterators.bpf.o | $(BPFTOOL) 41 $(OUTPUT)/iterators.bpf.o: iterators.bpf.c $(BPFOBJ) | $(OUTPUT) 47 $(OUTPUT): [all …]
|
/Linux-v5.15/tools/bpf/bpftool/ |
D | Makefile | 19 ifneq ($(OUTPUT),) 20 LIBBPF_OUTPUT = $(OUTPUT)/libbpf/ 22 BOOTSTRAP_OUTPUT = $(OUTPUT)/bootstrap/ 41 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_OUTPUT) $(LIBBPF_OUTPUT)libbpf.a 44 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_BOOTSTRAP_OUTPUT) \ 49 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_OUTPUT) clean >/dev/null 53 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_BOOTSTRAP_OUTPUT) clean >/dev/null 62 -I$(if $(OUTPUT),$(OUTPUT),.) \ 116 include $(wildcard $(OUTPUT)*.d) 118 all: $(OUTPUT)bpftool [all …]
|
/Linux-v5.15/tools/perf/Documentation/ |
D | Makefile | 20 MAN_XML=$(addprefix $(OUTPUT),$(_MAN_XML)) 21 MAN_HTML=$(addprefix $(OUTPUT),$(_MAN_HTML)) 25 DOC_HTML=$(addprefix $(OUTPUT),$(_DOC_HTML)) 31 DOC_MAN1=$(addprefix $(OUTPUT),$(_DOC_MAN1)) 32 DOC_MAN5=$(addprefix $(OUTPUT),$(_DOC_MAN5)) 33 DOC_MAN7=$(addprefix $(OUTPUT),$(_DOC_MAN7)) 184 info: $(OUTPUT)perf.info $(OUTPUT)perfman.info 215 $(INSTALL) -m 644 $(OUTPUT)perf.info $(OUTPUT)perfman.info $(DESTDIR)$(infodir); \ 230 $(OUTPUT)doc.dep : $(wildcard *.txt) build-docdep.perl 235 -include $(OUTPUT)doc.dep [all …]
|
/Linux-v5.15/tools/testing/selftests/powerpc/mm/ |
D | Makefile | 18 $(OUTPUT)/prot_sao: ../utils.c 20 $(OUTPUT)/wild_bctr: CFLAGS += -m64 21 $(OUTPUT)/large_vm_fork_separation: CFLAGS += -m64 22 $(OUTPUT)/bad_accesses: CFLAGS += -m64 23 $(OUTPUT)/pkey_exec_prot: CFLAGS += -m64 24 $(OUTPUT)/pkey_siginfo: CFLAGS += -m64 26 $(OUTPUT)/stack_expansion_signal: ../utils.c ../pmu/lib.c 28 $(OUTPUT)/stack_expansion_ldst: CFLAGS += -fno-stack-protector 29 $(OUTPUT)/stack_expansion_ldst: ../utils.c 31 $(OUTPUT)/tempfile: [all …]
|
/Linux-v5.15/tools/testing/selftests/bpf/ |
D | Makefile | 26 -I$(TOOLSINCDIR) -I$(APIDIR) -I$(OUTPUT) \ 90 TEST_CUSTOM_PROGS = $(OUTPUT)/urandom_read 118 SCRATCH_DIR := $(OUTPUT)/tools 124 HOST_SCRATCH_DIR := $(OUTPUT)/host-tools 150 $(TEST_CUSTOM_PROGS)): %: $(OUTPUT)/% ; 160 $(OUTPUT)/%.o: %.c 164 $(OUTPUT)/%:%.c 168 $(OUTPUT)/urandom_read: urandom_read.c 172 $(OUTPUT)/bpf_testmod.ko: $(VMLINUX_BTF) $(wildcard bpf_testmod/Makefile bpf_testmod/*.[ch]) 178 $(OUTPUT)/test_stub.o: test_stub.c $(BPFOBJ) [all …]
|
/Linux-v5.15/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.15/tools/testing/selftests/vDSO/ |
D | Makefile | 7 TEST_GEN_PROGS := $(OUTPUT)/vdso_test_gettimeofday $(OUTPUT)/vdso_test_getcpu 8 TEST_GEN_PROGS += $(OUTPUT)/vdso_test_abi 9 TEST_GEN_PROGS += $(OUTPUT)/vdso_test_clock_getres 11 TEST_GEN_PROGS += $(OUTPUT)/vdso_standalone_test_x86 13 TEST_GEN_PROGS += $(OUTPUT)/vdso_test_correctness 23 $(OUTPUT)/vdso_test_gettimeofday: parse_vdso.c vdso_test_gettimeofday.c 24 $(OUTPUT)/vdso_test_getcpu: parse_vdso.c vdso_test_getcpu.c 25 $(OUTPUT)/vdso_test_abi: parse_vdso.c vdso_test_abi.c 26 $(OUTPUT)/vdso_test_clock_getres: vdso_test_clock_getres.c 27 $(OUTPUT)/vdso_standalone_test_x86: vdso_standalone_test_x86.c parse_vdso.c [all …]
|
/Linux-v5.15/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.15/tools/lib/bpf/ |
D | Makefile | 107 export srctree OUTPUT CC LD CFLAGS V 110 SHARED_OBJDIR := $(OUTPUT)sharedobjs/ 111 STATIC_OBJDIR := $(OUTPUT)staticobjs/ 114 BPF_HELPER_DEFS := $(OUTPUT)bpf_helper_defs.h 116 LIB_TARGET := $(addprefix $(OUTPUT),$(LIB_TARGET)) 117 LIB_FILE := $(addprefix $(OUTPUT),$(LIB_FILE)) 118 PC_FILE := $(addprefix $(OUTPUT),$(PC_FILE)) 127 VERSIONED_SYM_COUNT = $(shell readelf --dyn-syms --wide $(OUTPUT)libbpf.so | \ 155 $(Q)$(MAKE) $(build)=libbpf OUTPUT=$(SHARED_OBJDIR) CFLAGS="$(CFLAGS) $(SHLIB_FLAGS)" 158 $(Q)$(MAKE) $(build)=libbpf OUTPUT=$(STATIC_OBJDIR) [all …]
|
/Linux-v5.15/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.15/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.15/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
|