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 --- target/config/Config.in.cpu | 2 ++ target/config/Config.in.float | 1 + 2 files changed, 3 insertions(+) (limited to 'target/config') 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 || \ -- cgit v1.2.3