소스 검색

ARC: build: don't force usage of llock and swape instructions

This is because some old ARC750 cores lack these instructions.

We now rely on the default for the toolchain driver:
-mcpu=A7 won't enable those, while -mcpu=archs will as these
instructions are baseline (and thus is not impacted with this change).

If some arc700 based cpu does have them, it can override the driver
defaults in it's one level up build system.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Vineet Gupta 7 년 전
부모
커밋
8d2f169a82
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      Rules.mak

+ 0 - 1
Rules.mak

@@ -503,7 +503,6 @@ ifeq ($(TARGET_ARCH),c6x)
 endif
 
 ifeq ($(TARGET_ARCH),arc)
-	CPU_CFLAGS-y += -mlock -mswape
 	CPU_CFLAGS-$(CONFIG_ARC_CPU_700) += -mA7
 	CPU_CFLAGS-$(CONFIG_ARC_CPU_HS) += -mcpu=archs
 	CPU_LDFLAGS-y += $(CPU_CFLAGS) -marclinux