summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc/Makefile')
-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