Lines Matching full:option
15 HAS_BIARCH := $(call cc-option-yn, -m32)
23 # These options will be overridden by any -mcpu option that the CPU
84 KBUILD_CFLAGS_MODULE += $(call cc-option,-mno-save-toc-indirect)
86 KBUILD_CFLAGS += $(call cc-option,-mbig-endian)
94 cflags-$(CONFIG_CPU_BIG_ENDIAN) += $(call cc-option,-mabi=elfv1)
95 cflags-$(CONFIG_CPU_BIG_ENDIAN) += $(call cc-option,-mcall-aixdesc)
96 aflags-$(CONFIG_CPU_BIG_ENDIAN) += $(call cc-option,-mabi=elfv1)
104 cflags-$(CONFIG_CPU_BIG_ENDIAN) += $(call cc-option,-mbig-endian)
106 aflags-$(CONFIG_CPU_BIG_ENDIAN) += $(call cc-option,-mbig-endian)
125 LDFLAGS_vmlinux += $(call ld-option,--orphan-handling=warn)
128 ifeq ($(call cc-option-yn,-mcmodel=medium),y)
143 CFLAGS-$(CONFIG_PPC64) := $(call cc-option,-mtraceback=no)
145 CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mabi=elfv2,$(call cc-option,-mcall-aixdesc))
146 AFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mabi=elfv2)
148 CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mabi=elfv1)
149 CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mcall-aixdesc)
150 AFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mabi=elfv1)
152 CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mcmodel=medium,$(call cc-option,-mminimal-toc))
153 CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mno-pointers-to-nested-functions)
157 CFLAGS-$(CONFIG_PPC32) := $(call cc-option, -ffixed-r2)
161 CFLAGS-$(CONFIG_PPC32) += $(call cc-option, $(MULTIPLEWORD))
163 CFLAGS-$(CONFIG_PPC32) += $(call cc-option,-mno-readonly-in-sdata)
168 CFLAGS-$(CONFIG_GENERIC_CPU) += $(call cc-option,-mtune=power9,-mtune=power8)
170 CFLAGS-$(CONFIG_GENERIC_CPU) += $(call cc-option,-mtune=power7,$(call cc-option,-mtune=power5))
171 CFLAGS-$(CONFIG_GENERIC_CPU) += $(call cc-option,-mcpu=power5,-mcpu=power4)
190 CFLAGS-$(CONFIG_TARGET_CPU_BOOL) += $(call cc-option,-mcpu=$(CONFIG_TARGET_CPU))
192 # Altivec option not allowed with e500mc64 in GCC.
196 E5500_CPU := $(call cc-option,-mcpu=e500mc64,-mcpu=powerpc64)
199 CFLAGS-$(CONFIG_E6500_CPU) += $(call cc-option,-mcpu=e6500,$(E5500_CPU))
203 CFLAGS-y += $(call cc-option,-mcpu=e500mc,-mcpu=powerpc)
205 CFLAGS-$(CONFIG_E500) += $(call cc-option,-mcpu=8540 -msoft-float,-mcpu=powerpc)
213 KBUILD_CFLAGS += $(call cc-option,-msoft-float)
230 KBUILD_CFLAGS += $(call cc-option,-mno-altivec)
231 KBUILD_CFLAGS += $(call cc-option,-mno-vsx)
235 KBUILD_CFLAGS += $(call cc-option,-mno-spe)
236 KBUILD_CFLAGS += $(call cc-option,-mspe=no)
241 KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm)
245 KBUILD_CFLAGS += $(call cc-option,-mno-string)
248 cpu-as-$(CONFIG_ALTIVEC) += $(call as-option,-Wa$(comma)-maltivec)
256 cpu-as-$(CONFIG_PPC_E500MC) += $(call as-option,-Wa$(comma)-me500mc)