toolchain: espressif: mark newlib support false
newlib is not supported with this toolchain, so mark it as such and filter tests based on the variable defined in the toolchain file. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
45a9786a41
commit
fc3d8ac863
6 changed files with 8 additions and 0 deletions
|
|
@ -12,3 +12,5 @@ set(SYSROOT_TARGET xtensa-esp32-elf)
|
|||
set(CROSS_COMPILE ${TOOLCHAIN_HOME}/bin/${CROSS_COMPILE_TARGET}-)
|
||||
set(SYSROOT_DIR ${TOOLCHAIN_HOME}/${SYSROOT_TARGET})
|
||||
|
||||
set(TOOLCHAIN_HAS_NEWLIB ON CACHE BOOL "True if toolchain supports newlib")
|
||||
|
||||
|
|
|
|||
|
|
@ -23,3 +23,4 @@ set(SYSROOT_TARGET arm-none-eabi)
|
|||
|
||||
set(CROSS_COMPILE ${TOOLCHAIN_HOME}/bin/${CROSS_COMPILE_TARGET}-)
|
||||
set(SYSROOT_DIR ${TOOLCHAIN_HOME}/${SYSROOT_TARGET})
|
||||
set(TOOLCHAIN_HAS_NEWLIB ON CACHE BOOL "True if toolchain supports newlib")
|
||||
|
|
|
|||
|
|
@ -37,5 +37,6 @@ set(TOOLCHAIN_HOME ${ISSM_INSTALLATION_PATH}/tools/compiler/${specific_version})
|
|||
set(CROSS_COMPILE ${TOOLCHAIN_HOME}/bin/${CROSS_COMPILE_TARGET}-)
|
||||
set(SYSROOT_DIR ${TOOLCHAIN_HOME}/${SYSROOT_TARGET})
|
||||
|
||||
set(TOOLCHAIN_HAS_NEWLIB ON CACHE BOOL "True if toolchain supports newlib")
|
||||
|
||||
# TODO: What was _version used for?
|
||||
|
|
|
|||
|
|
@ -23,3 +23,5 @@ list(APPEND TOOLCHAIN_C_FLAGS -fms-extensions)
|
|||
list(APPEND TOOLCHAIN_C_FLAGS
|
||||
-D__SIZEOF_LONG__=4
|
||||
)
|
||||
|
||||
set(TOOLCHAIN_HAS_NEWLIB OFF CACHE BOOL "True if toolchain supports newlib")
|
||||
|
|
|
|||
|
|
@ -21,3 +21,4 @@ set(SYSROOT_TARGET ${CROSS_COMPILE_TARGET})
|
|||
|
||||
set(CROSS_COMPILE ${TOOLCHAIN_HOME}/${CROSS_COMPILE_TARGET}/bin/${CROSS_COMPILE_TARGET}-)
|
||||
set(SYSROOT_DIR ${TOOLCHAIN_HOME}/${SYSROOT_TARGET}/${SYSROOT_TARGET})
|
||||
set(TOOLCHAIN_HAS_NEWLIB ON CACHE BOOL "True if toolchain supports newlib")
|
||||
|
|
|
|||
|
|
@ -7,3 +7,4 @@ set(SYSROOT_TARGET i586-${TOOLCHAIN_VENDOR}-elf)
|
|||
|
||||
set(CROSS_COMPILE ${TOOLCHAIN_HOME}/${CROSS_COMPILE_TARGET}/bin/${CROSS_COMPILE_TARGET}-)
|
||||
set(SYSROOT_DIR ${ZEPHYR_SDK_INSTALL_DIR}/sysroots/${SYSROOT_TARGET}/usr)
|
||||
set(TOOLCHAIN_HAS_NEWLIB ON CACHE BOOL "True if toolchain supports newlib")
|
||||
|
|
|
|||
Loading…
Reference in a new issue