Searched refs:cflags (Results 1 - 25 of 75) sorted by relevance

123

/linux-master/scripts/
H A 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
[all...]
H A DMakefile.kmsan2 kmsan-cflags := -fsanitize=kernel-memory
5 kmsan-cflags += -fsanitize-memory-param-retval
8 export CFLAGS_KMSAN := $(kmsan-cflags)
H A 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)
H A 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)
H A 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 GCC_PLUGINS_CFLAGS := $(strip $(addprefix -fplugin=$(objtree)/scripts/gcc-plugins/, $(gcc-plugin-y)) $(gcc-plugin-cflags
[all...]
/linux-master/scripts/kconfig/
H A Dgconf-cfg.sh4 cflags=$1
32 ${HOSTPKG_CONFIG} --cflags ${PKG} > ${cflags}
H A 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}
H A 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}
H A Dqconf-cfg.sh4 cflags=$1
19 ${HOSTPKG_CONFIG} --cflags ${PKG6} > ${cflags}
21 echo -std=c++17 >> ${cflags}
28 ${HOSTPKG_CONFIG} --cflags ${PKG5} > ${cflags}
H A DMakefile180 HOSTCFLAGS_nconf.o = $(call read-file, $(obj)/nconf-cflags)
181 HOSTCFLAGS_nconf.gui.o = $(call read-file, $(obj)/nconf-cflags)
184 $(obj)/nconf.o $(obj)/nconf.gui.o: | $(obj)/nconf-cflags
194 $(eval HOSTCFLAGS_$f = $$(call read-file, $(obj)/mconf-cflags)))
197 $(addprefix $(obj)/, mconf.o $(lxdialog)): | $(obj)/mconf-cflags
205 HOSTCXXFLAGS_qconf.o = -std=c++11 -fPIC $(call read-file, $(obj)/qconf-cflags)
206 HOSTCXXFLAGS_qconf-moc.o = -std=c++11 -fPIC $(call read-file, $(obj)/qconf-cflags)
208 $(obj)/qconf.o $(obj)/qconf-moc.o: | $(obj)/qconf-cflags
223 HOSTCFLAGS_gconf.o = $(call read-file, $(obj)/gconf-cflags)
226 $(obj)/gconf.o: | $(obj)/gconf-cflags
[all...]
/linux-master/drivers/media/usb/siano/
H A DMakefile5 ccflags-y += $(extra-cflags-y) $(extra-cflags-m)
/linux-master/arch/arc/
H A 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
[all...]
/linux-master/tools/perf/util/
H A Dsetup.py61 cflags = getenv('CFLAGS', '').split() variable
62 # switch off several checks (need to be at the end of cflags list)
63 cflags += ['-fno-strict-aliasing', '-Wno-write-strings', '-Wno-unused-parameter', '-Wno-redundant-decls', '-DPYTHON_PERF' ]
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:
93 if '-DHAVE_LIBNUMA_SUPPORT' in cflags:
95 if '-DHAVE_LIBCAP_SUPPORT' in cflags:
102 extra_compile_args = cflags,
[all...]
/linux-master/arch/mips/
H A 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
[all...]
/linux-master/tools/usb/ffs-aio-example/multibuff/host_app/
H A DMakefile3 LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0)
/linux-master/tools/usb/ffs-aio-example/simple/host_app/
H A DMakefile3 LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0)
/linux-master/arch/alpha/
H A 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-master/arch/sh/
H A 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
[all...]
/linux-master/arch/s390/
H A DMakefile60 cflags-y += $(mflags-y)
62 cflags-$(CONFIG_MARCH_Z10_TUNE) += -mtune=z10
63 cflags-$(CONFIG_MARCH_Z196_TUNE) += -mtune=z196
64 cflags-$(CONFIG_MARCH_ZEC12_TUNE) += -mtune=zEC12
65 cflags-$(CONFIG_MARCH_Z13_TUNE) += -mtune=z13
66 cflags-$(CONFIG_MARCH_Z14_TUNE) += -mtune=z14
67 cflags-$(CONFIG_MARCH_Z15_TUNE) += -mtune=z15
68 cflags-$(CONFIG_MARCH_Z16_TUNE) += -mtune=z16
70 cflags-y += -Wa,-I$(srctree)/arch/$(ARCH)/include
75 cflags
[all...]
/linux-master/drivers/media/usb/au0828/
H A DMakefile17 ccflags-y += $(extra-cflags-y) $(extra-cflags-m)
/linux-master/arch/hexagon/
H A DMakefile22 cflags-y += $(call cc-option,-mv${CONFIG_HEXAGON_ARCH_VERSION})
26 KBUILD_CFLAGS += $(cflags-y)
/linux-master/arch/parisc/
H A 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
[all...]
/linux-master/drivers/firmware/efi/libstub/
H A 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 -DNO_ALTERNATIVE -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
[all...]
/linux-master/arch/x86/
H A DMakefile.um30 # First of all, tune CFLAGS for the specific CPU. This actually sets cflags-y.
34 cflags-y += $(call cc-option,-mpreferred-stack-boundary=2)
38 cflags-y += -ffreestanding
40 KBUILD_CFLAGS += $(cflags-y)
/linux-master/drivers/media/pci/cx23885/
H A DMakefile14 ccflags-y += $(extra-cflags-y) $(extra-cflags-m)

Completed in 176 milliseconds

123