2009-05-22 14:46:18 +00:00
|
|
|
# newlib options
|
|
|
|
|
2011-05-08 19:02:44 +02:00
|
|
|
## depends on BARE_METAL
|
|
|
|
##
|
|
|
|
## select LIBC_SUPPORT_THREADS_NONE
|
2014-12-15 12:11:52 +10:00
|
|
|
## select CC_CORE_PASSES_NEEDED if CANADIAN
|
|
|
|
## select CC_CORE_PASS_2_NEEDED if ! CANADIAN
|
2011-05-08 19:02:44 +02:00
|
|
|
##
|
|
|
|
## help Newlib is a C library intended for use on embedded systems. It is a
|
|
|
|
## help conglomeration of several library parts, all under free software
|
|
|
|
## help licenses that make them easily usable on embedded products. Newlib
|
|
|
|
## help is only available in source form. It can be compiled for a wide
|
|
|
|
## help array of processors, and will usually work on any architecture with
|
|
|
|
## help the addition of a few low-level routines.
|
2015-11-26 05:07:37 -08:00
|
|
|
|
2017-05-27 00:01:49 -07:00
|
|
|
source "config/versions/newlib.in"
|
2015-08-31 00:16:29 +02:00
|
|
|
|
|
|
|
# maybe older versions of newlib will support it too, but this
|
|
|
|
# needs to be checked
|
2017-05-27 00:01:49 -07:00
|
|
|
config NEWLIB_CXA_ATEXIT
|
|
|
|
def_bool y
|
|
|
|
depends on NEWLIB_2_0_or_later
|
2015-08-31 00:16:29 +02:00
|
|
|
select LIBC_PROVIDES_CXA_ATEXIT
|
2017-05-29 22:32:38 -07:00
|
|
|
|
|
|
|
config NEWLIB_HAS_NANO_MALLOC
|
|
|
|
def_bool y
|
|
|
|
depends on NEWLIB_2_1_or_later
|
|
|
|
|
|
|
|
config NEWLIB_HAS_NANO_FORMATTED_IO
|
|
|
|
def_bool y
|
|
|
|
depends on NEWLIB_2_2_or_later
|