[RFC/PATCH] newlib: enable automatic dependency generation
Thu Mar 17 09:49:59 GMT 2022
On Mar 17 07:25, Sebastian Huber wrote:
> On 17/03/2022 03:16, Mike Frysinger wrote:
> > This was disabled as part of the migration away from the cygnus option
> > as that implied no-dependencies.
> > We currently have 1-to-1 updates enabled -- if you touch a .c file,
> > the corresponding .o file will be rebuilt. But if you touch a header
> > file, none of the files using that get rebuilt.
> > Not sure how much we care. I think we want this since it's probably
> > what people are expecting. It increases the size of the Makefile a
> > bit, and adds a little build overhead to generate & process.
> I think the proper dependency tracking should be enabled. This helps
> everyone doing changes in Newlib. The dependency files generated by GCC are
> also sometimes helpful to figure out what is actually used to build a file.
Right, we want that.
More information about the Newlib