From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gateway20.websitewelcome.com (gateway20.websitewelcome.com [192.185.68.24]) by sourceware.org (Postfix) with ESMTPS id 6AB243857033 for ; Thu, 8 Apr 2021 20:35:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6AB243857033 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=tom@tromey.com Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway20.websitewelcome.com (Postfix) with ESMTP id C4786400E03E2 for ; Thu, 8 Apr 2021 15:24:50 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id UbL0l98L9w11MUbL0loBa8; Thu, 08 Apr 2021 15:33:14 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=qEICEtjtVjAA5m++hQ5SCLX4/3FXVjc5BtDUrKSRH9M=; b=e3R35F5mE3Nrmwqn/8OKG/7L7U ElbhnlZSRCnQjFnKNU/UUpXiiTYz5V+5qwiVzoyijM8akF0gsdYOJCzCyjJtgKaZGMHKLIUHHIjGb NsD4WHtTEHA2amY0pFh6hhc8l; Received: from 71-211-182-15.hlrn.qwest.net ([71.211.182.15]:55942 helo=localhost.localdomain) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1lUbL0-000UdK-7p; Thu, 08 Apr 2021 14:33:14 -0600 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH 03/10] Add stamp files for generated files in sim/ppc Date: Thu, 8 Apr 2021 14:33:05 -0600 Message-Id: <20210408203312.2938165-4-tom@tromey.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210408203312.2938165-1-tom@tromey.com> References: <20210408203312.2938165-1-tom@tromey.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 71.211.182.15 X-Source-L: No X-Exim-ID: 1lUbL0-000UdK-7p X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 71-211-182-15.hlrn.qwest.net (localhost.localdomain) [71.211.182.15]:55942 X-Source-Auth: tom+tromey.com X-Email-Count: 4 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-Spam-Status: No, score=-3028.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, JMQ_SPF_NEUTRAL, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SBL_CSS, SPF_HELO_PASS, SPF_NEUTRAL, TXREP, URIBL_CSS, URIBL_CSS_A autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2021 20:35:16 -0000 This changes the sim/ppc Makefile to use the stamp file idiom for a couple of generated files, avoiding extra rebuilds. sim/ppc/ChangeLog 2021-04-08 Tom Tromey * Makefile.in (stamp-vals, stamp-map): New targets. (targ-vals.h, targ-map.c): Update. (clean): Remove files. --- sim/ppc/ChangeLog | 6 ++++++ sim/ppc/Makefile.in | 9 +++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index d9d01985404..7686937f421 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -635,15 +635,19 @@ targ-vals.def: $(srcdir)/../common/nltvals.def cat $(srcdir)/../common/nltvals.def > tmp-vals.def $(SHELL) $(srcdir)/../../move-if-change tmp-vals.def targ-vals.def -targ-vals.h: Makefile gentmap $(srcdir)/../../move-if-change +targ-vals.h: stamp-vals ; @true +stamp-vals: Makefile gentmap $(srcdir)/../../move-if-change rm -f tmp-vals.h ./gentmap -h > tmp-vals.h $(SHELL) $(srcdir)/../../move-if-change tmp-vals.h targ-vals.h + @echo stamp > stamp-vals -targ-map.c: Makefile gentmap $(srcdir)/../../move-if-change +targ-map.c: stamp-map; @true +stamp-map: Makefile gentmap $(srcdir)/../../move-if-change rm -f tmp-map.c ./gentmap -c > tmp-map.c $(SHELL) $(srcdir)/../../move-if-change tmp-map.c targ-map.c + @echo stamp > stamp-map callback.o: $(srcdir)/../common/callback.c $(TARG_VALS_H) $(CONFIG_H) $(CC) -c $(STD_CFLAGS) -DHAVE_CONFIG_H $(srcdir)/../common/callback.c @@ -871,6 +875,7 @@ TAGS: $(BUILT_SRC) clean mostlyclean: rm -f tmp-* *.[oasi] core psim$(EXEEXT) run$(EXEEXT) igen dgen $(BUILT_SRC_WO_CONFIG) gentmap + rm -f stamp-vals targ-vals.h stamp-map targ-map.c distclean realclean: clean rm -f TAGS Makefile config.cache config.status config.h defines.h stamp-h config.log -- 2.26.2