summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-03-21 20:04:21 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-03-21 20:04:21 +0100
commitcde74b83f9b204bf56f304224654e4993dc56efc (patch)
treed80eac5138e0e7b84fe4709c7ee0a9dca6a7cb63
parenta1a8064169aeda79e3266a2db9cce25e361a86dc (diff)
ARC: remove special CFLAGS/LDFLAGS handling
Either toolchain defaults or buildsystems should provide the architecture specific CFLAGS and LDFLAGS.
-rw-r--r--Rules.mak6
-rw-r--r--extra/Configs/Config.arc18
2 files changed, 0 insertions, 24 deletions
diff --git a/Rules.mak b/Rules.mak
index ae78f446f..9c481c3c0 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -508,12 +508,6 @@ ifeq ($(TARGET_ARCH),c6x)
CPU_LDFLAGS-y += $(CPU_CFLAGS)
endif
-ifeq ($(TARGET_ARCH),arc)
- CPU_CFLAGS-$(CONFIG_ARC_CPU_700) += -mA7
- CPU_CFLAGS-$(CONFIG_ARC_CPU_HS) += -mcpu=archs
- CPU_LDFLAGS-y += $(CPU_CFLAGS) -marclinux
-endif
-
$(eval $(call check-gcc-var,$(PIEFLAG_NAME)))
PIEFLAG := $(CFLAG_$(PIEFLAG_NAME))
ifeq ($(PIEFLAG),)
diff --git a/extra/Configs/Config.arc b/extra/Configs/Config.arc
index c263dbf46..ebbde2e9f 100644
--- a/extra/Configs/Config.arc
+++ b/extra/Configs/Config.arc
@@ -10,24 +10,6 @@ config FORCE_OPTIONS_FOR_ARCH
default y
select ARCH_ANY_ENDIAN
-choice
- prompt "Target Processor Type"
- default CONFIG_ARC_CPU_700
-
-config CONFIG_ARC_CPU_700
- bool "ARC700"
- select ARCH_HAS_MMU
- help
- ARCompact ISA based ARC CPU
-
-config CONFIG_ARC_CPU_HS
- bool "ARC-HS"
- select ARCH_HAS_MMU
- help
- Next Generation ARCv2 ISA based Processors
-
-endchoice
-
config CONFIG_ARC_HAS_ATOMICS
bool "Support for LLOCK/SCOND instructions"
default y