From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 02181385DC31 for ; Thu, 17 Mar 2022 02:16:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 02181385DC31 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Received: by smtp.gentoo.org (Postfix, from userid 559) id 27DEF343445; Thu, 17 Mar 2022 02:16:45 +0000 (UTC) From: Mike Frysinger To: newlib@sourceware.org Subject: [RFC/PATCH] newlib: enable automatic dependency generation Date: Wed, 16 Mar 2022 22:16:54 -0400 Message-Id: <20220317021654.15410-1-vapier@gentoo.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2022 02:16:48 -0000 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