This selects the correct compiler flags so we generate instructions that
microwatt supports.
Signed-off-by: Joel Stanley <joel@jms.id.au>
config BR2_powerpc_power8
bool "power8"
select BR2_POWERPC_CPU_HAS_ALTIVEC
+config BR2_powerpc_microwatt
+ bool "microwatt"
endchoice
choice
TARGET_ABI += -mabi=spe -mfloat-gprs=double -Wa,-me500mc
endif
endif
+ifeq ($(BR2_powerpc_microwatt),y)
+TARGET_ABI += -mno-vsx -mno-altivec
+endif
# Use longcalls option for Xtensa globally.
# The 'longcalls' option allows calls across a greater range of addresses,