Skip to content
Snippets Groups Projects
Unverified Commit 37a92c4c authored by Gaëtan Harter's avatar Gaëtan Harter
Browse files

newlib.mk: Windows/MSYS Bash support: use realpath instead of abspath

Some versions of Mingw32 abspath implementation has trouble working with
windows formatted path.

    $(abspath "C:/A/B") returns "/C/CUR/DIR/C:/A/B" instead of "/C/A/B"

relpath does not have this problem, it does additional symlink resolution but is
not a problem.
Note: on windows it does not remove the trailing `/`.

https://github.com/zephyrproject-rtos/zephyr/issues/2061#issuecomment-331635063

Patched in

https://github.com/zephyrproject-rtos/zephyr/commit/941059c69f9488613775a1a8802a099447cdea4c
parent 3a4538ee
Branches
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment