commit | 275b40ef25a99443739a00f177f22e11938fb950 | [log] [tgz] |
---|---|---|
author | Keith Packard <keithp@keithp.com> | Sat May 14 22:37:00 2022 -0700 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Sun Jun 05 14:29:12 2022 +0200 |
tree | 2c6d6a191fe908ac1c156c06b362f23e9b0e8be9 | |
parent | 72f9797fee23c8016e9f4ffcf78f89e6d7c3832b [diff] |
kernel: Allow non-zephyr toolchains to advertise TLS support Use a new environment variable, ZEPHYR_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE, to set the value for TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE instead of setting it to 'n' for all non-Zephyr toolchains. In particular, the Debian arm-none-eabi toolchain has TLS support and with this option, can be used to build Zephyr with thread local variables. Signed-off-by: Keith Packard <keithp@keithp.com>