libc/glibc: fix installing syscall.h when installing start-files.
Reported-by: Rafael C <groups.r2@gmail.com>
Reported-by: Jérôme BARDON <bardon.pro@gmail.com>
Reported-by: Daniel Price <daniel.price@gmail.com>
[yann.morin.1998@free.fr: use a conditional approach, also suggested by Daniel]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
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.