zephyr-core/zephyr-kernel: specify newlib capability with cross-compile toolchain

Zephyr upstream reconfigurations now require either the CMake variable
TOOLCHAIN_HAS_NEWLIB or Kconfig NEWLIB_LIBC_SUPPORTED in order to build
with FULL_LIBC_SUPPORTED and NEWLIB.

This cross-compile toolchain does indeed have full newlib support available
so we need to now specify that so it can be used.

Signed-off-by: Nicholas Lowell <Nicholas.Lowell@lexmark.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
This commit is contained in:
Nicholas Lowell
2025-04-04 19:09:33 +00:00
committed by Naveen Saini
parent dc75d6db11
commit 660188752e

View File

@@ -6,6 +6,7 @@ SYSROOT_DIR="${STAGING_DIR_TARGET}"
EXTRA_OECMAKE:append = " \
-DCROSS_COMPILE=${CROSS_COMPILE} \
-DSYSROOT_DIR=${SYSROOT_DIR} \
-DTOOLCHAIN_HAS_NEWLIB=ON \
"
OE_TERMINAL_EXPORTS += "CROSS_COMPILE"