From: Joel Stanley Date: Tue, 5 May 2020 12:31:24 +0000 (+0930) Subject: Add powerpc microwatt target X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d30819f7fc779e2080dfdcced68fd231d085bf4c;p=buildroot.git Add powerpc microwatt target This selects the correct compiler flags so we generate instructions that microwatt supports. Signed-off-by: Joel Stanley --- diff --git a/arch/Config.in.powerpc b/arch/Config.in.powerpc index ba56c9c721..03687bedd1 100644 --- a/arch/Config.in.powerpc +++ b/arch/Config.in.powerpc @@ -126,6 +126,8 @@ config BR2_powerpc_power7 config BR2_powerpc_power8 bool "power8" select BR2_POWERPC_CPU_HAS_ALTIVEC +config BR2_powerpc_microwatt + bool "microwatt" endchoice choice diff --git a/package/Makefile.in b/package/Makefile.in index 86db62ba5b..796011dd69 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -93,6 +93,9 @@ ifeq ($(BR2_powerpc_e500mc),y) 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,