Skip to content

Commit 482ead1

Browse files
nbdd0121luismarques
authored andcommitted
Disable newlib syscalls for baremetal target
1 parent 74c77a8 commit 482ead1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

lowrisc-toolchain-gcc-rv32imc.config

+3
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,8 @@ CT_GCC_DEVEL_VCS_git=y
5656
CT_GCC_DEVEL_URL="https://gcc.gnu.org/git/gcc.git"
5757
CT_GCC_DEVEL_REVISION="ee5c3db6c5b2c3332912fb4c9cfa2864569ebd9a"
5858

59+
# This is a baremetal target so don't use syscalls.
60+
CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
61+
5962
# The build script appends a definition of CT_LOCAL_PATCH_DIR down here, that
6063
# points to the repo's patch directory.

lowrisc-toolchain-gcc-rv32imcb.config

+3
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,8 @@ CT_GCC_DEVEL_VCS_git=y
7373
CT_GCC_DEVEL_URL="https://github.com/riscv-collab/riscv-gcc"
7474
CT_GCC_DEVEL_REVISION="73055647d33c0b63a3125c372019d1dac0f8ac34"
7575

76+
# This is a baremetal target so don't use syscalls.
77+
CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
78+
7679
# The build script appends a definition of CT_LOCAL_PATCH_DIR down here, that
7780
# points to the repo's patch directory.

0 commit comments

Comments
 (0)