From 88ee90d7060f7be2f20fdb79d4fa177fb8601b9d Mon Sep 17 00:00:00 2001 From: Guo Ren Date: Tue, 26 Dec 2017 19:03:18 +0800 Subject: csky: bugfix csky compile error for abiv1 & abiv2. This bugfix is depend on uclibc-ng patch: csky: remove -mcpu and -mhard-float from config Signed-off-by: Guo Ren --- toolchain/gcc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'toolchain') 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) -- cgit v1.2.3