Lines Matching full:sdk

5 # FindZephyr-sdk module for supporting module search mode of Zephyr SDK.
7 # It is possible to control the behavior of the Zephyr-SDK package using
9 # The Zephyr-SDK package supports the components:
10 # - LOAD: Load a Zephyr-SDK. This is the default behavior if no COMPONENTS is specified.
12 # SDK and based on user / environment settings of selected toolchain decide if
13 # the Zephyr SDK CMake package should be loaded.
15 # It extends the Zephyr-sdk CMake package by providing more flexibility in when
16 # the Zephyr SDK is loaded and loads additional host tools from the Zephyr SDK.
20 # Install location of the Zephyr SDK
26 # True if the Zephyr SDK was found.
29 # any Sdk. This can be used to fetch available Zephyr-SDKs before doing
32 # - Zephyr-sdk : Version of a Zephyr-SDK
33 # - Zephyr-sdk_DIRS : Install dir of the Zephyr-SDK
34 # Each entry in Zephyr-SDK has a corresponding entry in Zephyr-SDK_DIRS.
36 # index: Zephyr-sdk: Zephyr-sdk_DIRS:
37 # 0 0.15.0 /opt/zephyr-sdk-0.15.0
38 # 1 0.16.0 /home/<user>/zephyr-sdk-0.16.0
52 # Load Zephyr SDK Toolchain.
53 # There are three scenarios where Zephyr SDK should be looked up:
66 message(STATUS "ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK")
76 # The Zephyr SDK will automatically set the toolchain variant.
77 # To support Zephyr SDK tools (DTC, and other tools) with 3rd party toolchains
80 find_package(Zephyr-sdk ${Zephyr-sdk_FIND_VERSION_COMPLETE}
87 # Paths that are used to find installed Zephyr SDK versions
97 # Search for Zephyr SDK version 0.0.0 which does not exist, this is needed to
100 find_package(Zephyr-sdk 0.0.0 EXACT QUIET CONFIG PATHS ${zephyr_sdk_search_paths})
104 if(NOT DEFINED Zephyr-sdk-${version}_DIR)
105 set(Zephyr-sdk-${version}_DIR ${config})
113 set(Zephyr-sdk)
117 cmake_path(GET Zephyr-sdk-${version}_DIR PARENT_PATH dir)
119 list(APPEND Zephyr-sdk ${version})
122 message(STATUS "Zephyr-sdk, version=${version}, dir=${dir}")
135 # Loop over each found Zepher SDK version until one is found that is compatible.
141 # of the Zephyr SDK so it can be checked.
142 … cmake_path(GET Zephyr-sdk-${zephyr_sdk_candidate}_DIR PARENT_PATH zephyr_sdk_current_check_path)
146 …find_package(Zephyr-sdk ${Zephyr-sdk_FIND_VERSION_COMPLETE} QUIET CONFIG PATHS ${zephyr_sdk_curren…
149 # A compatible version of the Zephyr SDK has been found which is the highest
157 # This means no compatible Zephyr SDK versions were found, set the version
159 …find_package(Zephyr-sdk ${Zephyr-sdk_FIND_VERSION_COMPLETE} REQUIRED CONFIG PATHS ${zephyr_sdk_sea…
177 # Cache the Zephyr SDK install dir.
178 set(ZEPHYR_SDK_INSTALL_DIR ${ZEPHYR_SDK_INSTALL_DIR} CACHE PATH "Zephyr SDK install directory")