summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorYann Sionneau <ysionneau@kalray.eu>2023-09-14 16:55:20 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-09-14 17:25:00 +0200
commitc21d1a858e7fc9f273c23d7ae92bc6911f34a1e9 (patch)
tree06835b46f31747fa7922572858fc3c4d0999e8d9 /Rules.mak
parentf61a240363a173982809f1448450a77207286e3c (diff)
kvx: add support for kv3-2 (Coolidge v2 SoC)
The only difference, with regard to libc, is the compile flag: -march= Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index 0c49009a2..5b9154b72 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -459,7 +459,8 @@ ifeq ($(TARGET_ARCH),csky)
endif
ifeq ($(TARGET_ARCH),kvx)
- CPU_CFLAGS-$(CONFIG_KVX) += -march=kvx
+ CPU_CFLAGS-y += -march=$(call qstrip,$(TARGET_MARCH))
+ CPU_LDFLAGS-y += -march=$(call qstrip,$(TARGET_MARCH))
endif
ifeq ($(TARGET_ARCH),m68k)