zephyr/cmake/modules
Torsten Rasmussen 45b25e5508 cmake: dereference ${check} after zephyr_check_compiler_flag() call
Follow-up: #53124

The PR#53124 fixed an issue where the variable `check` was not properly
dereferenced into the correct variable name for return value storage.
This was corrected in 04a27651ea.

However, some code was passing a return argument as:
`zephyr_check_compiler_flag(... ${check})`
but checking the result like:
`if(${check})`
thus relying on a faulty behavior of code updating `check` and not the
`${check}` variable.

Fix this by updating to use `${${check}}` as that will point to the
correct return value.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2023-03-06 13:51:09 +01:00
..
arch.cmake cmake: kconfig: introduce dedicated unit testing board 2022-08-18 14:29:14 +02:00
basic_settings.cmake cmake: extend zephyr_get() to handle build configurations from sysbuild 2022-09-02 15:16:50 +02:00
boards.cmake cmake: fix and clean up some module doc comments 2023-01-11 09:40:14 +01:00
ccache.cmake
configuration_files.cmake sysbuild: support sample configuration of extra images 2022-10-18 14:13:27 +02:00
doc.cmake
dts.cmake cmake: modules: dts: refactor for readability 2023-02-27 06:57:17 -08:00
extensions.cmake cmake: dereference ${check} after zephyr_check_compiler_flag() call 2023-03-06 13:51:09 +01:00
Findarmclang.cmake armclang: Add version check for armclang toolchain 2023-02-28 13:54:56 +01:00
FindDeprecated.cmake toolchain: rename xcc-clang to xt-clang 2023-02-22 08:35:46 -05:00
FindDtc.cmake cmake: cleanup search for devicetree compiler, dtc 2022-09-01 15:59:43 +02:00
FindHostTools.cmake unittest: update coverage library non gcc toolchains 2022-11-21 16:09:46 -05:00
FindoneApi.cmake toolchain: oneApi: Fix support and update for 2023.0.0 release 2023-02-23 14:30:03 -05:00
FindScaTools.cmake cmake: implement build infrastructure for supporting SCA tools. 2023-01-27 20:28:58 +09:00
FindTargetTools.cmake cmake: propagate endianess to CMake CMAKE_<lang>_BYTE_ORDER setting 2022-09-26 15:09:38 +00:00
FindZephyr-sdk.cmake cmake: use zephyr_get in toolchains to ensure identical behavior. 2022-09-02 15:16:50 +02:00
kconfig.cmake cmake: BOARD_REVISION_CONFIG setting for Kconfig revision fragments 2023-01-11 08:10:45 -08:00
kernel.cmake cmake: implement build infrastructure for supporting SCA tools. 2023-01-27 20:28:58 +09:00
python.cmake cmake: Bump the minimum required Python version to 3.8 2022-08-24 18:35:57 +02:00
root.cmake cmake: implement build infrastructure for supporting SCA tools. 2023-01-27 20:28:58 +09:00
shields.cmake cmake: fix and clean up some module doc comments 2023-01-11 09:40:14 +01:00
soc.cmake
unittest.cmake unittest: add support for coverage 2022-11-28 16:26:02 -05:00
user_cache.cmake scripts: move dir_is_writeable.py to scripts/build 2022-07-12 10:03:45 +02:00
version.cmake
west.cmake
zephyr_default.cmake cmake: log ${CMAKE_VERSION} 2022-12-22 10:55:28 +01:00
zephyr_module.cmake cmake: fix and clean up some module doc comments 2023-01-11 09:40:14 +01:00