From 8fb4f8b834418606c2b5f85998def2bbbe8029e3 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 9 Oct 2019 20:30:47 +0200 Subject: c-sky: remove ck607 abiv1 support as it is deprecated, default to gcc 9.2.0, allow qemu to be build big/little endian --- toolchain/gcc/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'toolchain/gcc/Makefile') 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 -- cgit v1.2.3