summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVineet Gupta <Vineet.Gupta1@synopsys.com>2016-10-21 14:20:55 -0700
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-22 15:44:00 +0200
commit8d2f169a82bec9b8c143e33e447b64e7b555e66a (patch)
treee1a415818e3b9dfe9d61c45aa01a757a9aa256fd
parenta6cdfdfff38584cadec40b6d6f2df2651e0b34b8 (diff)
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>
-rw-r--r--Rules.mak1
1 files changed, 0 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index b9dbf2577..ffed3b2b7 100644
--- a/Rules.mak
+++ b/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