From 7ed4d2a409cb24e7beef850c6b90e47f0f6b71d2 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 9 Apr 2016 12:48:08 +0200 Subject: add support for nds32 architecture Verified on a FPGA board sponsored by Andes Technology. Signed-off-by: Waldemar Brodkorb --- toolchain/gcc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'toolchain/gcc/Makefile') diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 51c12d0fd..78f4a025b 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -123,6 +123,10 @@ ifeq ($(ADK_TARGET_CPU_CF),y) GCC_CONFOPTS+= --enable-multilib --with-arch=cf endif +ifeq ($(ADK_TARGET_ARCH_NDS32),y) +GCC_CONFOPTS+= --with-arch=v3 +endif + ifeq ($(ADK_TARGET_ARCH_M68K)$(ADK_TARGET_ARCH_X86_64)$(ADK_TARGET_ARCH_X86),) GCC_FINAL_CONFOPTS+= --disable-biarch --disable-multilib endif -- cgit v1.2.3