Skip to content

Commit a8dee08

Browse files
committed
soc: snps: nsim: arc_v: rmx/rhx: drop hardcoded MWDT flags
- Remove SoC-level ccac core/ISA flags (-av5r*, -Z*) - Depend on arcmwdt toolchain to derive flags from Kconfig - Keep SOC linker script selection unchanged Signed-off-by: Afonso Oliveira <[email protected]>
1 parent c16f233 commit a8dee08

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed
Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
11
# SPDX-License-Identifier: Apache-2.0
22

3-
if(COMPILER STREQUAL arcmwdt)
4-
# CCAC:
5-
zephyr_compile_options(-av5rhx -Zicsr -Zifencei -Zihintpause -Zba -Zbb
6-
-Zbc -Zbs -Zca -Zcb -Zcmp -Zcmt -Za -Zm -Zc
7-
-Zicond -Zicbom -Zicbop)
8-
9-
zephyr_ld_options(-av5rhx)
10-
endif()
11-
123
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/riscv/common/linker.ld CACHE INTERNAL "")
Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
11
# SPDX-License-Identifier: Apache-2.0
22

3-
if(COMPILER STREQUAL arcmwdt)
4-
# CCAC:
5-
zephyr_compile_options(-av5rmx -Zicsr -Zifencei -Zihintpause -Zba -Zbb
6-
-Zbs -Zca -Zcb -Zcmp -Zcmt -Za -Zm -Zicbom)
7-
8-
zephyr_ld_options(-av5rmx)
9-
endif()
10-
113
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/riscv/common/linker.ld CACHE INTERNAL "")

0 commit comments

Comments
 (0)