Lines Matching refs: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
103 cflags-y += -ffreestanding
105 cflags-$(CONFIG_CPU_BIG_ENDIAN) += -EB
106 cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += -EL
108 cflags-$(CONFIG_SB1XXX_CORELIS) += $(call cc-option,-mno-sched-prolog) \
123 cflags-y += -fno-stack-check
142 cflags-y += $(call cc-option,-Wa$(comma)-mno-fix-loongson3-llsc,)
147 cflags-$(CONFIG_CPU_R3000) += $(call cc-option,-march=r3000,-march=mips1)
148 cflags-$(CONFIG_CPU_R4300) += $(call cc-option,-march=r4300,-march=mips3) -Wa,--trap
149 cflags-$(CONFIG_CPU_R4X00) += $(call cc-option,-march=r4600,-march=mips3) -Wa,--trap
150 cflags-$(CONFIG_CPU_TX49XX) += $(call cc-option,-march=r4600,-march=mips3) -Wa,--trap
151 cflags-$(CONFIG_CPU_MIPS32_R1) += -march=mips32 -Wa,--trap
152 cflags-$(CONFIG_CPU_MIPS32_R2) += -march=mips32r2 -Wa,--trap
153 cflags-$(CONFIG_CPU_MIPS32_R5) += -march=mips32r5 -Wa,--trap -modd-spreg
154 cflags-$(CONFIG_CPU_MIPS32_R6) += -march=mips32r6 -Wa,--trap -modd-spreg
155 cflags-$(CONFIG_CPU_MIPS64_R1) += -march=mips64 -Wa,--trap
156 cflags-$(CONFIG_CPU_MIPS64_R2) += -march=mips64r2 -Wa,--trap
157 cflags-$(CONFIG_CPU_MIPS64_R5) += -march=mips64r5 -Wa,--trap
158 cflags-$(CONFIG_CPU_MIPS64_R6) += -march=mips64r6 -Wa,--trap
159 cflags-$(CONFIG_CPU_P5600) += $(call cc-option,-march=p5600,-march=mips32r5) \
161 cflags-$(CONFIG_CPU_R5000) += $(call cc-option,-march=r5000,-march=mips4) \
163 cflags-$(CONFIG_CPU_R5500) += $(call cc-option,-march=r5500,-march=mips4) \
165 cflags-$(CONFIG_CPU_NEVADA) += $(call cc-option,-march=rm5200,-march=mips4) \
167 cflags-$(CONFIG_CPU_RM7000) += $(call cc-option,-march=rm7000,-march=mips4) \
169 cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-march=sb1,-march=mips64) \
171 cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-mno-mdmx)
172 cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-mno-mips3d)
173 cflags-$(CONFIG_CPU_R10000) += $(call cc-option,-march=r10000,-march=mips4) \
175 cflags-$(CONFIG_CPU_CAVIUM_OCTEON) += -march=octeon -Wa,--trap
176 cflags-$(CONFIG_CAVIUM_CN63XXP1) += -Wa,-mfix-cn63xxp1
177 cflags-$(CONFIG_CPU_BMIPS) += -march=mips32 -Wa,--trap
179 cflags-$(CONFIG_CPU_LOONGSON2E) += \
181 cflags-$(CONFIG_CPU_LOONGSON2F) += \
185 cflags-$(CONFIG_CPU_LOONGSON2EF) += $(call cc-option,-mno-loongson-mmi)
186 cflags-$(CONFIG_CPU_LOONGSON64) += \
188 cflags-$(CONFIG_CPU_LOONGSON64) += $(call cc-option,-mno-loongson-mmi)
190 cflags-$(CONFIG_CPU_R4000_WORKAROUNDS) += $(call cc-option,-mfix-r4000,)
191 cflags-$(CONFIG_CPU_R4400_WORKAROUNDS) += $(call cc-option,-mfix-r4400,)
192 cflags-$(CONFIG_CPU_DADDI_WORKAROUNDS) += $(call cc-option,-mno-daddi,)
194 cflags-$(CONFIG_CPU_NOP_WORKAROUNDS) += -Wa,-mfix-loongson2f-nop
195 cflags-$(CONFIG_CPU_JUMP_WORKAROUNDS) += -Wa,-mfix-loongson2f-jump
218 cflags-$(CONFIG_CPU_LOONGSON64) += $(call as-option,-Wa$(comma)-mno-fix-loongson3-llsc,)
229 mips-cflags := $(cflags-y)
231 smartmips-ase := $(call cc-option-yn,$(mips-cflags) -msmartmips)
232 cflags-$(smartmips-ase) += -msmartmips -Wa,--no-warn
235 micromips-ase := $(call cc-option-yn,$(mips-cflags) -mmicromips)
236 cflags-$(micromips-ase) += -mmicromips
239 toolchain-msa := $(call cc-option-yn,$(mips-cflags) -mhard-float -mfp64 -Wa$(comma)-mmsa)
240 cflags-$(toolchain-msa) += -DTOOLCHAIN_SUPPORTS_MSA
242 toolchain-virt := $(call cc-option-yn,$(mips-cflags) -mvirt)
243 cflags-$(toolchain-virt) += -DTOOLCHAIN_SUPPORTS_VIRT
246 xpa-cflags-y := $(mips-cflags)
247 xpa-cflags-$(micromips-ase) += -mmicromips -Wa$(comma)-fatal-warnings
248 toolchain-xpa := $(call cc-option-yn,$(xpa-cflags-y) -mxpa)
249 cflags-$(toolchain-xpa) += -DTOOLCHAIN_SUPPORTS_XPA
250 toolchain-crc := $(call cc-option-yn,$(mips-cflags) -Wa$(comma)-mcrc)
251 cflags-$(toolchain-crc) += -DTOOLCHAIN_SUPPORTS_CRC
252 toolchain-dsp := $(call cc-option-yn,$(mips-cflags) -Wa$(comma)-mdsp)
253 cflags-$(toolchain-dsp) += -DTOOLCHAIN_SUPPORTS_DSP
254 toolchain-ginv := $(call cc-option-yn,$(mips-cflags) -Wa$(comma)-mginv)
255 cflags-$(toolchain-ginv) += -DTOOLCHAIN_SUPPORTS_GINV
284 cflags-y += -I$(srctree)/arch/mips/include/asm/mach-generic
301 cflags-$(KBUILD_SYM32) += -msym32 -DKBUILD_64BIT_SYM32
319 KBUILD_AFLAGS += $(cflags-y)
320 KBUILD_CFLAGS += $(cflags-y)