GLIBC_TARGET_BOARDS?=$(shell echo"$(GLIBC_MULTILIB_NAMES)"| sed 's!\([_a-z0-9]*\)-\([_a-z0-9]*\)!riscv-sim/-march=\1/-mabi=\2/@cmodel@!g')
GLIBC_TARGET_BOARDS?=$(shell echo"$(GLIBC_MULTILIB_NAMES)$(EXTRA_MULTILIB_TEST)"| sed 's!\([_a-z0-9]*\)-\([_a-z0-9]*\)!riscv-sim/-march=\1/-mabi=\2/@cmodel@!g')
NEWLIB_CC_FOR_TARGET?=$(NEWLIB_TUPLE)-gcc
NEWLIB_CXX_FOR_TARGET?=$(NEWLIB_TUPLE)-g++
NEWLIB_TARGET_BOARDS?=$(shell echo"$(NEWLIB_MULTILIB_NAMES)"| sed 's!\([_a-z0-9]*\)-\([_a-z0-9]*\)!riscv-sim/-march=\1/-mabi=\2/@cmodel@!g')
NEWLIB_NANO_TARGET_BOARDS?=$(shell echo"$(NEWLIB_MULTILIB_NAMES)"| sed 's!\([_a-z0-9]*\)-\([_a-z0-9]*\)!riscv-sim-nano/-march=\1/-mabi=\2/@cmodel@!g')
NEWLIB_TARGET_BOARDS?=$(shell echo"$(NEWLIB_MULTILIB_NAMES)$(EXTRA_MULTILIB_TEST)"| sed 's!\([_a-z0-9]*\)-\([_a-z0-9]*\)!riscv-sim/-march=\1/-mabi=\2/@cmodel@!g')
NEWLIB_NANO_TARGET_BOARDS?=$(shell echo"$(NEWLIB_MULTILIB_NAMES)$(EXTRA_MULTILIB_TEST)"| sed 's!\([_a-z0-9]*\)-\([_a-z0-9]*\)!riscv-sim-nano/-march=\1/-mabi=\2/@cmodel@!g')
[Adding extra multi-libs configuration for testing, this can be use even --disable-multilib, but be aware user need to make sure those extra multilib set can work/compatible with existing multi-libs, format: <arch>-<abi>;<arch>-<abi> e.g: --with-extra-multilib-test="rv64gcv-lp64;rv64gcv_zba-lp64"])],