/linux/tools/build/feature/ |
H A D | Makefile | 81 FILES := $(addprefix $(OUTPUT),$(FILES)) 120 $(OUTPUT)test-all.bin: 123 $(OUTPUT)test-hello.bin: 126 $(OUTPUT)test-pthread-attr-setaffinity-np.bin: 129 $(OUTPUT)test-pthread-barrier.bin: 132 $(OUTPUT)test-stackprotector-all.bin: 135 $(OUTPUT)test-fortify-source.bin: 138 $(OUTPUT)test-bionic.bin: 141 $(OUTPUT)test-libcap.bin: 144 $(OUTPUT)test-libelf.bin: [all …]
|
/linux/tools/testing/selftests/arm64/fp/ |
H A D | Makefile | 25 EXTRA_CLEAN += $(OUTPUT)/asm-utils.o $(OUTPUT)/rdvl.o $(OUTPUT)/za-fork-asm.o 28 $(OUTPUT)/fp-pidbench: fp-pidbench.S $(OUTPUT)/asm-utils.o 30 $(OUTPUT)/fp-ptrace: fp-ptrace.c fp-ptrace-asm.S 31 $(OUTPUT)/fpsimd-test: fpsimd-test.S $(OUTPUT)/asm-utils.o 33 $(OUTPUT)/rdvl-sve: rdvl-sve.c $(OUTPUT)/rdvl.o 34 $(OUTPUT)/rdvl-sme: rdvl-sme.c $(OUTPUT)/rdvl.o 35 $(OUTPUT)/sve-ptrace: sve-ptrace.c 36 $(OUTPUT)/sve-probe-vls: sve-probe-vls.c $(OUTPUT)/rdvl.o 37 $(OUTPUT)/sve-test: sve-test.S $(OUTPUT)/asm-utils.o 39 $(OUTPUT)/ssve-test: sve-test.S $(OUTPUT)/asm-utils.o [all …]
|
/linux/tools/bpf/ |
H A 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/tools/bpf/runqslower/ |
H A 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) 42 runqslower: $(OUTPUT)/runqslower 47 $(Q)$(RM) $(OUTPUT)*.o $(OUTPUT)*.d 48 $(Q)$(RM) $(OUTPUT)*.skel.h $(OUTPUT)vmlinux.h 49 $(Q)$(RM) $(OUTPUT)runqslower 54 $(OUTPUT)/runqslower: $(OUTPUT)/runqslower.o $(BPFOBJ) 57 $(OUTPUT)/runqslower.o: runqslower.h $(OUTPUT)/runqslower.skel.h \ [all …]
|
/linux/tools/testing/selftests/sgx/ |
H A D | Makefile | 22 TEST_CUSTOM_PROGS := $(OUTPUT)/test_sgx 23 TEST_FILES := $(OUTPUT)/test_encl.elf 25 all: $(TEST_CUSTOM_PROGS) $(OUTPUT)/test_encl.elf 28 $(OUTPUT)/test_sgx: $(OUTPUT)/main.o \ 29 $(OUTPUT)/load.o \ 30 $(OUTPUT)/sigstruct.o \ 31 $(OUTPUT)/call.o \ 32 $(OUTPUT)/sign_key.o 35 $(OUTPUT)/main.o: main.c 38 $(OUTPUT)/load.o: load.c [all …]
|
/linux/tools/testing/selftests/arm64/bti/ |
H A 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/tools/testing/selftests/bpf/ |
H A D | Makefile | 48 -I$(TOOLSINCDIR) -I$(TOOLSARCHINCDIR) -I$(APIDIR) -I$(OUTPUT) 201 # Makefile.feature expects OUTPUT to end with a slash 203 $(let OUTPUT,$(OUTPUT)/,\ 206 OUTPUT := $(OUTPUT)/ macro 208 OUTPUT := $(patsubst %/,%,$(OUTPUT)) macro 223 SCRATCH_DIR := $(OUTPUT)/tools 229 HOST_SCRATCH_DIR := $(OUTPUT)/hos [all...] |
/linux/tools/power/cpupower/debug/i386/ |
H A 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/tools/perf/ |
H A D | Makefile.perf | 159 ifneq ($(OUTPUT),) 160 #$(info Determined 'OUTPUT' to be $(OUTPUT)) 161 # Adding $(OUTPUT) as a directory to look for source files, 164 VPATH += $(OUTPUT) 167 SOURCE := $(shell ln -sf $(srctree)/tools/perf $(OUTPUT)/source) 280 export srctree OUTPUT RM CC CXX LD AR CFLAGS CXXFLAGS V BISON FLEX AWK 325 FEATURE_DUMP_EXPORT := $(realpath $(OUTPUT)FEATURE-DUMP) 346 ifneq ($(OUTPUT),) 347 LIBAPI_OUTPUT = $(abspath $(OUTPUT))/libap [all...] |
/linux/tools/gpio/ |
H A 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/tools/power/cpupower/bench/ |
H A D | Makefile | 7 OUTPUT := ./ macro 10 OUTPUT := $(O)/ macro 15 LIBS = -L../ -L$(OUTPUT) -lm 16 OBJS = $(OUTPUT)main.o $(OUTPUT)parse.o $(OUTPUT)system.o $(OUTPUT)benchmark.o \ 17 $(OUTPUT)../lib/cpufreq.o $(OUTPUT)../lib/cpupower.o 19 LIBS = -L../ -L$(OUTPUT) -lm -lcpupower 20 OBJS = $(OUTPUT)main.o $(OUTPUT)parse.o $(OUTPUT)system.o $(OUTPUT)benchmark.o
|
/linux/tools/testing/selftests/powerpc/pmu/ |
H A D | Makefile | 19 $(OUTPUT)/count_instructions: CFLAGS += -m64 20 $(OUTPUT)/count_instructions: loop.S count_instructions.c $(EXTRA_SOURCES) 22 $(OUTPUT)/count_stcx_fail: CFLAGS += -m64 23 $(OUTPUT)/count_stcx_fail: loop.S $(EXTRA_SOURCES) 26 $(OUTPUT)/per_event_excludes: ../utils.c 29 BUILD_TARGET=$(OUTPUT)/$@; mkdir -p $$BUILD_TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -k -C $@ all 35 BUILD_TARGET=$(OUTPUT)/$$TARGET; \ 36 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET run_tests; \ 46 BUILD_TARGET=$(OUTPUT)/$$TARGET; \ 47 $(MAKE) OUTPUT=$$BUILD_TARGET COLLECTION=$(COLLECTION)/$$TARGET -s -C $$TARGET emit_tests; \ [all …]
|
/linux/tools/testing/selftests/powerpc/mm/ |
H A D | Makefile | 20 $(OUTPUT)/prot_sao: ../utils.c 22 $(OUTPUT)/wild_bctr: CFLAGS += -m64 23 $(OUTPUT)/large_vm_fork_separation: CFLAGS += -m64 24 $(OUTPUT)/large_vm_gpr_corruption: CFLAGS += -m64 25 $(OUTPUT)/bad_accesses: CFLAGS += -m64 26 $(OUTPUT)/exec_prot: CFLAGS += -m64 27 $(OUTPUT)/pkey_exec_prot: CFLAGS += -m64 28 $(OUTPUT)/pkey_siginfo: CFLAGS += -m64 30 $(OUTPUT)/stack_expansion_signal: ../utils.c ../pmu/lib.c 32 $(OUTPUT)/stack_expansion_ldst: CFLAGS += -fno-stack-protector [all …]
|
/linux/tools/iio/ |
H A 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/tools/perf/Documentation/ |
H A 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/tools/lib/bpf/ |
H A D | Makefile | 112 OUTPUT ?= ./ macro 113 OUTPUT := $(abspath $(OUTPUT))/ macro 114 export srctree OUTPUT CC LD CFLAGS V 117 SHARED_OBJDIR := $(OUTPUT)sharedobjs/ 118 STATIC_OBJDIR := $(OUTPUT)staticobjs/ 121 BPF_HELPER_DEFS := $(OUTPUT)bpf_helper_defs.h 124 LIB_TARGET := $(addprefix $(OUTPUT),$(LIB_TARGET)) 125 LIB_FILE := $(addprefix $(OUTPUT),$(LIB_FILE)) 126 PC_FILE := $(addprefix $(OUTPUT),$(PC_FILE)) 135 VERSIONED_SYM_COUNT = $(shell readelf --dyn-syms --wide $(OUTPUT)libbpf.so | \ [all …]
|
/linux/tools/counter/ |
H A D | Makefile | 15 override CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include \ 19 ALL_PROGRAMS := $(patsubst %,$(OUTPUT)%,$(ALL_TARGETS)) 23 export srctree OUTPUT CC LD CFLAGS 29 $(OUTPUT)include/linux/counter.h: ../../include/uapi/linux/counter.h 30 mkdir -p $(OUTPUT)include/linux 2>&1 || true 33 prepare: $(OUTPUT)include/linux/counter.h 35 COUNTER_EXAMPLE := $(OUTPUT)counter_example.o 38 $(OUTPUT)counter_example: $(COUNTER_EXAMPLE) 41 COUNTER_WATCH_EVENTS := $(OUTPUT)counter_watch_events.o 44 $(OUTPUT)counter_watch_events: $(COUNTER_WATCH_EVENTS) [all …]
|
/linux/tools/testing/selftests/exec/ |
H A D | Makefile | 19 EXTRA_CLEAN := $(OUTPUT)/subdir.moved $(OUTPUT)/execveat.moved $(OUTPUT)/xxxxx* \ 20 $(OUTPUT)/S_I*.test 24 $(OUTPUT)/subdir: 26 $(OUTPUT)/script: Makefile 30 $(OUTPUT)/execveat.symlink: $(OUTPUT)/execveat 31 cd $(OUTPUT) && ln -s -f $(shell basename $<) $(shell basename $@) 32 $(OUTPUT)/execveat.denatured: $(OUTPUT)/execveat 35 $(OUTPUT)/load_address.0x%: load_address.c 38 $(OUTPUT)/load_address.static.0x%: load_address.c
|
/linux/tools/power/acpi/ |
H A 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/tools/spi/ |
H A 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/tools/testing/selftests/powerpc/switch_endian/ |
H A D | Makefile | 4 EXTRA_CLEAN = $(OUTPUT)/*.o $(OUTPUT)/check-reversed.S 12 $(OUTPUT)/switch_endian_test: ASFLAGS += -I $(OUTPUT) 13 $(OUTPUT)/switch_endian_test: $(OUTPUT)/check-reversed.S 15 $(OUTPUT)/check-reversed.o: $(OUTPUT)/check.o 18 $(OUTPUT)/check-reversed.S: $(OUTPUT)/check-reversed.o
|
/linux/tools/testing/selftests/vDSO/ |
H A D | Makefile | 22 $(OUTPUT)/vdso_test_gettimeofday: parse_vdso.c vdso_test_gettimeofday.c 23 $(OUTPUT)/vdso_test_getcpu: parse_vdso.c vdso_test_getcpu.c 24 $(OUTPUT)/vdso_test_abi: parse_vdso.c vdso_test_abi.c 25 $(OUTPUT)/vdso_test_clock_getres: vdso_test_clock_getres.c 27 $(OUTPUT)/vdso_standalone_test_x86: vdso_standalone_test_x86.c parse_vdso.c 28 $(OUTPUT)/vdso_standalone_test_x86: CFLAGS +=-nostdlib -fno-asynchronous-unwind-tables -fno-stack-p… 30 $(OUTPUT)/vdso_test_correctness: vdso_test_correctness.c 31 $(OUTPUT)/vdso_test_correctness: LDFLAGS += -ldl 33 $(OUTPUT)/vdso_test_getrandom: parse_vdso.c 34 $(OUTPUT)/vdso_test_getrandom: CFLAGS += -isystem $(top_srcdir)/tools/include \ [all …]
|
/linux/tools/power/x86/intel-speed-select/ |
H A 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/tools/power/cpupower/debug/x86_64/ |
H A 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/tools/bpf/resolve_btfids/ |
H A D | Makefile | 30 OUTPUT ?= $(srctree)/tools/bpf/resolve_btfids/ macro 35 BPFOBJ := $(OUTPUT)/libbpf/libbpf.a 37 SUBCMDOBJ := $(OUTPUT)/libsubcmd/libsubcmd.a 46 BINARY := $(OUTPUT)/resolve_btfids 53 $(OUTPUT) $(OUTPUT)/libsubcmd $(LIBBPF_OUT): 57 $(SUBCMDOBJ): fixdep FORCE | $(OUTPUT)/libsubcmd 58 $(Q)$(MAKE) -C $(SUBCMD_SRC) OUTPUT=$(SUBCMD_OUT) \ 63 $(Q)$(MAKE) $(submake_extras) -C $(LIBBPF_SRC) OUTPUT=$(LIBBPF_OUT) \ 79 export srctree OUTPUT HOSTCFLAGS_resolve_btfids Q HOSTCC HOSTLD HOSTAR 82 $(BINARY_IN): fixdep FORCE prepare | $(OUTPUT) [all …]
|