summaryrefslogtreecommitdiff
path: root/config/libc/newlib.in.2
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2016-01-13 14:22:18 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2016-03-08 12:48:27 (GMT)
commit929e027500188ee1857b41c7b652ea0cdbc28b1d (patch)
tree8725c528751185f48801bf95aae6bf005840788c /config/libc/newlib.in.2
parent9d5fc3fd9b1e7a13a88daedbc11b7a797ae36322 (diff)
newlib: add option to enable nano malloc
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'config/libc/newlib.in.2')
-rw-r--r--config/libc/newlib.in.211
1 files changed, 11 insertions, 0 deletions
diff --git a/config/libc/newlib.in.2 b/config/libc/newlib.in.2
index b16b23a..ed35566 100644
--- a/config/libc/newlib.in.2
+++ b/config/libc/newlib.in.2
@@ -44,6 +44,17 @@ config LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE
This will compile newlib with -Os.
+config LIBC_NEWLIB_NANO_MALLOC
+ bool
+ prompt "Enable Nano Malloc"
+ depends on LIBC_NEWLIB_2_1_or_later
+ help
+ NEWLIB has two implementations of malloc family's functions, one in
+ `mallocr.c' and the other one in `nano-mallocr.c'. This options
+ enables the nano-malloc implementation, which is for small systems
+ with very limited memory. Note that this implementation does not
+ support `--enable-malloc-debugging' any more.
+
config LIBC_NEWLIB_EXTRA_CONFIG_ARRAY
string
prompt "Extra config for newlib"