From 128d2e2bd176b8c5e384ea46ea452e7864cce84f Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Fri, 1 Feb 2019 08:28:31 -0600 Subject: [PATCH] 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 --- soc/riscv32/openisa_rv32m1/Kconfig.defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/soc/riscv32/openisa_rv32m1/Kconfig.defconfig b/soc/riscv32/openisa_rv32m1/Kconfig.defconfig index 7f85641cc5a..7436f6feaca 100644 --- a/soc/riscv32/openisa_rv32m1/Kconfig.defconfig +++ b/soc/riscv32/openisa_rv32m1/Kconfig.defconfig @@ -29,6 +29,7 @@ config XIP config RISCV_GENERIC_TOOLCHAIN bool + default y if "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr" default n config RISCV_SOC_CONTEXT_SAVE