From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gateway24.websitewelcome.com (gateway24.websitewelcome.com [192.185.51.209]) by sourceware.org (Postfix) with ESMTPS id C34C13851C29 for ; Tue, 15 Jun 2021 20:08:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C34C13851C29 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=tromey.com Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway24.websitewelcome.com (Postfix) with ESMTP id 3EB8D518A0 for ; Tue, 15 Jun 2021 15:08:37 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id tFMTlg9YWK61itFMTlIyD7; Tue, 15 Jun 2021 15:08:37 -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-Type:MIME-Version:Message-ID:In-Reply-To:Date:References :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: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=zlW0DKYpB3pqWwOGgcYIYOgtMEiOBpwuGBcnCXd5N+4=; b=AtY6KwGYRUvqj6PVw1Sb32005Y fMbw+sccRsdt0Zp/20/BXdO/2vEV4yN2/hTnC+aO8RhMNQbJe8zEPWPv6e18uXzrb061exLVHHV2a 9W/jWWXxZG9dSQd9eCzi/hRm1; Received: from 97-122-95-220.hlrn.qwest.net ([97.122.95.220]:53736 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ltFMS-001Jw0-Pt; Tue, 15 Jun 2021 14:08:36 -0600 From: Tom Tromey To: Mike Frysinger via Gdb-patches Subject: Re: [PATCH] sim: switch modules.c & version.c to stamp files References: <875yzt9cij.fsf@tromey.com> <20210615003949.6507-1-vapier@gentoo.org> X-Attribution: Tom Date: Tue, 15 Jun 2021 14:08:36 -0600 In-Reply-To: <20210615003949.6507-1-vapier@gentoo.org> (Mike Frysinger via Gdb-patches's message of "Mon, 14 Jun 2021 20:39:49 -0400") Message-ID: <87a6nqgabf.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 97.122.95.220 X-Source-L: No X-Exim-ID: 1ltFMS-001Jw0-Pt X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-95-220.hlrn.qwest.net (murgatroyd) [97.122.95.220]:53736 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-Spam-Status: No, score=-3023.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, JMQ_SPF_NEUTRAL, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_NEUTRAL, TXREP autolearn=no 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: Tue, 15 Jun 2021 20:08:39 -0000 >>>>> "Mike" == Mike Frysinger via Gdb-patches writes: Mike> This fixes remaking of these files and avoids unnecessary rebuilds. Mike> # See sim_pre_argv_init and sim_module_install in sim-module.c for more details. Mike> -modules.c: Makefile $(SIM_OBJS:.o=.c) Mike> +modules.c: stamp-modules ; @true Mike> +stamp-modules: Makefile $(SIM_OBJS:.o=.c) I didn't look at how the .c file is handled, but if 'make clean' removes it, then it ought to remove the stamp file as well. Tom