Home
last modified time | relevance | path

Searched refs:cflags (Results 1 – 25 of 108) sorted by relevance

12345

/linux-6.6.21/arch/mips/
DMakefile61 cflags-y += -mmcount-ra-address -DKBUILD_MCOUNT_RA_ADDRESS
65 cflags-y += $(call cc-option, -mno-check-zero-division)
72 cflags-y += -mabi=32
80 cflags-y += -mabi=64
97 cflags-y += -G 0 -mno-abicalls -fno-pic -pipe
98 cflags-y += -msoft-float -Wa,-msoft-float
107 cflags-y += -ffreestanding
109 cflags-$(CONFIG_CPU_BIG_ENDIAN) += -EB
110 cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += -EL
112 cflags-$(CONFIG_SB1XXX_CORELIS) += $(call cc-option,-mno-sched-prolog) \
[all …]
/linux-6.6.21/arch/x86/
DMakefile_32.cpu3 # Must change only cflags-y (or [yn]), not CFLAGS! That makes a difference for UML.
13 cflags-$(CONFIG_M486SX) += -march=i486
14 cflags-$(CONFIG_M486) += -march=i486
15 cflags-$(CONFIG_M586) += -march=i586
16 cflags-$(CONFIG_M586TSC) += -march=i586
17 cflags-$(CONFIG_M586MMX) += -march=pentium-mmx
18 cflags-$(CONFIG_M686) += -march=i686
19 cflags-$(CONFIG_MPENTIUMII) += -march=i686 $(call tune,pentium2)
20 cflags-$(CONFIG_MPENTIUMIII) += -march=i686 $(call tune,pentium3)
21 cflags-$(CONFIG_MPENTIUMM) += -march=i686 $(call tune,pentium3)
[all …]
DMakefile.um34 cflags-y += $(call cc-option,-mpreferred-stack-boundary=2)
38 cflags-y += -ffreestanding
40 KBUILD_CFLAGS += $(cflags-y)
/linux-6.6.21/scripts/
DMakefile.ubsan4 ubsan-cflags-$(CONFIG_UBSAN_ALIGNMENT) += -fsanitize=alignment
5 ubsan-cflags-$(CONFIG_UBSAN_BOUNDS_STRICT) += -fsanitize=bounds-strict
6 ubsan-cflags-$(CONFIG_UBSAN_ARRAY_BOUNDS) += -fsanitize=array-bounds
7 ubsan-cflags-$(CONFIG_UBSAN_LOCAL_BOUNDS) += -fsanitize=local-bounds
8 ubsan-cflags-$(CONFIG_UBSAN_SHIFT) += -fsanitize=shift
9 ubsan-cflags-$(CONFIG_UBSAN_DIV_ZERO) += -fsanitize=integer-divide-by-zero
10 ubsan-cflags-$(CONFIG_UBSAN_UNREACHABLE) += -fsanitize=unreachable
11 ubsan-cflags-$(CONFIG_UBSAN_BOOL) += -fsanitize=bool
12 ubsan-cflags-$(CONFIG_UBSAN_ENUM) += -fsanitize=enum
13 ubsan-cflags-$(CONFIG_UBSAN_TRAP) += -fsanitize-undefined-trap-on-error
[all …]
DMakefile.gcc-plugins4 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_LATENT_ENTROPY) \
12 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE) \
14 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF) \
16 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL) \
22 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK) \
26 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK) \
28 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK) \
30 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK) \
32 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK_VERBOSE) \
47 …trip $(addprefix -fplugin=$(objtree)/scripts/gcc-plugins/, $(gcc-plugin-y)) $(gcc-plugin-cflags-y))
DMakefile.randstruct3 randstruct-cflags-y += -DRANDSTRUCT
6 randstruct-cflags-y \
8 randstruct-cflags-$(CONFIG_RANDSTRUCT_PERFORMANCE) \
11 randstruct-cflags-y \
15 export RANDSTRUCT_CFLAGS := $(randstruct-cflags-y)
DMakefile.kcsan12 kcsan-cflags := -fsanitize=thread -fno-optimize-sibling-calls \
19 kcsan-cflags += -Wno-tsan
23 kcsan-cflags += $(call cc-option,$(call cc-param,tsan-instrument-func-entry-exit=0))
26 export CFLAGS_KCSAN := $(kcsan-cflags)
DMakefile.kmsan2 kmsan-cflags := -fsanitize=kernel-memory
5 kmsan-cflags += -fsanitize-memory-param-retval
8 export CFLAGS_KMSAN := $(kmsan-cflags)
/linux-6.6.21/arch/arc/
DMakefile12 cflags-y += -fno-common -pipe -fno-builtin -mmedium-calls -D__linux__
18 cflags-y += $(tune-mcpu-def-y)
22 cflags-y += $(tune-mcpu)
27 cflags-y += $(tune-mcpu-def-y)
38 cflags-y += -ffixed-gp
41 cflags-y += -fsection-anchors
43 cflags-$(CONFIG_ARC_HAS_LLSC) += -mlock
44 cflags-$(CONFIG_ARC_HAS_SWAPE) += -mswape
49 cflags-y += -munaligned-access
51 cflags-y += -mno-unaligned-access
[all …]
/linux-6.6.21/scripts/kconfig/
Dmconf-cfg.sh4 cflags=$1
12 ${HOSTPKG_CONFIG} --cflags ${PKG} > ${cflags}
18 ${HOSTPKG_CONFIG} --cflags ${PKG2} > ${cflags}
28 echo -D_GNU_SOURCE -I/usr/include/ncursesw > ${cflags}
34 echo -D_GNU_SOURCE -I/usr/include/ncurses > ${cflags}
42 echo -D_GNU_SOURCE > ${cflags}
Dnconf-cfg.sh4 cflags=$1
12 ${HOSTPKG_CONFIG} --cflags ${PKG} > ${cflags}
18 ${HOSTPKG_CONFIG} --cflags ${PKG2} > ${cflags}
28 echo -D_GNU_SOURCE -I/usr/include/ncursesw > ${cflags}
34 echo -D_GNU_SOURCE -I/usr/include/ncurses > ${cflags}
40 echo -D_GNU_SOURCE > ${cflags}
Dqconf-cfg.sh4 cflags=$1
19 ${HOSTPKG_CONFIG} --cflags ${PKG6} > ${cflags}
21 echo -std=c++17 >> ${cflags}
28 ${HOSTPKG_CONFIG} --cflags ${PKG5} > ${cflags}
DMakefile172 HOSTCFLAGS_nconf.o = $(call read-file, $(obj)/nconf-cflags)
173 HOSTCFLAGS_nconf.gui.o = $(call read-file, $(obj)/nconf-cflags)
176 $(obj)/nconf.o $(obj)/nconf.gui.o: | $(obj)/nconf-cflags
186 $(eval HOSTCFLAGS_$f = $$(call read-file, $(obj)/mconf-cflags)))
189 $(addprefix $(obj)/, mconf.o $(lxdialog)): | $(obj)/mconf-cflags
197 HOSTCXXFLAGS_qconf.o = -std=c++11 -fPIC $(call read-file, $(obj)/qconf-cflags)
198 HOSTCXXFLAGS_qconf-moc.o = -std=c++11 -fPIC $(call read-file, $(obj)/qconf-cflags)
200 $(obj)/qconf.o $(obj)/qconf-moc.o: | $(obj)/qconf-cflags
215 HOSTCFLAGS_gconf.o = $(call read-file, $(obj)/gconf-cflags)
218 $(obj)/gconf.o: | $(obj)/gconf-cflags
[all …]
Dgconf-cfg.sh4 cflags=$1
32 ${HOSTPKG_CONFIG} --cflags ${PKG} > ${cflags}
/linux-6.6.21/arch/sh/
DMakefile32 cflags-$(CONFIG_CPU_SH2) := $(call cc-option,-m2,)
33 cflags-$(CONFIG_CPU_J2) += $(call cc-option,-mj2,)
34 cflags-$(CONFIG_CPU_SH2A) += $(call cc-option,-m2a,) \
37 cflags-$(CONFIG_CPU_SH3) := $(call cc-option,-m3,)
38 cflags-$(CONFIG_CPU_SH4) := $(call cc-option,-m4,) \
40 cflags-$(CONFIG_CPU_SH4A) += $(call cc-option,-m4a,) \
42 cflags-$(CONFIG_CPU_SH4AL_DSP) += $(call cc-option,-m4al,)
44 ifeq ($(cflags-y),)
54 cflags-y += $(shell $(CC) $(KBUILD_CFLAGS) -print-multi-lib | \
73 cflags-$(CONFIG_CPU_BIG_ENDIAN) += -mb
[all …]
/linux-6.6.21/arch/s390/
DMakefile53 cflags-y += $(mflags-y)
55 cflags-$(CONFIG_MARCH_Z10_TUNE) += -mtune=z10
56 cflags-$(CONFIG_MARCH_Z196_TUNE) += -mtune=z196
57 cflags-$(CONFIG_MARCH_ZEC12_TUNE) += -mtune=zEC12
58 cflags-$(CONFIG_MARCH_Z13_TUNE) += -mtune=z13
59 cflags-$(CONFIG_MARCH_Z14_TUNE) += -mtune=z14
60 cflags-$(CONFIG_MARCH_Z15_TUNE) += -mtune=z15
61 cflags-$(CONFIG_MARCH_Z16_TUNE) += -mtune=z16
63 cflags-y += -Wa,-I$(srctree)/arch/$(ARCH)/include
68 cflags-$(CONFIG_FRAME_POINTER) += -fno-optimize-sibling-calls
[all …]
/linux-6.6.21/tools/perf/util/
Dsetup.py61 cflags = getenv('CFLAGS', '').split() variable
63 cflags += ['-fno-strict-aliasing', '-Wno-write-strings', '-Wno-unused-parameter', '-Wno-redundant-d…
65 cflags += ["-Wno-unused-command-line-argument" ]
67 cflags += ['-Wno-cast-function-type' ]
70 cflags += [ "-Wno-declaration-after-statement" ]
84 if '-DHAVE_LIBTRACEEVENT' in cflags:
92 if '-DHAVE_LIBNUMA_SUPPORT' in cflags:
94 if '-DHAVE_LIBCAP_SUPPORT' in cflags:
101 extra_compile_args = cflags,
/linux-6.6.21/arch/mips/ralink/
DPlatform4 cflags-$(CONFIG_RALINK) += -I$(srctree)/arch/mips/include/asm/mach-ralink
10 cflags-$(CONFIG_SOC_RT288X) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt288x
16 cflags-$(CONFIG_SOC_RT305X) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt305x
22 cflags-$(CONFIG_SOC_RT3883) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt3883
28 cflags-$(CONFIG_SOC_MT7620) += -I$(srctree)/arch/mips/include/asm/mach-ralink/mt7620
33 cflags-$(CONFIG_SOC_MT7621) += -I$(srctree)/arch/mips/include/asm/mach-ralink/mt7621
/linux-6.6.21/arch/parisc/
DMakefile80 cflags-y := -pipe
84 cflags-y += -mno-space-regs
88 cflags-y += -mfast-indirect-calls
94 cflags-y += -mdisable-fpregs
110 cflags-$(CONFIG_PA7000) += -march=1.1 -mschedule=7100
111 cflags-$(CONFIG_PA7200) += -march=1.1 -mschedule=7200
112 cflags-$(CONFIG_PA7100LC) += -march=1.1 -mschedule=7100LC
113 cflags-$(CONFIG_PA7300LC) += -march=1.1 -mschedule=7300
114 cflags-$(CONFIG_PA8X00) += -march=2.0 -mschedule=8000
116 KBUILD_CFLAGS += $(cflags-y)
/linux-6.6.21/drivers/firmware/efi/libstub/
DMakefile10 cflags-y := $(KBUILD_CFLAGS)
12 cflags-$(CONFIG_X86_32) := -march=i386
13 cflags-$(CONFIG_X86_64) := -mcmodel=small
14 cflags-$(CONFIG_X86) += -m$(BITS) -D__KERNEL__ \
25 cflags-$(CONFIG_ARM64) += -fpie $(DISABLE_STACKLEAK_PLUGIN) \
27 cflags-$(CONFIG_ARM) += -DEFI_HAVE_STRLEN -DEFI_HAVE_STRNLEN \
31 cflags-$(CONFIG_RISCV) += -fpic -mno-relax
32 cflags-$(CONFIG_LOONGARCH) += -fpie
34 cflags-$(CONFIG_EFI_PARAMS_FROM_FDT) += -I$(srctree)/scripts/dtc/libfdt
36 KBUILD_CFLAGS := $(subst $(CC_FLAGS_FTRACE),,$(cflags-y)) \
/linux-6.6.21/arch/loongarch/
DMakefile46 cflags-y += -mabi=lp64s
49 cflags-y += -pipe -msoft-float
69 cflags-y += $(call cc-option,-mexplicit-relocs)
74 cflags-y += $(call cc-option,-mno-explicit-relocs)
86 cflags-y += $(call cc-option, -mno-check-zero-division)
89 cflags-y += -fno-builtin-memcpy -fno-builtin-memmove -fno-builtin-memset
97 KBUILD_AFLAGS += $(cflags-y)
98 KBUILD_CFLAGS += $(cflags-y)
/linux-6.6.21/arch/alpha/
DMakefile15 cflags-y := -pipe -mno-fp-regs -ffixed-8
16 cflags-y += $(call cc-option, -fno-jump-tables)
31 cflags-y += $(cpuflags-y)
37 KBUILD_CFLAGS += $(cflags-y) -Wa,-mev6
/linux-6.6.21/arch/mips/lantiq/
DPlatform5 cflags-$(CONFIG_LANTIQ) += -I$(srctree)/arch/mips/include/asm/mach-lantiq
7 cflags-$(CONFIG_SOC_TYPE_XWAY) += -I$(srctree)/arch/mips/include/asm/mach-lantiq/xway
8 cflags-$(CONFIG_SOC_FALCON) += -I$(srctree)/arch/mips/include/asm/mach-lantiq/falcon
/linux-6.6.21/include/trace/events/
Dio_uring.h328 TP_PROTO(void *ctx, void *req, u64 user_data, int res, unsigned cflags,
331 TP_ARGS(ctx, req, user_data, res, cflags, extra1, extra2),
338 __field( unsigned, cflags )
348 __entry->cflags = cflags;
357 __entry->res, __entry->cflags,
573 TP_PROTO(void *ctx, unsigned long long user_data, s32 res, u32 cflags,
576 TP_ARGS(ctx, user_data, res, cflags, ocqe),
582 __field( u32, cflags )
590 __entry->cflags = cflags;
597 __entry->cflags, __entry->ocqe)
/linux-6.6.21/arch/mips/sibyte/
DPlatform8 cflags-$(CONFIG_SIBYTE_BCM112X) += \
12 cflags-$(CONFIG_SIBYTE_SB1250) += \
16 cflags-$(CONFIG_SIBYTE_BCM1x80) += \

12345