summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuo Ren <ren_guo@c-sky.com>2017-12-26 18:56:00 +0800
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2017-12-26 12:12:11 +0100
commitd80c7d39274af17ee30e0ef67816584f28af2146 (patch)
tree7c969eea13a09390b2662ee2cbd985c651420fdf
parenta2b99c04d8359a8a2098d1217f3c7475547fa0cf (diff)
csky: remove -mcpu and -mhard-float from config
Pass the -mcpu and -mhard-float from UCLIBC_EXTRA_CFLAGS instead. Signed-off-by: Guo Ren <ren_guo@c-sky.com>
-rw-r--r--Rules.mak6
-rw-r--r--extra/Configs/Config.csky13
2 files changed, 0 insertions, 19 deletions
diff --git a/Rules.mak b/Rules.mak
index 9a56415c9..418a48037 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 704f7be1b..3173ce91f 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
-