@@ -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
@@ -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
-
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(-)