Home
last modified time | relevance | path

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

123456789

/linux-6.6.21/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
25 $(CC) $(CPPFLAGS) $(CFLAGS) \
31 $(CC) $(CPPFLAGS) $(CFLAGS) \
38 $(CC) $(CPPFLAGS) $(CFLAGS) \
44 $(CC) $(CPPFLAGS) $(CFLAGS) \
[all …]
/linux-6.6.21/tools/testing/selftests/powerpc/tm/
DMakefile17 CFLAGS += -mhtm
20 $(OUTPUT)/tm-syscall: CFLAGS += $(KHDR_INCLUDES)
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-6.6.21/tools/testing/selftests/powerpc/mm/
DMakefile21 $(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
31 $(OUTPUT)/stack_expansion_ldst: CFLAGS += -fno-stack-protector
/linux-6.6.21/tools/perf/
DMakefile.config19 CFLAGS := $(EXTRA_CFLAGS) $(filter-out -Wnested-externs,$(EXTRA_WARNINGS))
24 CFLAGS += -Wthread-safety
47 CFLAGS += -DHAVE_SYSCALL_TABLE_SUPPORT
54 CFLAGS += -I$(OUTPUT)arch/powerpc/include/generated
62 CFLAGS += -DHAVE_ARCH_X86_64_SUPPORT -I$(OUTPUT)arch/x86/include/generated
79 CFLAGS += -I$(OUTPUT)arch/arm64/include/generated
85 CFLAGS += -I$(OUTPUT)arch/loongarch/include/generated
99 CFLAGS += -fPIC -I$(OUTPUT)arch/s390/include/generated
104 CFLAGS += -I$(OUTPUT)arch/mips/include/generated
169 CFLAGS += -DHAVE_PERF_REGS_SUPPORT
[all …]
/linux-6.6.21/tools/testing/selftests/rseq/
DMakefile9 CFLAGS += -O2 -Wall -g -I./ $(KHDR_INCLUDES) -L$(OUTPUT) -Wl,-rpath=./ \
30 $(CC) $(CFLAGS) -shared -fPIC $< $(LDLIBS) -o $@
33 $(CC) $(CFLAGS) $< $(LDLIBS) -lrseq -o $@
36 $(CC) $(CFLAGS) -DBUILDOPT_RSEQ_PERCPU_MM_CID $< $(LDLIBS) -lrseq -o $@
40 $(CC) $(CFLAGS) -DBENCHMARK $< $(LDLIBS) -lrseq -o $@
44 $(CC) $(CFLAGS) -DRSEQ_COMPARE_TWICE $< $(LDLIBS) -lrseq -o $@
48 $(CC) $(CFLAGS) -DBUILDOPT_RSEQ_PERCPU_MM_CID $< $(LDLIBS) -lrseq -o $@
52 $(CC) $(CFLAGS) -DBUILDOPT_RSEQ_PERCPU_MM_CID -DBENCHMARK $< $(LDLIBS) -lrseq -o $@
56 $(CC) $(CFLAGS) -DBUILDOPT_RSEQ_PERCPU_MM_CID -DRSEQ_COMPARE_TWICE $< $(LDLIBS) -lrseq -o $@
/linux-6.6.21/lib/raid6/test/
DMakefile12 CFLAGS = -I.. -I ../../../include -g $(OPTFLAGS) macro
21 CFLAGS += -DCONFIG_X86_32
25 CFLAGS += -DCONFIG_X86_64
30 CFLAGS += -I../../../arch/arm/include -mfpu=neon
34 CFLAGS += -I../../../arch/arm64/include
39 CFLAGS += -I../../../arch/powerpc/include
45 CFLAGS += -I../../../arch/loongarch/include -DCONFIG_LOONGARCH=1
46 CFLAGS += $(shell echo 'vld $$vr0, $$zero, 0' | \
49 CFLAGS += $(shell echo 'xvld $$xr0, $$zero, 0' | \
56 CFLAGS += -DCONFIG_X86
[all …]
/linux-6.6.21/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-6.6.21/tools/power/x86/turbostat/
DMakefile12 override CFLAGS += -O2 -Wall -Wextra -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-6.6.21/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-6.6.21/tools/bpf/
DMakefile11 CFLAGS += -Wall -O2
12 CFLAGS += -D__EXPORTED_HEADERS__ -I$(srctree)/tools/include/uapi \
57 CFLAGS += -DDISASM_FOUR_ARGS_SIGNATURE
60 CFLAGS += -DDISASM_INIT_STYLED
70 $(QUIET_CC)$(CC) $(CFLAGS) -c -o $@ $<
73 $(QUIET_CC)$(CC) $(CFLAGS) -c -o $@ $<
75 $(QUIET_CC)$(CC) $(CFLAGS) -c -o $@ $<
81 $(OUTPUT)bpf_jit_disasm: CFLAGS += -DPACKAGE='bpf_jit_disasm'
83 $(QUIET_LINK)$(CC) $(CFLAGS) -o $@ $^ -lopcodes -lbfd -ldl
86 $(QUIET_LINK)$(CC) $(CFLAGS) -o $@ $^ -lreadline
[all …]
/linux-6.6.21/tools/testing/selftests/exec/
DMakefile2 CFLAGS = -Wall macro
3 CFLAGS += -Wno-nonnull
4 CFLAGS += -D_GNU_SOURCE
32 $(CC) $(CFLAGS) $(LDFLAGS) -Wl,-z,max-page-size=0x1000 -pie -static $< -o $@
34 $(CC) $(CFLAGS) $(LDFLAGS) -Wl,-z,max-page-size=0x200000 -pie -static $< -o $@
36 $(CC) $(CFLAGS) $(LDFLAGS) -Wl,-z,max-page-size=0x1000000 -pie -static $< -o $@
/linux-6.6.21/tools/lib/thermal/
DMakefile57 CFLAGS := $(EXTRA_CFLAGS) macro
59 CFLAGS := -g -Wall macro
72 override CFLAGS += $(EXTRA_WARNINGS)
73 override CFLAGS += -Werror -Wall
74 override CFLAGS += -fPIC
75 override CFLAGS += $(INCLUDES)
76 override CFLAGS += -fvisibility=hidden
82 export srctree OUTPUT CC LD CFLAGS V
124 … *.a *.so *.so.$(VERSION) *.so.$(LIBTHERMAL_VERSION) .*.d .*.cmd LIBTHERMAL-CFLAGS $(LIBTHERMAL_PC)
/linux-6.6.21/tools/bpf/bpftool/
DMakefile73 CFLAGS += -O2
74 CFLAGS += -W -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
75 CFLAGS += $(filter-out -Wswitch-enum -Wnested-externs,$(EXTRA_WARNINGS))
76 CFLAGS += -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ \
83 CFLAGS += -DBPFTOOL_VERSION='"$(BPFTOOL_VERSION)"'
86 CFLAGS += $(EXTRA_CFLAGS)
132 CFLAGS += -DUSE_LIBCAP
144 CFLAGS += -DHAVE_LLVM_SUPPORT
146 CFLAGS += $(shell $(LLVM_CONFIG) --cflags --libs $(LLVM_CONFIG_LIB_COMPONENTS))
165 CFLAGS += -DHAVE_LIBBFD_SUPPORT
[all …]
/linux-6.6.21/tools/thermal/lib/
DMakefile57 CFLAGS := $(EXTRA_CFLAGS) macro
59 CFLAGS := -g -Wall macro
72 override CFLAGS += $(EXTRA_WARNINGS)
73 override CFLAGS += -Werror -Wall
74 override CFLAGS += -fPIC
75 override CFLAGS += $(INCLUDES)
81 export srctree OUTPUT CC LD CFLAGS V
116 …$(VERSION) *.so.$(LIBTHERMAL_TOOLS_VERSION) .*.d .*.cmd LIBTHERMAL_TOOLS-CFLAGS $(LIBTHERMAL_TOOLS…
/linux-6.6.21/tools/lib/bpf/
DMakefile81 CFLAGS := $(EXTRA_CFLAGS) macro
83 CFLAGS := -g -O2 macro
87 override CFLAGS += -std=gnu89
88 override CFLAGS += $(EXTRA_WARNINGS) -Wno-switch-enum
89 override CFLAGS += -Werror -Wall
90 override CFLAGS += $(INCLUDES)
91 override CFLAGS += -fvisibility=hidden
92 override CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
93 override CFLAGS += $(CLANG_CROSS_FLAGS)
111 export srctree OUTPUT CC LD CFLAGS V
[all …]
/linux-6.6.21/tools/testing/selftests/arm64/
DMakefile12 CFLAGS := -Wall -O2 -g macro
18 CFLAGS += -I$(top_srcdir)/tools/testing/selftests/
20 CFLAGS += $(KHDR_INCLUDES)
22 CFLAGS += -I$(top_srcdir)/tools/include
24 export CFLAGS
/linux-6.6.21/tools/thermal/thermal-engine/
DMakefile11 CFLAGS = -Wall -Wextra macro
12 CFLAGS += -I$(srctree)/tools/thermal/lib
13 CFLAGS += -I$(srctree)/tools/lib/thermal/include
26 $(CC) $(CFLAGS) -D VERSION=\"$(VERSION)\" -o $@ $^ $(LDFLAGS)
/linux-6.6.21/tools/testing/selftests/alsa/
DMakefile4 CFLAGS += $(shell pkg-config --cflags alsa)
9 CFLAGS += -L$(OUTPUT) -Wl,-rpath=./
24 $(CC) $(CFLAGS) -shared -fPIC $< $(LDLIBS) -o $@
27 $(CC) $(CFLAGS) $< $(LDLIBS) -latest -o $@
/linux-6.6.21/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-6.6.21/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-6.6.21/tools/testing/selftests/x86/
DMakefile37 CFLAGS := -O2 -g -std=gnu99 -pthread -Wall $(KHDR_INCLUDES) macro
41 CFLAGS += -no-pie
75 $(CC) -m32 -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl -lm
78 $(CC) -m64 -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl
110 $(OUTPUT)/check_initial_reg_state_32: CFLAGS += -Wl,-ereal_start -static
111 $(OUTPUT)/check_initial_reg_state_64: CFLAGS += -Wl,-ereal_start -static
/linux-6.6.21/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-6.6.21/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-6.6.21/tools/testing/selftests/sync/
DMakefile2 CFLAGS += -O2 -g -std=gnu89 -pthread -Wall -Wextra
3 CFLAGS += $(KHDR_INCLUDES)
30 $(CC) -o $(TEST_CUSTOM_PROGS) $(OBJS) $(TESTS) $(CFLAGS) $(LDFLAGS)
33 $(CC) -c $^ -o $@ $(CFLAGS)
/linux-6.6.21/tools/testing/selftests/riscv/
DMakefile13 CFLAGS := -Wall -O2 -g macro
19 CFLAGS += -I$(top_srcdir)/tools/testing/selftests/
21 CFLAGS += $(KHDR_INCLUDES)
23 export CFLAGS

123456789