libc/newlib: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.
Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d02252752d4dc5e68ae3.1349931202@localhost.localdomain>
PatchWork-Id: 190795
1 # newlib second-part options
3 config LIBC_NEWLIB_IO_C99FMT
5 prompt "Enable IOs on C99 formats"
7 Enable support for IOs on C99 formats.
9 config LIBC_NEWLIB_IO_LL
11 prompt "Enable IOs on long long"
13 Enable support for IOs on long long integers.
15 config LIBC_NEWLIB_IO_FLOAT
17 prompt "Enable IOs on floats and doubles"
19 Enable support for IOs on floating point
20 values (float and double).
22 config LIBC_NEWLIB_IO_LDBL
24 prompt "Enable IOs on long doubles"
25 depends on LIBC_NEWLIB_IO_FLOAT
27 Enable support for IOs on long doubles.
29 config LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS
31 prompt "Disable the syscalls supplied with newlib"
33 Disable the syscalls that come with newlib. You
34 will have to implement your own _sbrk, _read,
35 _write... If you plan to port newlib to a new
36 platform/board, say Yes.
38 config LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE
40 prompt "Optimize newlib for size"
43 Pass --enable-target-optspace to newlib configure.
45 This will compile newlib with -Os.
47 config LIBC_NEWLIB_EXTRA_CONFIG_ARRAY
49 prompt "Extra config for newlib"
52 Extra flags to pass onto ./configure when configuring the newlib.