summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
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 929cf8a79..2303e4b90 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -122,7 +122,11 @@ GCC_CONFOPTS+= --disable-symvers
endif
ifeq ($(ADK_TARGET_ARCH_CSKY),y)
+ifeq ($(ADK_TARGET_CPU_CSKY_CK610),y)
GCC_CONFOPTS+= --with-cskyabi=abiv1
+else
+GCC_CONFOPTS+= --with-cskyabi=abiv2
+endif
endif
ifeq ($(ADK_TARGET_ARCH_METAG),y)