Pass the -mcpu and -mhard-float from UCLIBC_EXTRA_CFLAGS instead.
Signed-off-by: Guo Ren <ren_guo(a)c-sky.com>
---
Rules.mak | 6 ------
extra/Configs/Config.csky | 13 -------------
2 files changed, 19 deletions(-)
diff --git a/Rules.mak b/Rules.mak
index 9a56415..418a480 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -458,12 +458,6 @@ ifeq ($(TARGET_ARCH),csky)
# So we couldn't strip them for objdump.
STRIP_FLAGS += -K "$$"t -K "$$"d
- CPU_CFLAGS-$(CK610) += -mcpu=ck610f
- CPU_CFLAGS-$(CK810) += -mcpu=ck810f
- CPU_CFLAGS-$(CK807) += -mcpu=ck807f
-
- CPU_CFLAGS-$(UCLIBC_HAS_FPU) += -mhard-float
-
CPU_CFLAGS-$(ARCH_LITTLE_ENDIAN) += -mlittle-endian
CPU_CFLAGS-$(ARCH_BIG_ENDIAN) += -mbig-endian
endif
diff --git a/extra/Configs/Config.csky b/extra/Configs/Config.csky
index 704f7be..3173ce9 100644
--- a/extra/Configs/Config.csky
+++ b/extra/Configs/Config.csky
@@ -10,16 +10,3 @@ config FORCE_OPTIONS_FOR_ARCH
select ARCH_USE_MMU
select ARCH_HAS_MMU
-choice
- prompt "Target Processor Type"
- default CK610
-
-config CK610
- bool "ck610"
-config CK810
- bool "ck810"
-config CK807
- bool "ck807"
-
-endchoice
-
--
2.7.4
Show replies by date