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
..
2019-04-04 18:57:42 -07:00
2022-02-11 00:47:50 -08:00
2019-04-04 18:57:42 -07:00
2022-02-11 00:47:50 -08:00
2019-04-04 18:57:42 -07:00
2019-04-04 18:57:42 -07:00
2019-04-04 18:57:42 -07:00
2022-02-11 00:47:51 -08:00
2021-08-22 18:08:13 +03:00