File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ get_filename_component(ZEPHYR_SDK_INSTALL_DIR ${CMAKE_CURRENT_LIST_DIR}/.. ABSOL
1313set (ZEPHYR_SDK_INSTALL_DIR ${ZEPHYR_SDK_INSTALL_DIR} )
1414
1515if (NOT DEFINED ZEPHYR_TOOLCHAIN_VARIANT)
16- set (ZEPHYR_TOOLCHAIN_VARIANT zephyr- gnu)
16+ set (ZEPHYR_TOOLCHAIN_VARIANT " zephyr/ gnu" )
1717endif ()
1818
1919# Those are CMake package parameters.
Original file line number Diff line number Diff line change 11# SPDX-License-Identifier: Apache-2.0
22
3- config TOOLCHAIN_ZEPHYR_0_17
3+ config TOOLCHAIN_ZEPHYR_0_18
44 def_bool y
55
66config TOOLCHAIN_ZEPHYR_SUPPORTS_THREAD_LOCAL_STORAGE
@@ -13,8 +13,7 @@ config TOOLCHAIN_ZEPHYR_SUPPORTS_GNU_EXTENSIONS
1313
1414config PICOLIBC_SUPPORTED
1515 def_bool y
16- depends on "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr-gnu" \
17- || "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr-llvm"
16+ depends on "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr"
1817 help
1918 Zephyr SDK >=0.16 always supports Picolibc for C and C++ development.
2019
@@ -25,5 +24,5 @@ config PICOLIBC_DEFAULT
2524 Zephyr SDK >=0.17.1 always uses Picolibc
2625
2726choice COMPILER_OPTIMIZATIONS
28- default SPEED_OPTIMIZATIONS if ("$(ZEPHYR_TOOLCHAIN_VARIANT )" = "zephyr" || "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr- gnu") && CPP_EXCEPTIONS
27+ default SPEED_OPTIMIZATIONS if ("$(TOOLCHAIN_VARIANT_COMPILER )" = "gnu") && CPP_EXCEPTIONS
2928endchoice
You can’t perform that action at this time.
0 commit comments