WIP newlib.mk: fix regressions and global cleanups, tracking evolutions of newlib.mk#9512
WIP newlib.mk: fix regressions and global cleanups, tracking evolutions of newlib.mk#9512cladmi wants to merge 11 commits intoRIOT-OS:masterfrom
Conversation
62eb720 to
9d36929
Compare
|
One of the nice things that should be taken from the fact that nobody really complained that these fixes are needed (except api change), is that the fixes added by #9394 may be fixing everybody case. |
|
I thought about another idea for testing in |
454f0e7 to
d1bb8d7
Compare
d1bb8d7 to
fa7082a
Compare
fa7082a to
14a8b10
Compare
This does prevents adding '-isystem' with nothing after which makes the next item in the list `-I/path/RIOT/core/include` considered as an include directory with the '-I' in the path.
Add a function that returns the absolute path to directories if they contain newlib.h
14a8b10 to
87aba27
Compare
|
@fjmolinas Do you have this on your radar? |
Not really, I'm not familiar with newlib. I can but it on the todo list, but will not have time for a while. |
|
Ping @fjmolinas |
|
Since this PR has been stale for several years, I'll convert it to a draft. Please feel free to remove the draft state if anyone wants to pick this up again. |
Contribution description
WARN: I wanted to re-test commits from this PR after rebasing them multiple times, but could not find time. However I prefer uploading it instead of keeping it local
This started as a PR to fix:
NEWLIB_INCLUDE_DIR-isystem $(empty_variable)to INCLUDESAnd this ended up in also some refactoring, tests.
It is still work in progress
This PR grew quite big and went beyond what I originally planed.
I will split it, refactor and re-organize commits.
I also plan to add parts of #9415 but not the 'nano.specs' this should be kept in the original pr.
I on purpose separated commits to allow adding small parts separately and removing other too problematic ones.
Split PRs
Issues/PRs references
Problems mentioned in #9452