Home
last modified time | relevance | path

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

1234567891011

/openbmc/linux/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-$(CONFIG_SB1XXX_CORELIS) += $(call cc-option,-mno-sched-prolog) \
[all …]
/openbmc/linux/arch/x86/
H A 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 …]
/openbmc/linux/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-$(CONFIG_UBSAN_TRAP) += -fsanitize-undefined-trap-on-error
[all …]
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 …trip $(addprefix -fplugin=$(objtree)/scripts/gcc-plugins/, $(gcc-plugin-y)) $(gcc-plugin-cflags-y))
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)
/openbmc/linux/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-y += -mno-unaligned-access
[all …]
/openbmc/linux/scripts/kconfig/
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 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 …]
/openbmc/qemu/accel/tcg/
H A Dcpu-exec.c159 uint32_t cflags = cpu->tcg_cflags; in curr_cflags() local
169 cflags |= CF_NO_GOTO_TB | CF_NO_GOTO_PTR | CF_SINGLE_STEP | 1; in curr_cflags()
171 cflags |= CF_NO_GOTO_TB | 1; in curr_cflags()
173 cflags |= CF_NO_GOTO_TB; in curr_cflags()
176 return cflags; in curr_cflags()
185 uint32_t cflags; member
197 tb_cflags(tb) == desc->cflags) { in tb_lookup_cmp()
227 uint32_t cflags) in tb_htable_lookup() argument
236 desc.cflags = cflags; in tb_htable_lookup()
243 h = tb_hash_func(phys_pc, (cflags & CF_PCREL ? 0 : pc), in tb_htable_lookup()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/iptraf/iptraf-ng/
H A Dncurses-config.patch11 - NCURSES_CFLAGS := $(shell ncurses5-config --cflags 2>/dev/null)
13 + NCURSES_CFLAGS := $(shell pkg-config ncurses --cflags 2>/dev/null)
22 - NCURSES_CFLAGS := $(shell ncursesw5-config --cflags 2>/dev/null)
24 + NCURSES_CFLAGS := $(shell p[k-config ncursesw --cflags 2>/dev/null)
33 - NCURSES_CFLAGS := $(shell ncurses6-config --cflags 2>/dev/null)
35 + NCURSES_CFLAGS := $(shell pkg-config ncurses6 --cflags 2>/dev/null)
44 - NCURSES_CFLAGS := $(shell ncursesw6-config --cflags 2>/dev/null)
46 + NCURSES_CFLAGS := $(shell pkg-config ncursesw --cflags 2>/dev/null)
56 - NCURSES_CFLAGS := $(shell ncursesw6-config --cflags 2>/dev/null)
59 + NCURSES_CFLAGS := $(shell pkg-config ncursesw --cflags 2>/dev/null)
[all …]
/openbmc/linux/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-$(CONFIG_CPU_BIG_ENDIAN) += -mb
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/
H A D12_makefile_config.patch73 - @set +e; echo $(CFLAGS) >/tmp/cflags.$$$$ ; \
74 - if cmp cflags /tmp/cflags.$$$$ ; \
75 - then rm /tmp/cflags.$$$$ ; \
76 - else mv /tmp/cflags.$$$$ cflags ; \
77 + @set +e; echo $(CFLAGS) >cflags.new ; \
78 + if cmp cflags cflags.new ; \
79 + then rm cflags.new ; \
80 + else mv cflags.new cflags ; \
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/optee/optee-os/
H A D0002-link.mk-use-CFLAGS-with-version.o.patch25 -version-o-cflags = $(filter-out -g3,$(core-platform-cflags) \
26 +version-o-cflags = $(filter-out -g3,$(CFLAGS) $(core-platform-cflags) \
27 $(platform-cflags) $(cflagscore))
38 -version-o-cflags = $(filter-out -g3,$(core-platform-cflags) \
39 +version-o-cflags = $(filter-out -g3,$(CFLAGS) $(core-platform-cflags) \
40 $(platform-cflags) $(cflagscore))
H A D0001-compile.mk-use-CFLAGS-from-environment.patch32 comp-flags-$2 = $$(filter-out $$(CFLAGS_REMOVE) $$(cflags-remove) \
33 $$(cflags-remove-$$(comp-sm-$2)) \
34 $$(cflags-remove-$2), \
38 $$(comp-cflags$$(comp-sm-$2)) $$(cflags$$(comp-sm-$2)) \
39 $$(cflags-lib$$(comp-lib-$2)) $$(cflags-$2))
/openbmc/linux/tools/perf/util/
H A 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-mismatch" ]
69 cflags += ['-Wno-cast-function-type' ]
72 cflags += [ "-Wno-declaration-after-statement" ]
86 if '-DHAVE_LIBTRACEEVENT' in cflags:
94 if '-DHAVE_LIBNUMA_SUPPORT' in cflags:
96 if '-DHAVE_LIBCAP_SUPPORT' in cflags:
103 extra_compile_args = cflags,
/openbmc/linux/arch/s390/
H A 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 …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs/
H A D0004-v8-don-t-override-ARM-CFLAGS.patch42 - 'cflags': ['-march=armv7-a',],
47 - 'cflags': ['-mfpu=<(arm_fpu)',],
52 - 'cflags': ['-mfloat-abi=<(arm_float_abi)',],
55 - 'cflags': ['-mthumb',],
58 - 'cflags': ['-marm',],
75 - 'cflags': ['-march=armv7-a',],
80 - 'cflags': ['-mfpu=<(arm_fpu)',],
85 - 'cflags': ['-mfloat-abi=<(arm_float_abi)',],
88 - 'cflags': ['-mthumb',],
91 - 'cflags': ['-marm',],
/openbmc/linux/arch/mips/ralink/
H A 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
/openbmc/linux/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-y)
/openbmc/linux/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__ -std=gnu11 \
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)) \
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/surf/surf/
H A D0001-config.ml-make-compatible-with-webkitgtk-2.34.0.patch27 -X11INC = `pkg-config --cflags x11`
29 +X11INC = $(shell $(PKG_CONFIG) --cflags x11)
32 -GTKINC = `pkg-config --cflags gtk+-3.0 gcr-3 webkit2gtk-4.0`
34 -WEBEXTINC = `pkg-config --cflags webkit2gtk-4.0 webkit2gtk-web-extension-4.0 gio-2.0`
36 +GTKINC = $(shell $(PKG_CONFIG) --cflags gtk+-3.0 gcr-3 webkit2gtk-4.1)
38 +WEBEXTINC = $(shell $(PKG_CONFIG) --cflags webkit2gtk-4.1 webkit2gtk-web-extension-4.1 gio-2.0)
/openbmc/u-boot/scripts/dtc/pylibfdt/
H A Dsetup.py90 cflags = ['-I%s' % basedir, '-I%s/libfdt' % basedir]
92 return swig_opts, version, files, cflags, objdir
97 cflags = os.environ.get('CPPFLAGS', '').split() variable
105 if not all((swig_opts, version, files, cflags, objdir)):
106 swig_opts, version, files, cflags, objdir = GetEnvFromMakefiles() variable
111 extra_compile_args = cflags,
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/openhpi/files/
H A Dopenhpi-glib-cross-compile.patch18 -GLIB_CFLAGS=`pkg-config --cflags $GLIB $GTHREAD`
20 -GLIB_ONLY_CFLAGS=`pkg-config --cflags $GLIB`
22 -GMODULE_ONLY_CFLAGS=`pkg-config --cflags $GMODULE`
25 +GLIB_CFLAGS=`PKG_CONFIG_PATH=$PKG_CONFIG_PATH pkg-config --cflags $GLIB $GTHREAD`
27 +GLIB_ONLY_CFLAGS=`PKG_CONFIG_PATH=$PKG_CONFIG_PATH pkg-config --cflags $GLIB`
29 +GMODULE_ONLY_CFLAGS=`PKG_CONFIG_PATH=$PKG_CONFIG_PATH pkg-config --cflags $GMODULE`

1234567891011