[RFC/PATCH] newlib: enable automatic dependency generation
Mike Frysinger
vapier@gentoo.org
Thu Mar 17 02:16:54 GMT 2022
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.
---
newlib/Makefile.in | 38502 ++++++++++++++++++++++++++++++++++--------
newlib/acinclude.m4 | 2 +-
newlib/aclocal.m4 | 316 +
newlib/configure | 442 +
4 files changed, 32111 insertions(+), 7151 deletions(-)
diff --git a/newlib/acinclude.m4 b/newlib/acinclude.m4
index 424460dc76a8..9e4834987716 100644
--- a/newlib/acinclude.m4
+++ b/newlib/acinclude.m4
@@ -114,7 +114,7 @@ AC_SUBST(abs_newlib_basedir)
AC_CANONICAL_HOST
-AM_INIT_AUTOMAKE([foreign no-installinfo no-dependencies no-dist no-define subdir-objects 1.15.1])
+AM_INIT_AUTOMAKE([foreign no-installinfo no-dist no-define subdir-objects 1.15.1])
AM_MAINTAINER_MODE
AM_SILENT_RULES(yes)
--
2.34.1
More information about the Newlib
mailing list