diff options
author | Guo Ren <ren_guo@c-sky.com> | 2017-12-26 19:03:18 +0800 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-12-26 12:13:34 +0100 |
commit | 88ee90d7060f7be2f20fdb79d4fa177fb8601b9d (patch) | |
tree | a21abf0678b694d16f92b6d7e207e51c01887865 /toolchain/gcc/Makefile | |
parent | 0cb8ada4f1a8a4a0f69fbcab2497cebb8121683a (diff) |
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 <ren_guo@c-sky.com>
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r-- | toolchain/gcc/Makefile | 4 |
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) |