crosstool-ng/scripts/build
Stephanos Ioannidis 1da7698b7c newlib-nano: Fix include path for CT_NEWLIB_NANO_INSTALL_IN_TARGET
When `CT_NEWLIB_NANO_INSTALL_IN_TARGET=y`, the `nano.specs` file
emitted by the newlib-nano build script contains an invalid include
path, resulting in the full `newlib.h` being included instead of the
nano `newlib.h` by the application.

`=/include/newlib-nano` is not a valid path (`=` does not mean anything
and that string is taken as an include path as-is) and GCC ignores this
include path, resulting in application including the `newlib.h` from
`include/` which contains the newlib build configurations for the full
newlib.

This commit modifies the newlib-nano build script to emit a proper
newlib-nano include path relative to the `GCC_EXEC_PREFIX`.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-05-12 20:58:29 +12:00
..
arch Remove obsolete bionic/android support 2022-05-10 19:46:53 +12:00
binutils binutils: Disable libdebuginfod when producing a static toolchain 2022-02-23 20:20:34 +13:00
cc cc/gcc: Create liblto_plugin symbolic link with correct extension 2022-05-11 20:25:42 +12:00
companion_libs newlib-nano: Fix include path for CT_NEWLIB_NANO_INSTALL_IN_TARGET 2022-05-12 20:58:29 +12:00
companion_tools Convert tabs to spaces 2022-02-11 00:47:51 -08:00
debug gdb: drop obsolete versions 2022-05-10 19:46:53 +12:00
kernel Add support for no-mmu microblaze 2021-08-25 17:36:47 +10:00
libc Remove obsolete glibc 2.12.1 2022-05-10 19:46:53 +12:00
test_suite Fix the references to old config variables 2017-07-08 10:57:56 -07:00
arch.sh Add config flags for omitting 'arch' and 'vendor' 2018-12-10 01:10:01 -08:00
companion_libs.sh Build companion libs for target. 2015-11-13 10:24:22 -08:00
companion_tools.sh Some locations were missed while renaming kconfig symbols 2017-07-08 10:57:57 -07:00
debug.sh Some locations were missed while renaming kconfig symbols 2017-07-08 10:57:57 -07:00
internals.sh build/internals.sh: Handle pie executables 2019-09-14 22:21:11 +12:00
libc.sh Fold libc_start_files into libc 2022-02-11 00:47:51 -08:00
test_suite.sh Some locations were missed while renaming kconfig symbols 2017-07-08 10:57:57 -07:00