summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2019-10-09 20:30:47 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2019-10-09 20:54:34 +0200
commit8fb4f8b834418606c2b5f85998def2bbbe8029e3 (patch)
tree9a2147ff51256ad09ba6bc59bfb07b210006250b /toolchain
parent15f2c9b8b108dd2849df5eb74def67f589ea824f (diff)
c-sky: remove ck607 abiv1 support as it is deprecated, default to gcc 9.2.0, allow qemu to be build big/little endian
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 3ca98ab37..3fead69b7 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -142,10 +142,11 @@ GCC_CONFOPTS+= --disable-symvers
endif
ifeq ($(ADK_TARGET_ARCH_CSKY),y)
-ifeq ($(ADK_TARGET_CPU_CSKY_CK610),y)
-GCC_CONFOPTS+= --with-cskyabi=abiv1
+GCC_CONFOPTS+= --with-cskyabi=abiv2 --disable-multilib
+ifeq ($(ADK_TARGET_LITTLE_ENDIAN),y)
+GCC_CONFOPTS+= --with-endian=little
else
-GCC_CONFOPTS+= --with-cskyabi=abiv2
+GCC_CONFOPTS+= --with-endian=big
endif
endif