/linux-6.6.21/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 29 …+TARGET=sampling_tests; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET … 30 …+TARGET=event_code_tests; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGE… 38 …+TARGET=ebb; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -s -C $$TARGET emit_tes… 39 …+TARGET=sampling_tests; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -s -C $$TARG… [all …]
|
/linux-6.6.21/tools/build/feature/ |
D | Makefile | 81 FILES := $(addprefix $(OUTPUT),$(FILES)) 97 $(OUTPUT)test-all.bin: 100 $(OUTPUT)test-hello.bin: 103 $(OUTPUT)test-pthread-attr-setaffinity-np.bin: 106 $(OUTPUT)test-pthread-barrier.bin: 109 $(OUTPUT)test-stackprotector-all.bin: 112 $(OUTPUT)test-fortify-source.bin: 115 $(OUTPUT)test-bionic.bin: 118 $(OUTPUT)test-libcap.bin: 121 $(OUTPUT)test-libelf.bin: [all …]
|
/linux-6.6.21/tools/testing/selftests/arm64/fp/ |
D | Makefile | 22 EXTRA_CLEAN += $(OUTPUT)/asm-utils.o $(OUTPUT)/rdvl.o $(OUTPUT)/za-fork-asm.o 25 $(OUTPUT)/fp-pidbench: fp-pidbench.S $(OUTPUT)/asm-utils.o 27 $(OUTPUT)/fpsimd-test: fpsimd-test.S $(OUTPUT)/asm-utils.o 29 $(OUTPUT)/rdvl-sve: rdvl-sve.c $(OUTPUT)/rdvl.o 30 $(OUTPUT)/rdvl-sme: rdvl-sme.c $(OUTPUT)/rdvl.o 31 $(OUTPUT)/sve-ptrace: sve-ptrace.c 32 $(OUTPUT)/sve-probe-vls: sve-probe-vls.c $(OUTPUT)/rdvl.o 33 $(OUTPUT)/sve-test: sve-test.S $(OUTPUT)/asm-utils.o 35 $(OUTPUT)/ssve-test: sve-test.S $(OUTPUT)/asm-utils.o 37 $(OUTPUT)/vec-syscfg: vec-syscfg.c $(OUTPUT)/rdvl.o [all …]
|
/linux-6.6.21/tools/bpf/ |
D | Makefile | 63 $(OUTPUT)%.yacc.c: $(srctree)/tools/bpf/%.y 66 $(OUTPUT)%.lex.c: $(srctree)/tools/bpf/%.l 69 $(OUTPUT)%.o: $(srctree)/tools/bpf/%.c 72 $(OUTPUT)%.yacc.o: $(OUTPUT)%.yacc.c 74 $(OUTPUT)%.lex.o: $(OUTPUT)%.lex.c 77 PROGS = $(OUTPUT)bpf_jit_disasm $(OUTPUT)bpf_dbg $(OUTPUT)bpf_asm 81 $(OUTPUT)bpf_jit_disasm: CFLAGS += -DPACKAGE='bpf_jit_disasm' 82 $(OUTPUT)bpf_jit_disasm: $(OUTPUT)bpf_jit_disasm.o 85 $(OUTPUT)bpf_dbg: $(OUTPUT)bpf_dbg.o 88 $(OUTPUT)bpf_asm: $(OUTPUT)bpf_asm.o $(OUTPUT)bpf_exp.yacc.o $(OUTPUT)bpf_exp.lex.o [all …]
|
/linux-6.6.21/tools/bpf/runqslower/ |
D | Makefile | 4 OUTPUT ?= $(abspath .output)/ macro 6 BPFTOOL_OUTPUT := $(OUTPUT)bpftool/ 10 BPFOBJ_OUTPUT := $(OUTPUT)libbpf/ 14 INCLUDES := -I$(OUTPUT) -I$(BPF_INCLUDE) -I$(abspath ../../include/uapi) 41 runqslower: $(OUTPUT)/runqslower 46 $(Q)$(RM) $(OUTPUT)*.o $(OUTPUT)*.d 47 $(Q)$(RM) $(OUTPUT)*.skel.h $(OUTPUT)vmlinux.h 48 $(Q)$(RM) $(OUTPUT)runqslower 53 $(OUTPUT)/runqslower: $(OUTPUT)/runqslower.o $(BPFOBJ) 56 $(OUTPUT)/runqslower.o: runqslower.h $(OUTPUT)/runqslower.skel.h \ [all …]
|
/linux-6.6.21/tools/testing/selftests/sgx/ |
D | Makefile | 20 TEST_CUSTOM_PROGS := $(OUTPUT)/test_sgx 21 TEST_FILES := $(OUTPUT)/test_encl.elf 23 all: $(TEST_CUSTOM_PROGS) $(OUTPUT)/test_encl.elf 26 $(OUTPUT)/test_sgx: $(OUTPUT)/main.o \ 27 $(OUTPUT)/load.o \ 28 $(OUTPUT)/sigstruct.o \ 29 $(OUTPUT)/call.o \ 30 $(OUTPUT)/sign_key.o 33 $(OUTPUT)/main.o: main.c 36 $(OUTPUT)/load.o: load.c [all …]
|
/linux-6.6.21/tools/testing/selftests/arm64/bti/ |
D | Makefile | 19 $(OUTPUT)/%-bti.o: %.c 22 $(OUTPUT)/%-bti.o: %.S 25 $(OUTPUT)/%-nobti.o: %.c 28 $(OUTPUT)/%-nobti.o: %.S 32 $(OUTPUT)/test-bti.o \ 33 $(OUTPUT)/signal-bti.o \ 34 $(OUTPUT)/start-bti.o \ 35 $(OUTPUT)/syscall-bti.o \ 36 $(OUTPUT)/system-bti.o \ 37 $(OUTPUT)/teststubs-bti.o \ [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | Makefile | 32 -I$(TOOLSINCDIR) -I$(APIDIR) -I$(OUTPUT) 138 SCRATCH_DIR := $(OUTPUT)/tools 144 HOST_SCRATCH_DIR := $(OUTPUT)/host-tools 171 $(TEST_CUSTOM_PROGS)): %: $(OUTPUT)/% ; 182 $(OUTPUT)/%.o: %.c 186 $(OUTPUT)/%:%.c 199 $(OUTPUT)/liburandom_read.so: urandom_read_lib1.c urandom_read_lib2.c 206 $(OUTPUT)/urandom_read: urandom_read.c urandom_read_aux.c $(OUTPUT)/liburandom_read.so 209 -lurandom_read $(filter-out -static,$(LDLIBS)) -L$(OUTPUT) \ 213 $(OUTPUT)/sign-file: ../../../../scripts/sign-file.c [all …]
|
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/tools/perf/ |
D | Makefile.perf | 154 ifneq ($(OUTPUT),) 159 VPATH += $(OUTPUT) 230 export srctree OUTPUT RM CC CXX LD AR CFLAGS CXXFLAGS V BISON FLEX AWK 275 FEATURE_DUMP_EXPORT := $(realpath $(OUTPUT)FEATURE-DUMP) 296 ifneq ($(OUTPUT),) 297 LIBAPI_OUTPUT = $(abspath $(OUTPUT))/libapi 307 ifneq ($(OUTPUT),) 308 LIBBPF_OUTPUT = $(abspath $(OUTPUT))/libbpf 319 ifneq ($(OUTPUT),) 320 LIBSUBCMD_OUTPUT = $(abspath $(OUTPUT))/libsubcmd [all …]
|
/linux-6.6.21/tools/testing/selftests/powerpc/mm/ |
D | Makefile | 19 $(OUTPUT)/prot_sao: ../utils.c 21 $(OUTPUT)/wild_bctr: CFLAGS += -m64 22 $(OUTPUT)/large_vm_fork_separation: CFLAGS += -m64 23 $(OUTPUT)/large_vm_gpr_corruption: CFLAGS += -m64 24 $(OUTPUT)/bad_accesses: CFLAGS += -m64 25 $(OUTPUT)/exec_prot: CFLAGS += -m64 26 $(OUTPUT)/pkey_exec_prot: CFLAGS += -m64 27 $(OUTPUT)/pkey_siginfo: CFLAGS += -m64 29 $(OUTPUT)/stack_expansion_signal: ../utils.c ../pmu/lib.c 31 $(OUTPUT)/stack_expansion_ldst: CFLAGS += -fno-stack-protector [all …]
|
/linux-6.6.21/tools/testing/selftests/exec/ |
D | Makefile | 15 EXTRA_CLEAN := $(OUTPUT)/subdir.moved $(OUTPUT)/execveat.moved $(OUTPUT)/xxxxx* \ 16 $(OUTPUT)/S_I*.test 20 $(OUTPUT)/subdir: 22 $(OUTPUT)/script: 26 $(OUTPUT)/execveat.symlink: $(OUTPUT)/execveat 27 cd $(OUTPUT) && ln -s -f $(shell basename $<) $(shell basename $@) 28 $(OUTPUT)/execveat.denatured: $(OUTPUT)/execveat 31 $(OUTPUT)/load_address_4096: load_address.c 33 $(OUTPUT)/load_address_2097152: load_address.c 35 $(OUTPUT)/load_address_16777216: load_address.c
|
/linux-6.6.21/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-6.6.21/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-6.6.21/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) $(toolobjs) $(LDFLAGS) -L$(OUTPUT) -o $@ 13 $(ECHO) " STRIP " $(subst $(OUTPUT),,$@) 17 $(ECHO) " MKDIR " $(subst $(OUTPUT),,$@) 19 $(ECHO) " CP " $(subst $(OUTPUT),,$@) 23 $(ECHO) " CC " $(subst $(OUTPUT),,$@) 27 all: $(OUTPUT)$(TOOL) 29 $(ECHO) " RMOBJ " $(subst $(OUTPUT),,$(objdir)) [all …]
|
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/tools/counter/ |
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/counter.h: ../../include/uapi/linux/counter.h 29 mkdir -p $(OUTPUT)include/linux 2>&1 || true 32 prepare: $(OUTPUT)include/linux/counter.h 34 COUNTER_EXAMPLE := $(OUTPUT)counter_example.o 37 $(OUTPUT)counter_example: $(COUNTER_EXAMPLE) 42 rm -rf $(OUTPUT)include/linux/counter.h 43 rm -df $(OUTPUT)include/linux [all …]
|
/linux-6.6.21/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-6.6.21/tools/power/x86/intel-speed-select/ |
D | Makefile | 16 override CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include -I/usr/include/libnl3 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 $(OUTPUT)include/linux/thermal.h: ../../../../include/uapi/linux/thermal.h 35 mkdir -p $(OUTPUT)include/linux 2>&1 || true 38 prepare: $(OUTPUT)include/linux/isst_if.h $(OUTPUT)include/linux/thermal.h 40 ISST_IN := $(OUTPUT)intel-speed-select-in.o 44 $(OUTPUT)intel-speed-select: $(ISST_IN) [all …]
|
/linux-6.6.21/tools/lib/bpf/ |
D | Makefile | 111 export srctree OUTPUT CC LD CFLAGS V 114 SHARED_OBJDIR := $(OUTPUT)sharedobjs/ 115 STATIC_OBJDIR := $(OUTPUT)staticobjs/ 118 BPF_HELPER_DEFS := $(OUTPUT)bpf_helper_defs.h 121 LIB_TARGET := $(addprefix $(OUTPUT),$(LIB_TARGET)) 122 LIB_FILE := $(addprefix $(OUTPUT),$(LIB_FILE)) 123 PC_FILE := $(addprefix $(OUTPUT),$(PC_FILE)) 132 VERSIONED_SYM_COUNT = $(shell readelf --dyn-syms --wide $(OUTPUT)libbpf.so | \ 154 $(Q)$(MAKE) $(build)=libbpf OUTPUT=$(SHARED_OBJDIR) CFLAGS="$(CFLAGS) $(SHLIB_FLAGS)" 157 $(Q)$(MAKE) $(build)=libbpf OUTPUT=$(STATIC_OBJDIR) [all …]
|
/linux-6.6.21/tools/bpf/bpftool/ |
D | Makefile | 18 ifneq ($(OUTPUT),) 19 _OUTPUT := $(OUTPUT) 46 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_OUTPUT) \ 54 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_BOOTSTRAP_OUTPUT) \ 64 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_OUTPUT) clean >/dev/null 68 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_BOOTSTRAP_OUTPUT) clean >/dev/null 77 -I$(or $(OUTPUT),.) \ 136 include $(wildcard $(OUTPUT)*.d) 138 all: $(OUTPUT)bpftool 189 OBJS = $(patsubst %.c,$(OUTPUT)%.o,$(SRCS)) $(OUTPUT)disasm.o [all …]
|