Home
last modified time | relevance | path

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

12345

/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 …]
/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
/tools/lib/subcmd/
DMakefile22 CFLAGS := $(EXTRA_WARNINGS) $(EXTRA_CFLAGS) macro
23 CFLAGS += -ggdb3 -Wall -Wextra -std=gnu99 -fPIC
27 CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
32 CFLAGS += -O0
34 CFLAGS += -O3
36 CFLAGS += -O6
41 CFLAGS += -Werror
44 CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
46 CFLAGS += -I$(srctree)/tools/include/
52 export srctree OUTPUT CC LD CFLAGS V
/tools/testing/selftests/filesystems/incfs/
DMakefile2 CFLAGS += -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -lssl -lcrypto -llz4
3 CFLAGS += -I../../../../../usr/include/
4 CFLAGS += -I../../../../include/uapi/
5 CFLAGS += -I../../../../lib
8 CFLAGS += $(EXTRA_SOURCES)
/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)
/tools/testing/selftests/powerpc/tm/
DMakefile15 CFLAGS += -mhtm
18 $(OUTPUT)/tm-syscall: CFLAGS += -I../../../../../usr/include
19 $(OUTPUT)/tm-tmspr: CFLAGS += -pthread
20 $(OUTPUT)/tm-vmx-unavail: CFLAGS += -pthread -m64
22 $(OUTPUT)/tm-unavailable: CFLAGS += -O0 -pthread -m64 -Wno-error=uninitialized -mvsx
23 $(OUTPUT)/tm-trap: CFLAGS += -O0 -pthread -m64
24 $(OUTPUT)/tm-signal-context-force-tm: CFLAGS += -pthread -m64
28 $(SIGNAL_CONTEXT_CHK_TESTS): CFLAGS += -mhtm -m64 -mvsx
/tools/perf/
DMakefile.config19 CFLAGS := $(EXTRA_CFLAGS) $(EXTRA_WARNINGS)
32 CFLAGS += -I$(OUTPUT)arch/powerpc/include/generated
41 CFLAGS += -DHAVE_ARCH_X86_64_SUPPORT -I$(OUTPUT)arch/x86/include/generated
59 CFLAGS += -I$(OUTPUT)arch/arm64/include/generated
74 CFLAGS += -fPIC -I$(OUTPUT)arch/s390/include/generated
82 CFLAGS += -DHAVE_SYSCALL_TABLE_SUPPORT
139 CFLAGS += -DHAVE_PERF_REGS_SUPPORT
176 CFLAGS += -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET
191 CFLAGS += -Werror
201 CFLAGS += -O3
[all …]
/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/
11 fuse_mnt.o: CFLAGS += $(shell pkg-config fuse --cflags)
/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_FORTIFY_SOURCE=2
19 $(CC) $(CFLAGS) $< -o $(BUILD_OUTPUT)/$@ $(LDFLAGS)
/tools/testing/selftests/rseq/
DMakefile7 CFLAGS += -O2 -Wall -g -I./ -I../../../../usr/include/ -L./ -Wl,-rpath=./ \
25 $(CC) $(CFLAGS) -shared -fPIC $< $(LDLIBS) -o $@
28 $(CC) $(CFLAGS) $< $(LDLIBS) -lrseq -o $@
32 $(CC) $(CFLAGS) -DBENCHMARK $< $(LDLIBS) -lrseq -o $@
36 $(CC) $(CFLAGS) -DRSEQ_COMPARE_TWICE $< $(LDLIBS) -lrseq -o $@
/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)
/tools/testing/selftests/powerpc/signal/
DMakefile4 CFLAGS += -maltivec
5 $(OUTPUT)/signal_tm: CFLAGS += -mhtm
6 $(OUTPUT)/sigfuz: CFLAGS += -pthread -m64
/tools/perf/lib/tests/
DMakefile10 CFLAGS := $(EXTRA_CFLAGS) macro
12 CFLAGS := -g -Wall macro
22 $(QUIET_LINK)$(CC) $(INCLUDE) $(CFLAGS) -o $@ $(subst -a,.c,$@) ../libperf.a
25 $(QUIET_LINK)$(CC) $(INCLUDE) $(CFLAGS) -L.. -o $@ $(subst -so,.c,$@) -lperf
/tools/virtio/virtio-trace/
DMakefile3 CFLAGS = -O2 -Wall -pthread macro
8 $(CC) $(CFLAGS) -c $^ -o $@
11 $(CC) $(CFLAGS) -o $@ $^
/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)
/tools/testing/selftests/ipc/
DMakefile6 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/
DMakefile102 CFLAGS := $(EXTRA_CFLAGS) macro
104 CFLAGS := -g -Wall macro
108 override CFLAGS += -fPIC
109 override CFLAGS += $(CONFIG_FLAGS) $(INCLUDES) $(PLUGIN_DIR_SQ)
110 override CFLAGS += $(udis86-flags) -D_GNU_SOURCE
123 export srctree OUTPUT CC LD CFLAGS V
155 $(QUIET_LINK)$(CC) $(CFLAGS) -shared $(LDFLAGS) -nostartfiles -o $@ $^
215 $(RM) TRACEEVENT-CFLAGS tags TAGS;
/tools/testing/selftests/powerpc/benchmarks/
DMakefile5 CFLAGS += -O2
13 $(OUTPUT)/context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec
18 $(OUTPUT)/exec_target: CFLAGS += -static -nostartfiles
/tools/io_uring/
DMakefile3 CFLAGS += -Wall -Wextra -g -D_GNU_SOURCE
8 $(CC) $(CFLAGS) -o $@ $^
11 $(CC) $(CFLAGS) -o $@ $^ $(LDLIBS)
/tools/lib/bpf/
DMakefile96 CFLAGS := $(EXTRA_CFLAGS) macro
98 CFLAGS := -g -Wall macro
102 override CFLAGS += -DHAVE_LIBELF_MMAP_SUPPORT
106 override CFLAGS += -DCOMPAT_NEED_REALLOCARRAY
110 override CFLAGS += $(EXTRA_WARNINGS)
111 override CFLAGS += -Werror -Wall
112 override CFLAGS += -fPIC
113 override CFLAGS += $(INCLUDES)
114 override CFLAGS += -fvisibility=hidden
115 override CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
[all …]
/tools/thermal/tmon/
DMakefile9 override CFLAGS+= $(call cc-option,-O3,-O1) ${WARNFLAGS}
11 override CFLAGS+= $(call cc-option,-fstack-protector-strong)
15 override CFLAGS+=-D VERSION=\"$(VERSION)\"
/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 $@
/tools/bpf/bpftool/
DMakefile41 CFLAGS += -O2
42 CFLAGS += -W -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
43 CFLAGS += $(filter-out -Wswitch-enum,$(EXTRA_WARNINGS))
44 CFLAGS += -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ \
50 CFLAGS += -DBPFTOOL_VERSION='"$(BPFTOOL_VERSION)"'
52 CFLAGS += $(EXTRA_CFLAGS)
84 CFLAGS += -DDISASM_FOUR_ARGS_SIGNATURE
88 CFLAGS += -DCOMPAT_NEED_REALLOCARRAY
108 CFLAGS += -DHAVE_LIBBFD_SUPPORT
120 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
/tools/testing/selftests/exec/
DMakefile2 CFLAGS = -Wall macro
3 CFLAGS += -Wno-nonnull
4 CFLAGS += -D_GNU_SOURCE
/tools/testing/selftests/x86/
DMakefile36 CFLAGS := -O2 -g -std=gnu99 -pthread -Wall macro
40 CFLAGS += -no-pie
74 $(CC) -m32 -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl -lm
77 $(CC) -m64 -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl
105 $(OUTPUT)/check_initial_reg_state_32: CFLAGS += -Wl,-ereal_start -static
106 $(OUTPUT)/check_initial_reg_state_64: CFLAGS += -Wl,-ereal_start -static

12345