summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorGuo Ren <ren_guo@c-sky.com>2017-12-26 19:03:18 +0800
committerWaldemar Brodkorb <wbx@openadk.org>2017-12-26 12:13:34 +0100
commit88ee90d7060f7be2f20fdb79d4fa177fb8601b9d (patch)
treea21abf0678b694d16f92b6d7e207e51c01887865 /target
parent0cb8ada4f1a8a4a0f69fbcab2497cebb8121683a (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 'target')
-rw-r--r--target/config/Config.in.cpu2
-rw-r--r--target/config/Config.in.float1
2 files changed, 3 insertions, 0 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index b7d17d942..77328d8ec 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -504,6 +504,7 @@ config ADK_TARGET_CPU_CSKY_CK810F
select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
+ select ADK_TARGET_CPU_WITH_FPU
depends on ADK_TARGET_ARCH_CSKY
depends on ADK_TARGET_LITTLE_ENDIAN
@@ -513,6 +514,7 @@ config ADK_TARGET_CPU_CSKY_CK807F
select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
+ select ADK_TARGET_CPU_WITH_FPU
depends on ADK_TARGET_ARCH_CSKY
depends on ADK_TARGET_LITTLE_ENDIAN
diff --git a/target/config/Config.in.float b/target/config/Config.in.float
index 842b38f0b..4264dd437 100644
--- a/target/config/Config.in.float
+++ b/target/config/Config.in.float
@@ -4,6 +4,7 @@
choice ADK_TARGET_FLOAT_MODE
prompt "Float configuration"
depends on ADK_TARGET_ARCH_ARM || \
+ ADK_TARGET_ARCH_CSKY || \
ADK_TARGET_ARCH_M68K || \
ADK_TARGET_ARCH_MIPS || \
ADK_TARGET_ARCH_NIOS2 || \