bab3a2562e
ZEPHYR_SDK_INSTALL_DIR will be set as an internal CMake variable when using the Zephyr SDK. The Zephyr SDK zephyr/host-tools.cmake will ensure to set the CMake ZEPHYR_SDK_INSTALL_DIR variable to the environment setting, or the install directory in case the CMake package was used. Users not using the environment variable will experience the following error: ``` Linking C executable zephyr/.../bootloader/bootloader.elf FAILED: zephyr/.../bootloader/bootloader.elf <path>/xtensa-zephyr-elf/bin/ld: cannot find -lhal ``` This commit ensures code build correctly both when setting the environment variable ZEPHYR_SDK_INSTALL_DIR, and when using Zephyr SDK CMake `find_package(Zephyr-sdk)` Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no> |
||
---|---|---|
.. | ||
common | ||
include | ||
adsp.c | ||
bootloader.cmake | ||
CMakeLists.txt | ||
Kconfig.defconfig | ||
Kconfig.soc | ||
linker.ld | ||
main_entry.S | ||
memory.h | ||
soc.c | ||
soc.h | ||
soc_mp.c |