summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2021-01-08 01:21:39 (GMT)
committerKeith Packard <keithp@keithp.com>2021-01-09 01:48:33 (GMT)
commit7e457684ea05795be91265cc5bc0320995288871 (patch)
tree55e4c5f26808cdd4af017daed90e243cc277d1e9 /config
parente785f7c5c44fbf885425506d1e9660f119d18959 (diff)
picolibc: Convert to companion library
This allows configurations to include picolibc without excluding another C library. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'config')
-rw-r--r--config/comp_libs/picolibc.in (renamed from config/libc/picolibc.in)13
1 files changed, 5 insertions, 8 deletions
diff --git a/config/libc/picolibc.in b/config/comp_libs/picolibc.in
index cc1d4d1..a3f07d6 100644
--- a/config/libc/picolibc.in
+++ b/config/comp_libs/picolibc.in
@@ -1,17 +1,14 @@
# picolibc options
## depends on BARE_METAL && CONFIGURE_has_meson && CONFIGURE_has_ninja
-## select LIBC_SUPPORT_THREADS_NATIVE
-
-## select CC_CORE_PASSES_NEEDED if CANADIAN
-## select CC_CORE_PASS_2_NEEDED if ! CANADIAN
+## help This option adds Picolibc to an existing configuration which may have
+## help a C library, allowing you to install both and select between them
+## help when compiling applications using the toolchain
+## help
## help Picolibc is a C library intended for use on embedded systems. It is a
## help conglomeration of several library parts, all under BSD-compatible software
-## help licenses that make them easily usable on embedded products. Picolibc
-## 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.
+## help licenses that make them easily usable on embedded products.
config PICOLIBC_CXA_ATEXIT
def_bool y