Re: [RFC/PATCH] newlib: enable automatic dependency generation
Corinna Vinschen <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
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. Corinna