newlib-cygwin/newlib/libc/sys
Mike Frysinger fc0bd2eb03 newlib: use abs_newlib_basedir for -I paths
When we had configure scripts in subdirs, the newlib_basedir value
was computed relative to that, and it'd be the same when used in the
Makefile in the same dir.  With many subdir configure scripts removed,
the top-level configure & Makefile can't use the same relative path.
So switch the subdir Makefiles over to abs_newlib_basedir when they
use -I to find source headers.

Do this for all subdirs, even ones with configure scripts and where
newlib_basedir works.  This makes the code consistent, and avoids
surprises if the configure script is ever removed in the future as
part of merging to the higher level.

Some of the subdirs were using -I$(newlib_basedir)/../newlib/ for
some reason.  Collapse those too since newlib_basedir points to the
newlib source tree already.
2022-01-29 01:35:30 -05:00
..
a29khif newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
amdgcn newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
arm newlib: use abs_newlib_basedir for -I paths 2022-01-29 01:35:30 -05:00
d10v newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
decstation newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
epiphany newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
h8300hms newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
h8500hms newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
linux newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
m88kbug newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
mmixware newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
netware newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
or1k newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
phoenix newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
rdos newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
rtems newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
sh newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
sparc64 newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
sun4 newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
sysmec newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
sysnec810 newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
sysnecv850 newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
sysvi386 newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
sysvnecv70 newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
tic80 newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
tirtos newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
w65 newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00
z8ksim newlib: export abs_newlib_basedir for all subdirs 2022-01-29 01:35:30 -05:00