Home
last modified time | relevance | path

Searched refs:CFLAGS (Results 1 – 25 of 169) sorted by relevance

1234567

/Linux-v5.15/tools/testing/selftests/powerpc/copyloops/
DMakefile3 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 …]
/Linux-v5.15/tools/lib/api/
DMakefile20 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
/Linux-v5.15/tools/lib/subcmd/
DMakefile22 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
/Linux-v5.15/tools/testing/selftests/powerpc/tm/
DMakefile17 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
/Linux-v5.15/tools/perf/
DMakefile.config19 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
92 CFLAGS += -I$(OUTPUT)arch/mips/include/generated
154 CFLAGS += -DHAVE_PERF_REGS_SUPPORT
191 CFLAGS += -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET
231 CFLAGS += -DPARSER_DEBUG
[all …]
/Linux-v5.15/tools/testing/selftests/powerpc/stringloops/
DMakefile3 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)
/Linux-v5.15/tools/power/x86/turbostat/
DMakefile12 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
/Linux-v5.15/tools/testing/selftests/arm64/pauth/
DMakefile9 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
/Linux-v5.15/tools/testing/selftests/powerpc/mm/
DMakefile20 $(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
28 $(OUTPUT)/stack_expansion_ldst: CFLAGS += -fno-stack-protector
/Linux-v5.15/tools/bpf/bpftool/
DMakefile58 CFLAGS += -O2
59 CFLAGS += -W -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
60 CFLAGS += $(filter-out -Wswitch-enum -Wnested-externs,$(EXTRA_WARNINGS))
61 CFLAGS += -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ \
68 CFLAGS += -DBPFTOOL_VERSION='"$(BPFTOOL_VERSION)"'
70 CFLAGS += $(EXTRA_CFLAGS)
102 CFLAGS += -DDISASM_FOUR_ARGS_SIGNATURE
106 CFLAGS += -DCOMPAT_NEED_REALLOCARRAY
112 CFLAGS += -DUSE_LIBCAP
133 CFLAGS += -DHAVE_LIBBFD_SUPPORT
[all …]
/Linux-v5.15/lib/raid6/test/
DMakefile9 CFLAGS = -I.. -I ../../../include -g $(OPTFLAGS) macro
18 CFLAGS += -DCONFIG_X86_32
22 CFLAGS += -DCONFIG_X86_64
27 CFLAGS += -I../../../arch/arm/include -mfpu=neon
31 CFLAGS += -I../../../arch/arm64/include
37 CFLAGS += -DCONFIG_X86
38 CFLAGS += $(shell echo "vpmovm2b %k1, %zmm5" | \
43 CFLAGS += -DCONFIG_KERNEL_MODE_NEON=1
48 CFLAGS += -I../../../arch/powerpc/include
49 CFLAGS += -DCONFIG_ALTIVEC
[all …]
/Linux-v5.15/tools/bpf/
DMakefile11 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 $@ $^
/Linux-v5.15/tools/testing/selftests/exec/
DMakefile2 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 $@
/Linux-v5.15/tools/testing/selftests/memfd/
DMakefile2 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)
/Linux-v5.15/tools/testing/selftests/rseq/
DMakefile7 CFLAGS += -O2 -Wall -g -I./ -I../../../../usr/include/ -L$(OUTPUT) -Wl,-rpath=./ \
27 $(CC) $(CFLAGS) -shared -fPIC $< $(LDLIBS) -o $@
30 $(CC) $(CFLAGS) $< $(LDLIBS) -lrseq -o $@
34 $(CC) $(CFLAGS) -DBENCHMARK $< $(LDLIBS) -lrseq -o $@
38 $(CC) $(CFLAGS) -DRSEQ_COMPARE_TWICE $< $(LDLIBS) -lrseq -o $@
/Linux-v5.15/tools/lib/traceevent/plugins/
DMakefile103 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;
/Linux-v5.15/arch/powerpc/
DMakefile144 CFLAGS-$(CONFIG_PPC64) := $(call cc-option,-mtraceback=no)
147 CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mabi=elfv2,$(call cc-option,-mcall-aixdesc))
150 CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mabi=elfv1)
151 CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mcall-aixdesc)
155 CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mcmodel=medium,$(call cc-option,-mminimal-toc))
156 CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mno-pointers-to-nested-functions)
160 CFLAGS-$(CONFIG_PPC32) := $(call cc-option, -ffixed-r2)
164 CFLAGS-$(CONFIG_PPC32) += $(call cc-option, $(MULTIPLEWORD))
166 CFLAGS-$(CONFIG_PPC32) += $(call cc-option,-mno-readonly-in-sdata)
170 CFLAGS-$(CONFIG_GENERIC_CPU) += -mcpu=power8
[all …]
/Linux-v5.15/tools/lib/perf/
DMakefile59 CFLAGS := $(EXTRA_CFLAGS) macro
61 CFLAGS := -g -Wall macro
73 override CFLAGS += $(EXTRA_WARNINGS)
74 override CFLAGS += -Werror -Wall
75 override CFLAGS += -fPIC
76 override CFLAGS += $(INCLUDES)
77 override CFLAGS += -fvisibility=hidden
81 export srctree OUTPUT CC LD CFLAGS V
141 …a *.so *.so.$(VERSION) *.so.$(LIBPERF_VERSION) .*.d .*.cmd tests/*.o LIBPERF-CFLAGS $(LIBPERF_PC) \
/Linux-v5.15/tools/power/x86/x86_energy_perf_policy/
DMakefile12 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)
/Linux-v5.15/tools/testing/selftests/wireguard/qemu/
DMakefile57 export CFLAGS ?= -O3 -pipe macro
63 CFLAGS += -march=native
79 CFLAGS += -march=armv8-a -mtune=cortex-a53
89 CFLAGS += -march=armv8-a -mtune=cortex-a53
99 CFLAGS += -march=armv7-a -mtune=cortex-a15 -mabi=aapcs-linux
109 CFLAGS += -march=armv7-a -mabi=aapcs-linux # We don't pass -mtune=cortex-a15 due to a compiler bug …
120 CFLAGS += -march=skylake-avx512
130 CFLAGS += -march=prescott
138 CFLAGS += -EB
141 CFLAGS += -march=mips64r2 -EB
[all …]
/Linux-v5.15/tools/gpio/
DMakefile19 override CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include
26 export srctree OUTPUT CC LD CFLAGS
49 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
58 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
67 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
76 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
/Linux-v5.15/tools/testing/selftests/x86/
DMakefile37 CFLAGS := -O2 -g -std=gnu99 -pthread -Wall macro
41 CFLAGS += -no-pie
75 $(CC) -m32 -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl -lm
78 $(CC) -m64 -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl
106 $(OUTPUT)/check_initial_reg_state_32: CFLAGS += -Wl,-ereal_start -static
107 $(OUTPUT)/check_initial_reg_state_64: CFLAGS += -Wl,-ereal_start -static
/Linux-v5.15/tools/hv/
DMakefile18 override CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include
27 export srctree OUTPUT CC LD CFLAGS
34 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
40 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
46 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
/Linux-v5.15/tools/testing/selftests/sync/
DMakefile2 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)
/Linux-v5.15/tools/lib/bpf/
DMakefile79 CFLAGS := $(EXTRA_CFLAGS) macro
81 CFLAGS := -g -O2 macro
85 override CFLAGS += $(EXTRA_WARNINGS) -Wno-switch-enum
86 override CFLAGS += -Werror -Wall
87 override CFLAGS += $(INCLUDES)
88 override CFLAGS += -fvisibility=hidden
89 override CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
107 export srctree OUTPUT CC LD CFLAGS V
155 $(Q)$(MAKE) $(build)=libbpf OUTPUT=$(SHARED_OBJDIR) CFLAGS="$(CFLAGS) $(SHLIB_FLAGS)"
243 *~ .*.d .*.cmd LIBBPF-CFLAGS $(BPF_HELPER_DEFS) \

1234567