soc: riscv32: openisa_rv32m1: Support Zephyr toolchain

The 0.10 version of the Zephyr toolchain supports building on the
openisa_rv32m1 SoC.  So if the ZEPHYR_TOOLCHAIN_VARIANT is 'zephyr'
than select RISCV_GENERIC_TOOLCHAIN.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2019-02-01 08:28:31 -06:00 committed by Carles Cufí
commit 128d2e2bd1

View file

@ -29,6 +29,7 @@ config XIP
config RISCV_GENERIC_TOOLCHAIN config RISCV_GENERIC_TOOLCHAIN
bool bool
default y if "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr"
default n default n
config RISCV_SOC_CONTEXT_SAVE config RISCV_SOC_CONTEXT_SAVE