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
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) += $(call cc-option,-march=r3000,-march=mips1)
152 cflags-$(CONFIG_CPU_R4300) += $(call cc-option,-march=r4300,-march=mips3) -Wa,--trap
153 cflags-$(CONFIG_CPU_R4X00) += $(call cc-option,-march=r4600,-march=mips3) -Wa,--trap
154 cflags-$(CONFIG_CPU_TX49XX) += $(call cc-option,-march=r4600,-march=mips3) -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) += $(call cc-option,-march=p5600,-march=mips32r5) \
165 cflags-$(CONFIG_CPU_R5000) += $(call cc-option,-march=r5000,-march=mips4) \
167 cflags-$(CONFIG_CPU_R5500) += $(call cc-option,-march=r5500,-march=mips4) \
169 cflags-$(CONFIG_CPU_NEVADA) += $(call cc-option,-march=rm5200,-march=mips4) \
171 cflags-$(CONFIG_CPU_RM7000) += $(call cc-option,-march=rm7000,-march=mips4) \
173 cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-march=sb1,-march=mips64r1) \
175 cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-mno-mdmx)
176 cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-mno-mips3d)
177 cflags-$(CONFIG_CPU_R10000) += $(call cc-option,-march=r10000,-march=mips4) \
179 cflags-$(CONFIG_CPU_CAVIUM_OCTEON) += -march=octeon -Wa,--trap
180 cflags-$(CONFIG_CAVIUM_CN63XXP1) += -Wa,-mfix-cn63xxp1
181 cflags-$(CONFIG_CPU_BMIPS) += -march=mips32 -Wa,--trap
183 cflags-$(CONFIG_CPU_LOONGSON2E) += \
185 cflags-$(CONFIG_CPU_LOONGSON2F) += \
189 cflags-$(CONFIG_CPU_LOONGSON2EF) += $(call cc-option,-mno-loongson-mmi)
190 cflags-$(CONFIG_CPU_LOONGSON64) += \
192 cflags-$(CONFIG_CPU_LOONGSON64) += $(call cc-option,-mno-loongson-mmi)
194 cflags-$(CONFIG_CPU_R4000_WORKAROUNDS) += $(call cc-option,-mfix-r4000,)
195 cflags-$(CONFIG_CPU_R4400_WORKAROUNDS) += $(call cc-option,-mfix-r4400,)
196 cflags-$(CONFIG_CPU_DADDI_WORKAROUNDS) += $(call cc-option,-mno-daddi,)
198 cflags-$(CONFIG_CPU_NOP_WORKAROUNDS) += -Wa,-mfix-loongson2f-nop
199 cflags-$(CONFIG_CPU_JUMP_WORKAROUNDS) += -Wa,-mfix-loongson2f-jump
222 cflags-$(CONFIG_CPU_LOONGSON64) += $(call as-option,-Wa$(comma)-mno-fix-loongson3-llsc,)
233 mips-cflags := $(cflags-y)
235 smartmips-ase := $(call cc-option-yn,$(mips-cflags) -msmartmips)
236 cflags-$(smartmips-ase) += -msmartmips -Wa,--no-warn
239 micromips-ase := $(call cc-option-yn,$(mips-cflags) -mmicromips)
240 cflags-$(micromips-ase) += -mmicromips
243 toolchain-msa := $(call cc-option-yn,$(mips-cflags) -mhard-float -mfp64 -Wa$(comma)-mmsa)
244 cflags-$(toolchain-msa) += -DTOOLCHAIN_SUPPORTS_MSA
246 toolchain-virt := $(call cc-option-yn,$(mips-cflags) -mvirt)
247 cflags-$(toolchain-virt) += -DTOOLCHAIN_SUPPORTS_VIRT
250 xpa-cflags-y := $(mips-cflags)
251 xpa-cflags-$(micromips-ase) += -mmicromips -Wa$(comma)-fatal-warnings
252 toolchain-xpa := $(call cc-option-yn,$(xpa-cflags-y) -mxpa)
253 cflags-$(toolchain-xpa) += -DTOOLCHAIN_SUPPORTS_XPA
254 toolchain-crc := $(call cc-option-yn,$(mips-cflags) -Wa$(comma)-mcrc)
255 cflags-$(toolchain-crc) += -DTOOLCHAIN_SUPPORTS_CRC
256 toolchain-dsp := $(call cc-option-yn,$(mips-cflags) -Wa$(comma)-mdsp)
257 cflags-$(toolchain-dsp) += -DTOOLCHAIN_SUPPORTS_DSP
258 toolchain-ginv := $(call cc-option-yn,$(mips-cflags) -Wa$(comma)-mginv)
259 cflags-$(toolchain-ginv) += -DTOOLCHAIN_SUPPORTS_GINV
288 cflags-y += -I$(srctree)/arch/mips/include/asm/mach-generic
305 cflags-$(KBUILD_SYM32) += -msym32 -DKBUILD_64BIT_SYM32
323 KBUILD_AFLAGS += $(cflags-y)
324 KBUILD_CFLAGS += $(cflags-y)