Lines Matching defs:cflags

61       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) \
127 cflags-y += -fno-stack-check
146 cflags-y += $(call cc-option,-Wa$(comma)-mno-fix-loongson3-llsc,)
151 cflags-$(CONFIG_CPU_R3000) += -march=r3000
152 cflags-$(CONFIG_CPU_R4300) += -march=r4300 -Wa,--trap
153 cflags-$(CONFIG_CPU_R4X00) += -march=r4600 -Wa,--trap
154 cflags-$(CONFIG_CPU_TX49XX) += -march=r4600 -Wa,--trap
155 cflags-$(CONFIG_CPU_MIPS32_R1) += -march=mips32 -Wa,--trap
156 cflags-$(CONFIG_CPU_MIPS32_R2) += -march=mips32r2 -Wa,--trap
157 cflags-$(CONFIG_CPU_MIPS32_R5) += -march=mips32r5 -Wa,--trap -modd-spreg
158 cflags-$(CONFIG_CPU_MIPS32_R6) += -march=mips32r6 -Wa,--trap -modd-spreg
159 cflags-$(CONFIG_CPU_MIPS64_R1) += -march=mips64 -Wa,--trap
160 cflags-$(CONFIG_CPU_MIPS64_R2) += -march=mips64r2 -Wa,--trap
161 cflags-$(CONFIG_CPU_MIPS64_R5) += -march=mips64r5 -Wa,--trap
162 cflags-$(CONFIG_CPU_MIPS64_R6) += -march=mips64r6 -Wa,--trap
163 cflags-$(CONFIG_CPU_P5600) += -march=p5600 -Wa,--trap -modd-spreg
164 cflags-$(CONFIG_CPU_R5000) += -march=r5000 -Wa,--trap
165 cflags-$(CONFIG_CPU_R5500) += $(call cc-option,-march=r5500,-march=r5000) \
167 cflags-$(CONFIG_CPU_NEVADA) += $(call cc-option,-march=rm5200,-march=r5000) \
169 cflags-$(CONFIG_CPU_RM7000) += $(call cc-option,-march=rm7000,-march=r5000) \
171 cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-march=sb1,-march=r5000) \
173 cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-mno-mdmx)
174 cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-mno-mips3d)
175 cflags-$(CONFIG_CPU_R10000) += $(call cc-option,-march=r10000,-march=r8000) \
177 cflags-$(CONFIG_CPU_CAVIUM_OCTEON) += $(call cc-option,-march=octeon) -Wa,--trap
178 ifeq (,$(findstring march=octeon, $(cflags-$(CONFIG_CPU_CAVIUM_OCTEON))))
179 cflags-$(CONFIG_CPU_CAVIUM_OCTEON) += -Wa,-march=octeon
181 cflags-$(CONFIG_CAVIUM_CN63XXP1) += -Wa,-mfix-cn63xxp1
182 cflags-$(CONFIG_CPU_BMIPS) += -march=mips32 -Wa,-mips32 -Wa,--trap
184 cflags-$(CONFIG_CPU_LOONGSON2E) += -march=loongson2e -Wa,--trap
185 cflags-$(CONFIG_CPU_LOONGSON2F) += -march=loongson2f -Wa,--trap
188 cflags-$(CONFIG_CPU_LOONGSON2EF) += $(call cc-option,-mno-loongson-mmi)
190 cflags-$(CONFIG_CPU_LOONGSON64) += -Wa,--trap
191 cflags-$(CONFIG_CC_IS_GCC) += -march=loongson3a
192 cflags-$(CONFIG_CC_IS_CLANG) += -march=mips64r2
194 cflags-$(CONFIG_CPU_LOONGSON64) += $(call cc-option,-mno-loongson-mmi)
196 cflags-$(CONFIG_CPU_R4000_WORKAROUNDS) += $(call cc-option,-mfix-r4000,)
197 cflags-$(CONFIG_CPU_R4400_WORKAROUNDS) += $(call cc-option,-mfix-r4400,)
198 cflags-$(CONFIG_CPU_DADDI_WORKAROUNDS) += $(call cc-option,-mno-daddi,)
200 cflags-$(CONFIG_CPU_NOP_WORKAROUNDS) += -Wa,-mfix-loongson2f-nop
201 cflags-$(CONFIG_CPU_JUMP_WORKAROUNDS) += -Wa,-mfix-loongson2f-jump
224 cflags-$(CONFIG_CPU_LOONGSON64) += $(call as-option,-Wa$(comma)-mno-fix-loongson3-llsc,)
235 mips-cflags := $(cflags-y)
237 smartmips-ase := $(call cc-option-yn,$(mips-cflags) -msmartmips)
238 cflags-$(smartmips-ase) += -msmartmips -Wa,--no-warn
241 micromips-ase := $(call cc-option-yn,$(mips-cflags) -mmicromips)
242 cflags-$(micromips-ase) += -mmicromips
245 toolchain-msa := $(call cc-option-yn,$(mips-cflags) -mhard-float -mfp64 -Wa$(comma)-mmsa)
246 cflags-$(toolchain-msa) += -DTOOLCHAIN_SUPPORTS_MSA
248 toolchain-virt := $(call cc-option-yn,$(mips-cflags) -mvirt)
249 cflags-$(toolchain-virt) += -DTOOLCHAIN_SUPPORTS_VIRT
252 xpa-cflags-y := $(mips-cflags)
253 xpa-cflags-$(micromips-ase) += -mmicromips -Wa$(comma)-fatal-warnings
254 toolchain-xpa := $(call cc-option-yn,$(xpa-cflags-y) -mxpa)
255 cflags-$(toolchain-xpa) += -DTOOLCHAIN_SUPPORTS_XPA
256 toolchain-crc := $(call cc-option-yn,$(mips-cflags) -Wa$(comma)-mcrc)
257 cflags-$(toolchain-crc) += -DTOOLCHAIN_SUPPORTS_CRC
258 toolchain-dsp := $(call cc-option-yn,$(mips-cflags) -Wa$(comma)-mdsp)
259 cflags-$(toolchain-dsp) += -DTOOLCHAIN_SUPPORTS_DSP
260 toolchain-ginv := $(call cc-option-yn,$(mips-cflags) -Wa$(comma)-mginv)
261 cflags-$(toolchain-ginv) += -DTOOLCHAIN_SUPPORTS_GINV
290 cflags-y += -I$(srctree)/arch/mips/include/asm/mach-generic
307 cflags-$(KBUILD_SYM32) += -msym32 -DKBUILD_64BIT_SYM32
325 KBUILD_AFLAGS += $(cflags-y)
326 KBUILD_CFLAGS += $(cflags-y)