/tools/testing/selftests/powerpc/copyloops/ |
D | Makefile | 3 CFLAGS += -m64 4 CFLAGS += -I$(CURDIR) 5 CFLAGS += -D SELFTEST 6 CFLAGS += -maltivec 7 CFLAGS += -mcpu=power4 10 ASFLAGS = $(CFLAGS) -Wa,-mpower4 24 $(CC) $(CPPFLAGS) $(CFLAGS) \ 30 $(CC) $(CPPFLAGS) $(CFLAGS) \ 37 $(CC) $(CPPFLAGS) $(CFLAGS) \ 43 $(CC) $(CPPFLAGS) $(CFLAGS) \ [all …]
|
/tools/lib/subcmd/ |
D | Makefile | 22 CFLAGS := -ggdb3 -Wall -Wextra -std=gnu99 -fPIC macro 26 CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 31 CFLAGS += -O0 33 CFLAGS += -O3 35 CFLAGS += -O6 40 CFLAGS += -Werror 43 CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE 45 CFLAGS += -I$(srctree)/tools/include/ 47 CFLAGS += $(EXTRA_WARNINGS) $(EXTRA_CFLAGS) 53 export srctree OUTPUT CC LD CFLAGS V
|
/tools/lib/api/ |
D | Makefile | 20 CFLAGS := $(EXTRA_WARNINGS) $(EXTRA_CFLAGS) macro 21 CFLAGS += -ggdb3 -Wall -Wextra -std=gnu99 -U_FORTIFY_SOURCE -fPIC 25 CFLAGS += -O3 27 CFLAGS += -O6 32 CFLAGS += -D_FORTIFY_SOURCE 37 CFLAGS += -Werror 40 CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 41 CFLAGS += -I$(srctree)/tools/lib/api 42 CFLAGS += -I$(srctree)/tools/include 50 export srctree OUTPUT CC LD CFLAGS V
|
/tools/testing/selftests/powerpc/tm/ |
D | Makefile | 17 CFLAGS += -mhtm 20 $(OUTPUT)/tm-syscall: CFLAGS += -I../../../../../usr/include 21 $(OUTPUT)/tm-tmspr: CFLAGS += -pthread 22 $(OUTPUT)/tm-vmx-unavail: CFLAGS += -pthread -m64 24 $(OUTPUT)/tm-unavailable: CFLAGS += -O0 -pthread -m64 -Wno-error=uninitialized -mvsx 25 $(OUTPUT)/tm-trap: CFLAGS += -O0 -pthread -m64 26 $(OUTPUT)/tm-signal-context-force-tm: CFLAGS += -pthread -m64 27 $(OUTPUT)/tm-signal-pagefault: CFLAGS += -pthread -m64 28 $(OUTPUT)/tm-poison: CFLAGS += -m64 32 $(SIGNAL_CONTEXT_CHK_TESTS): CFLAGS += -mhtm -m64 -mvsx
|
/tools/testing/selftests/powerpc/stringloops/ |
D | Makefile | 3 CFLAGS += -I$(CURDIR) 7 build_32bit = $(shell if ($(CC) $(CFLAGS) -m32 -o /dev/null memcmp.c >/dev/null 2>&1) then echo "1"… 12 $(OUTPUT)/memcmp_64: CFLAGS += -m64 -maltivec 16 $(OUTPUT)/memcmp_32: CFLAGS += -m32 25 $(OUTPUT)/strlen_32: CFLAGS += -m32 30 ASFLAGS = $(CFLAGS)
|
/tools/power/x86/turbostat/ |
D | Makefile | 12 override CFLAGS += -O2 -Wall -I../../../include 13 override CFLAGS += -DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"' 14 override CFLAGS += -DINTEL_FAMILY_HEADER='"../../../../arch/x86/include/asm/intel-family.h"' 15 override CFLAGS += -D_FILE_OFFSET_BITS=64 16 override CFLAGS += -D_FORTIFY_SOURCE=2 20 $(CC) $(CFLAGS) $< -o $(BUILD_OUTPUT)/$@ $(LDFLAGS) -lcap -lrt
|
/tools/testing/selftests/powerpc/mm/ |
D | Makefile | 19 $(OUTPUT)/wild_bctr: CFLAGS += -m64 20 $(OUTPUT)/large_vm_fork_separation: CFLAGS += -m64 21 $(OUTPUT)/bad_accesses: CFLAGS += -m64 22 $(OUTPUT)/pkey_exec_prot: CFLAGS += -m64 23 $(OUTPUT)/pkey_siginfo: CFLAGS += -m64 27 $(OUTPUT)/stack_expansion_ldst: CFLAGS += -fno-stack-protector
|
/tools/testing/selftests/arm64/pauth/ |
D | Makefile | 9 CFLAGS += -mbranch-protection=pac-ret 11 pauth_cc_support := $(shell if ($(CC) $(CFLAGS) -march=armv8.3-a -E -x c /dev/null -o /dev/null 2>&… 25 $(CC) -c $^ -o $@ $(CFLAGS) -march=armv8.3-a 28 $(CC) -c $^ -o $@ $(CFLAGS) -march=armv8.3-a 35 $(CC) $^ -o $@ $(CFLAGS) -march=armv8.2-a 38 $(CC) $^ -o $@ $(CFLAGS) -march=armv8.2-a
|
/tools/testing/selftests/exec/ |
D | Makefile | 2 CFLAGS = -Wall macro 3 CFLAGS += -Wno-nonnull 4 CFLAGS += -D_GNU_SOURCE 31 $(CC) $(CFLAGS) $(LDFLAGS) -Wl,-z,max-page-size=0x1000 -pie -static $< -o $@ 33 $(CC) $(CFLAGS) $(LDFLAGS) -Wl,-z,max-page-size=0x200000 -pie -static $< -o $@ 35 $(CC) $(CFLAGS) $(LDFLAGS) -Wl,-z,max-page-size=0x1000000 -pie -static $< -o $@
|
/tools/testing/selftests/memfd/ |
D | Makefile | 2 CFLAGS += -D_FILE_OFFSET_BITS=64 3 CFLAGS += -I../../../../include/uapi/ 4 CFLAGS += -I../../../../include/ 5 CFLAGS += -I../../../../usr/include/ 21 fuse_mnt.o: CFLAGS += $(VAR_CFLAGS)
|
/tools/perf/ |
D | Makefile.config | 19 CFLAGS := $(EXTRA_CFLAGS) $(filter-out -Wnested-externs,$(EXTRA_WARNINGS)) 41 CFLAGS += -DHAVE_SYSCALL_TABLE_SUPPORT 48 CFLAGS += -I$(OUTPUT)arch/powerpc/include/generated 56 CFLAGS += -DHAVE_ARCH_X86_64_SUPPORT -I$(OUTPUT)arch/x86/include/generated 73 CFLAGS += -I$(OUTPUT)arch/arm64/include/generated 87 CFLAGS += -fPIC -I$(OUTPUT)arch/s390/include/generated 148 CFLAGS += -DHAVE_PERF_REGS_SUPPORT 185 CFLAGS += -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET 219 CFLAGS += -DPARSER_DEBUG 306 CFLAGS += -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free [all …]
|
/tools/testing/selftests/rseq/ |
D | Makefile | 9 CFLAGS += -O2 -Wall -g -I./ -I../../../../usr/include/ -L$(OUTPUT) -Wl,-rpath=./ \ 29 $(CC) $(CFLAGS) -shared -fPIC $< $(LDLIBS) -o $@ 32 $(CC) $(CFLAGS) $< $(LDLIBS) -lrseq -o $@ 36 $(CC) $(CFLAGS) -DBENCHMARK $< $(LDLIBS) -lrseq -o $@ 40 $(CC) $(CFLAGS) -DRSEQ_COMPARE_TWICE $< $(LDLIBS) -lrseq -o $@
|
/tools/bpf/ |
D | Makefile | 11 CFLAGS += -Wall -O2 12 CFLAGS += -D__EXPORTED_HEADERS__ -I$(srctree)/tools/include/uapi \ 57 CFLAGS += -DDISASM_FOUR_ARGS_SIGNATURE 67 $(QUIET_CC)$(CC) $(CFLAGS) -c -o $@ $< 70 $(QUIET_CC)$(CC) $(CFLAGS) -c -o $@ $< 72 $(QUIET_CC)$(CC) $(CFLAGS) -c -o $@ $< 78 $(OUTPUT)bpf_jit_disasm: CFLAGS += -DPACKAGE='bpf_jit_disasm' 80 $(QUIET_LINK)$(CC) $(CFLAGS) -o $@ $^ -lopcodes -lbfd -ldl 83 $(QUIET_LINK)$(CC) $(CFLAGS) -o $@ $^ -lreadline 86 $(QUIET_LINK)$(CC) $(CFLAGS) -o $@ $^
|
/tools/power/x86/x86_energy_perf_policy/ |
D | Makefile | 12 override CFLAGS += -O2 -Wall -I../../../include 13 override CFLAGS += -DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"' 14 override CFLAGS += -D_FORTIFY_SOURCE=2 18 $(CC) $(CFLAGS) $< -o $(BUILD_OUTPUT)/$@ $(LDFLAGS)
|
/tools/testing/selftests/powerpc/signal/ |
D | Makefile | 4 CFLAGS += -maltivec 5 $(OUTPUT)/signal_tm: CFLAGS += -mhtm 6 $(OUTPUT)/sigfuz: CFLAGS += -pthread -m64
|
/tools/testing/selftests/resctrl/ |
D | Makefile | 2 CFLAGS = -g -Wall -O2 -D_FORTIFY_SOURCE=2 macro 9 $(CC) $(CFLAGS) -c $(SRCS) 12 $(CC) $(CFLAGS) -o $@ $^
|
/tools/virtio/virtio-trace/ |
D | Makefile | 3 CFLAGS = -O2 -Wall -pthread macro 8 $(CC) $(CFLAGS) -c $^ -o $@ 11 $(CC) $(CFLAGS) -o $@ $^
|
/tools/lib/perf/tests/ |
D | Makefile | 10 CFLAGS := $(EXTRA_CFLAGS) macro 12 CFLAGS := -g -Wall macro 22 $(QUIET_LINK)$(CC) $(INCLUDE) $(CFLAGS) -o $@ $(subst -a,.c,$@) ../libperf.a $(LIBAPI) 25 $(QUIET_LINK)$(CC) $(INCLUDE) $(CFLAGS) -L.. -o $@ $(subst -so,.c,$@) $(LIBAPI) -lperf
|
/tools/testing/selftests/sync/ |
D | Makefile | 2 CFLAGS += -O2 -g -std=gnu89 -pthread -Wall -Wextra 3 CFLAGS += -I../../../../usr/include/ 30 $(CC) -o $(TEST_CUSTOM_PROGS) $(OBJS) $(TESTS) $(CFLAGS) $(LDFLAGS) 33 $(CC) -c $^ -o $@ $(CFLAGS)
|
/tools/bpf/bpftool/ |
D | Makefile | 40 CFLAGS += -O2 41 CFLAGS += -W -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers 42 CFLAGS += $(filter-out -Wswitch-enum -Wnested-externs,$(EXTRA_WARNINGS)) 43 CFLAGS += -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ \ 50 CFLAGS += -DBPFTOOL_VERSION='"$(BPFTOOL_VERSION)"' 52 CFLAGS += $(EXTRA_CFLAGS) 86 CFLAGS += -DDISASM_FOUR_ARGS_SIGNATURE 90 CFLAGS += -DCOMPAT_NEED_REALLOCARRAY 95 CFLAGS += -DUSE_LIBCAP 116 CFLAGS += -DHAVE_LIBBFD_SUPPORT [all …]
|
/tools/testing/selftests/ipc/ |
D | Makefile | 6 CFLAGS := -DCONFIG_X86_32 -D__i386__ macro 10 CFLAGS := -DCONFIG_X86_64 -D__x86_64__ macro 13 CFLAGS += -I../../../../usr/include/
|
/tools/lib/traceevent/plugins/ |
D | Makefile | 103 CFLAGS := $(EXTRA_CFLAGS) macro 105 CFLAGS := -g -Wall macro 109 override CFLAGS += -fPIC 110 override CFLAGS += $(CONFIG_FLAGS) $(INCLUDES) $(PLUGIN_DIR_SQ) 111 override CFLAGS += $(udis86-flags) -D_GNU_SOURCE 124 export srctree OUTPUT CC LD CFLAGS V 158 $(QUIET_LINK)$(CC) $(CFLAGS) -shared $(LDFLAGS) -nostartfiles -o $@ $^ 218 $(RM) TRACEEVENT-CFLAGS tags TAGS;
|
/tools/io_uring/ |
D | Makefile | 3 CFLAGS += -Wall -Wextra -g -D_GNU_SOURCE 8 $(CC) $(CFLAGS) -o $@ $^ 11 $(CC) $(CFLAGS) -o $@ $^ $(LDLIBS)
|
/tools/testing/selftests/powerpc/benchmarks/ |
D | Makefile | 7 CFLAGS += -O2 15 $(OUTPUT)/context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec 20 $(OUTPUT)/exec_target: CFLAGS += -static -nostartfiles
|
/tools/testing/selftests/arm64/mte/ |
D | Makefile | 4 CFLAGS += -std=gnu99 -I. -lpthread 9 CFLAGS += -march=armv8.5-a+memtag 12 mte_cc_support := $(shell if ($(CC) $(CFLAGS) -E -x c /dev/null -o /dev/null 2>&1) then echo "1"; f…
|