diff mbox series

[uclibc-ng-devel] csky: remove -mcpu and -mhard-float from config

Message ID 1514286524-14998-1-git-send-email-ren_guo@c-sky.com
State Accepted
Headers show
Series [uclibc-ng-devel] csky: remove -mcpu and -mhard-float from config | expand

Commit Message

Guo Ren Dec. 26, 2017, 11:08 a.m. UTC
Pass the -mcpu and -mhard-float from UCLIBC_EXTRA_CFLAGS instead.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
---
 Rules.mak                 |  6 ------
 extra/Configs/Config.csky | 13 -------------
 2 files changed, 19 deletions(-)
diff mbox series

Patch

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
-