Skip to content

Commit

Permalink
Disable newlib-nano
Browse files Browse the repository at this point in the history
Reduce build times so I can get a complete toolchain

Signed-off-by: Keith Packard <[email protected]>
  • Loading branch information
keith-packard committed Oct 21, 2024
1 parent abaa60e commit e3595ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/zephyr/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ config TOOLCHAIN_ZEPHYR_0_17
def_bool y
# FIXME: Newlib-nano is disabled for Xtensa targets due to the memset
# bug causing crashes (see the GitHub issue #660).
select HAS_NEWLIB_LIBC_NANO if !XTENSA
#select HAS_NEWLIB_LIBC_NANO if !XTENSA

config TOOLCHAIN_ZEPHYR_SUPPORTS_THREAD_LOCAL_STORAGE
def_bool y
Expand Down
2 changes: 1 addition & 1 deletion configs/common.config
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y
CT_LIBC_NEWLIB_EXTRA_SECTIONS=y

# Newlib-nano
CT_COMP_LIBS_NEWLIB_NANO=y
CT_COMP_LIBS_NEWLIB_NANO=n
CT_NEWLIB_NANO_SRC_CUSTOM=y
CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib"
CT_NEWLIB_NANO_GCC_LIBSTDCXX=y
Expand Down

0 comments on commit e3595ae

Please sign in to comment.