Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mike Frysinger via Gdb-patches <gdb-patches@sourceware.org>
To: Sebastian Huber <sebastian.huber@embedded-brains.de>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH/committed v2] sim: common: simplify version script
Date: Tue, 19 Jan 2021 10:55:35 -0500	[thread overview]
Message-ID: <YAcA93fL+BPjLNkE@vapier> (raw)
In-Reply-To: <2570c7e1-c3f5-52eb-61a7-9e907b3e2731@embedded-brains.de>

On 19 Jan 2021 10:29, Sebastian Huber wrote:
> maybe this broke the ppc simulator:

should be fixed by this commit i just pushed.  lmk if it doesn't.

From e3611d5be9a11f31a145768fbaf9301e0cc0bb42 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Tue, 19 Jan 2021 10:52:33 -0500
Subject: [PATCH] sim: ppc: update version script usage

This matches the changes in the common code.
---
 sim/ppc/ChangeLog   | 4 ++++
 sim/ppc/Makefile.in | 5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)

2021-01-19  Mike Frysinger  <vapier@gentoo.org>

	* Makefile.in (version.c): Simplifiy args and call move-if-change.

diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in
index 8ad76c6ed3b1..8c62f44297eb 100644
--- a/sim/ppc/Makefile.in
+++ b/sim/ppc/Makefile.in
@@ -549,8 +549,9 @@ $(TARGETLIB): tmp-igen tmp-dgen tmp-hw tmp-pk tmp-defines $(LIB_OBJ) $(GDB_OBJ)
 	$(RANLIB) $(TARGETLIB)
 
 version.c: Makefile $(srcroot)/gdb/version.in $(srcroot)/bfd/version.h $(srcroot)/sim/common/create-version.sh
-	$(SHELL) $(srcroot)/sim/common/create-version.sh $(srcroot)/gdb \
-	    $(host_alias) $(target_alias) version.c
+	$(SHELL) $(srcroot)/sim/common/create-version.sh $(srcroot)/gdb $@.tmp
+	$(SHELL) $(srcroot)/move-if-change $@.tmp $@
+	touch $@
 version.o: version.c $(version_h)
 
 psim.o: psim.c $(CPU_H) $(IDECODE_H) $(OPTIONS_H) $(TREE_H) $(BFD_H)
-- 
2.28.0

  reply	other threads:[~2021-01-19 15:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-17 11:19 [PATCH] " Mike Frysinger via Gdb-patches
2021-01-18  9:57 ` Andrew Burgess
2021-01-18 17:27   ` [PATCH/committed v2] " Mike Frysinger via Gdb-patches
2021-01-19  9:29     ` Sebastian Huber
2021-01-19 15:55       ` Mike Frysinger via Gdb-patches [this message]
2021-01-20  5:22         ` Sebastian Huber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YAcA93fL+BPjLNkE@vapier \
    --to=gdb-patches@sourceware.org \
    --cc=sebastian.huber@embedded-brains.de \
    --cc=vapier@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox