Browse Source

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>
Guo Ren 6 years ago
parent
commit
d80c7d3927
2 changed files with 0 additions and 19 deletions
  1. 0 6
      Rules.mak
  2. 0 13
      extra/Configs/Config.csky

+ 0 - 6
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

+ 0 - 13
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
-