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
..
2018-04-29 12:06:54 -07:00
2018-04-07 12:03:17 -07:00
2021-12-13 21:19:47 +13:00
2021-12-13 21:19:47 +13:00
2018-04-07 12:03:17 -07:00
2018-04-07 12:03:17 -07:00
2018-04-07 12:03:17 -07:00
2018-04-07 12:03:17 -07:00
2018-04-07 14:39:56 -07:00
2017-04-13 00:07:29 -07:00