Newlib sys folder Makefile question.
micael@hildenborg.com
micael@hildenborg.com
Wed Feb 4 08:51:04 GMT 2026
I need to add a folder to "newlib/libc/sys" that I plan to call "atarielf".
I also need to add a "Makefile.inc" to that new folder.
That in turn needs a modification to the "newlib/libc/Makefile.inc" file.
Which needs a rebuild of "Makefile.in".
So I tried building "Makefile.in" on a fresh and clean repository to see if it resulted in any differences, and yes there was a lot of them.
So that is not something I would like to add in a patch.
So I thought that maybe I could hand edit "Makefile.in" to reflect the changes in "Makefile.inc".
But looking at "Makefile.in" shows that a lot of stuff is sequentially numbered, such as: "am__append_44" and "am__objects_55".
So I get a feeling that hand editing might be bad.
So my question is basically: is there a safe and easy way for me to add "newlib/libc/sys/atarielf/Makefile.in" to the build system?
/Mikael Hildenborg.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/newlib/attachments/20260204/e7e78312/attachment.htm>
More information about the Newlib
mailing list