zephyr/soc
Torsten Rasmussen bab3a2562e xtensa: changing $ENV{ZEPHYR_SDK_INSTALL_DIR} to CMake var
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>
2020-07-02 11:32:58 -07:00
..
arc boards: arc: emsdp: fix secure config for emsdp_em7d_esp 2020-06-09 11:30:37 +02:00
arm soc: arm: st_stm32 add low power to stm32wb series 2020-07-02 08:45:40 -04:00
nios2 soc: nios2: Cleanup linker scripts to use new DTS macros 2020-04-30 20:59:13 -05:00
posix zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
riscv linker: Remove deprecated Kconfig options related to linker scripts 2020-06-12 11:14:28 +02:00
x86 soc/x86/apollo_lake: Use MMIO PCI config access by default 2020-06-23 13:07:39 +02:00
xtensa xtensa: changing $ENV{ZEPHYR_SDK_INSTALL_DIR} to CMake var 2020-07-02 11:32:58 -07:00
Kconfig linker: Remove deprecated Kconfig options related to linker scripts 2020-06-12 11:14:28 +02:00