diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2017-03-21 20:04:21 +0100 | 
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-03-21 20:04:21 +0100 | 
| commit | cde74b83f9b204bf56f304224654e4993dc56efc (patch) | |
| tree | d80eac5138e0e7b84fe4709c7ee0a9dca6a7cb63 | |
| parent | a1a8064169aeda79e3266a2db9cce25e361a86dc (diff) | |
ARC: remove special CFLAGS/LDFLAGS handling
Either toolchain defaults or buildsystems should provide the
architecture specific CFLAGS and LDFLAGS.
| -rw-r--r-- | Rules.mak | 6 | ||||
| -rw-r--r-- | extra/Configs/Config.arc | 18 | 
2 files changed, 0 insertions, 24 deletions
| @@ -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 | 
