summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-04-09 12:48:08 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-30 03:44:10 +0200
commit7ed4d2a409cb24e7beef850c6b90e47f0f6b71d2 (patch)
treebc1ebdfaa9cafaab8c30fa915ff98f51a5509eee /toolchain/gcc/Makefile
parentc5990c364e54fae1b1d0da5f88d3cf7c9c0ba782 (diff)
add support for nds32 architecture
Verified on a FPGA board sponsored by Andes Technology. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile4
1 files changed, 4 insertions, 0 deletions
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