Lines Matching refs:cflags
54 cflags-y += -mmcount-ra-address -DKBUILD_MCOUNT_RA_ADDRESS
58 cflags-y += $(call cc-option, -mno-check-zero-division)
65 cflags-y += -mabi=32
73 cflags-y += -mabi=64
90 cflags-y += -G 0 -mno-abicalls -fno-pic -pipe
91 cflags-y += -msoft-float -Wa,-msoft-float
96 cflags-y += -ffreestanding
113 cflags-$(CONFIG_CPU_BIG_ENDIAN) += $(shell $(CC) -dumpmachine |grep -q 'mips.*el-.*' && echo -EB $…
114 cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += $(shell $(CC) -dumpmachine |grep -q 'mips.*el-.*' || echo -EL…
116 cflags-$(CONFIG_CPU_HAS_SMARTMIPS) += $(call cc-option,-msmartmips)
118 cflags-$(CONFIG_SB1XXX_CORELIS) += $(call cc-option,-mno-sched-prolog) \
124 cflags-$(CONFIG_CPU_R3000) += -march=r3000
125 cflags-$(CONFIG_CPU_TX39XX) += -march=r3900
126 cflags-$(CONFIG_CPU_R6000) += -march=r6000 -Wa,--trap
127 cflags-$(CONFIG_CPU_R4300) += -march=r4300 -Wa,--trap
128 cflags-$(CONFIG_CPU_VR41XX) += -march=r4100 -Wa,--trap
129 cflags-$(CONFIG_CPU_R4X00) += -march=r4600 -Wa,--trap
130 cflags-$(CONFIG_CPU_TX49XX) += -march=r4600 -Wa,--trap
131 cflags-$(CONFIG_CPU_MIPS32_R1) += $(call cc-option,-march=mips32,-mips32 -U_MIPS_ISA -D_MIPS_ISA=_M…
133 cflags-$(CONFIG_CPU_MIPS32_R2) += $(call cc-option,-march=mips32r2,-mips32r2 -U_MIPS_ISA -D_MIPS_IS…
135 cflags-$(CONFIG_CPU_MIPS64_R1) += $(call cc-option,-march=mips64,-mips64 -U_MIPS_ISA -D_MIPS_ISA=_M…
137 cflags-$(CONFIG_CPU_MIPS64_R2) += $(call cc-option,-march=mips64r2,-mips64r2 -U_MIPS_ISA -D_MIPS_IS…
139 cflags-$(CONFIG_CPU_R5000) += -march=r5000 -Wa,--trap
140 cflags-$(CONFIG_CPU_R5432) += $(call cc-option,-march=r5400,-march=r5000) \
142 cflags-$(CONFIG_CPU_R5500) += $(call cc-option,-march=r5500,-march=r5000) \
144 cflags-$(CONFIG_CPU_NEVADA) += $(call cc-option,-march=rm5200,-march=r5000) \
146 cflags-$(CONFIG_CPU_RM7000) += $(call cc-option,-march=rm7000,-march=r5000) \
148 cflags-$(CONFIG_CPU_RM9000) += $(call cc-option,-march=rm9000,-march=r5000) \
150 cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-march=sb1,-march=r5000) \
152 cflags-$(CONFIG_CPU_R8000) += -march=r8000 -Wa,--trap
153 cflags-$(CONFIG_CPU_R10000) += $(call cc-option,-march=r10000,-march=r8000) \
155 cflags-$(CONFIG_CPU_CAVIUM_OCTEON) += $(call cc-option,-march=octeon) -Wa,--trap
156 ifeq (,$(findstring march=octeon, $(cflags-$(CONFIG_CPU_CAVIUM_OCTEON))))
157 cflags-$(CONFIG_CPU_CAVIUM_OCTEON) += -Wa,-march=octeon
159 cflags-$(CONFIG_CAVIUM_CN63XXP1) += -Wa,-mfix-cn63xxp1
160 cflags-$(CONFIG_CPU_BMIPS) += -march=mips32 -Wa,-mips32 -Wa,--trap
162 cflags-$(CONFIG_CPU_R4000_WORKAROUNDS) += $(call cc-option,-mfix-r4000,)
163 cflags-$(CONFIG_CPU_R4400_WORKAROUNDS) += $(call cc-option,-mfix-r4400,)
164 cflags-$(CONFIG_CPU_DADDI_WORKAROUNDS) += $(call cc-option,-mno-daddi,)
199 cflags-$(CONFIG_MIPS_GOLDFISH) += -Iarch/mips/include/asm/mach-goldfish -Iarch/mips/goldfish/include
203 cflags-y += -I$(srctree)/arch/mips/include/asm/mach-generic
220 cflags-y += -msym32 -DKBUILD_64BIT_SYM32
228 KBUILD_AFLAGS += $(cflags-y)
229 KBUILD_CFLAGS += $(cflags-y)