Merge pull request #1284 from stephanosio/newlib_retargetable_locking

Add newlib retargetable locking configuration
This commit is contained in:
Alexey Neyman 2019-12-23 14:47:11 -08:00 committed by GitHub
commit f886492530
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -152,6 +152,13 @@ config LIBC_NEWLIB_MULTITHREAD
help
Enable support for multiple threads.
config LIBC_NEWLIB_RETARGETABLE_LOCKING
bool
prompt "Enable retargetable locking"
help
Enable retargetable locking to allow the operating system to override
the dummy lock functions defined within the newlib.
config LIBC_NEWLIB_EXTRA_SECTIONS
bool
prompt "Place each function & data element in their own section"

View File

@ -63,6 +63,7 @@ GLOBAL_ATEXIT:newlib-global-atexit
LITE_EXIT:lite-exit
REENT_SMALL:newlib-reent-small
MULTITHREAD:newlib-multithread
RETARGETABLE_LOCKING:newlib-retargetable-locking
WIDE_ORIENT:newlib-wide-orient
UNBUF_STREAM_OPT:newlib-unbuf-stream-opt
ENABLE_TARGET_OPTSPACE:target-optspace