From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 91264 invoked by alias); 8 Sep 2015 11:00:27 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 91248 invoked by uid 89); 8 Sep 2015 11:00:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: fencepost.gnu.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (208.118.235.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 08 Sep 2015 11:00:20 +0000 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52373) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ZZGdO-0004jx-E0 for gcc-patches@gnu.org; Tue, 08 Sep 2015 07:00:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZGdK-0002gq-OT for gcc-patches@gnu.org; Tue, 08 Sep 2015 07:00:17 -0400 Received: from mx2.suse.de ([195.135.220.15]:42864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZGdK-0002gE-JE for gcc-patches@gnu.org; Tue, 08 Sep 2015 07:00:14 -0400 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 0DD10ACCE; Tue, 8 Sep 2015 11:00:11 +0000 (UTC) From: Andreas Schwab To: Tom de Vries Cc: "gcc-patches\@gnu.org" Subject: Re: [RFC] Prevent unnecessary recompilation for trivial params.def changes References: <55EEBC91.7060901@mentor.com> X-Yow: Is this my STOP?? Date: Tue, 08 Sep 2015 11:04:00 -0000 In-Reply-To: <55EEBC91.7060901@mentor.com> (Tom de Vries's message of "Tue, 8 Sep 2015 12:46:41 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 195.135.220.15 X-SW-Source: 2015-09/txt/msg00487.txt.bz2 Tom de Vries writes: > @@ -3236,6 +3236,10 @@ installdirs: > $(mkinstalldirs) $(DESTDIR)$(man1dir) > $(mkinstalldirs) $(DESTDIR)$(man7dir) > > +params.list: $(srcdir)/params-list.h $(srcdir)/params.def > + $(CPP) $(srcdir)/params-list.h | sed 's/^#.*//;/^$$/d' > tmp-params.list > + $(SHELL) $(srcdir)/../move-if-change tmp-params.list params.list > + You need a stamp file to avoid continuous rebuilding, don't you? Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."