mirror of
https://git.yoctoproject.org/meta-zephyr
synced 2026-01-29 21:58:41 +01:00
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:
committed by
Naveen Saini
parent
dc75d6db11
commit
660188752e
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user