[RFC/PATCH] newlib: enable automatic dependency generation

Sebastian Huber sebastian.huber@embedded-brains.de
Thu Mar 17 06:25:31 GMT 2022

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.

embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
email: sebastian.huber@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:

More information about the Newlib mailing list