diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-01-19 10:52:33 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-01-19 10:54:06 -0500 |
commit | c65ca138c4be913964dbd332c44e861fced991cd (patch) | |
tree | 50e0aae9169cec090c82565b8c04f6c6b169cd6a | |
parent | ccbe4c82d5219502806dc62aa1cf51e5b1a4b479 (diff) | |
download | fsf-binutils-gdb-c65ca138c4be913964dbd332c44e861fced991cd.zip fsf-binutils-gdb-c65ca138c4be913964dbd332c44e861fced991cd.tar.gz fsf-binutils-gdb-c65ca138c4be913964dbd332c44e861fced991cd.tar.bz2 |
sim: ppc: update version script usage
This matches the changes in the common code.
-rw-r--r-- | sim/ppc/ChangeLog | 4 | ||||
-rw-r--r-- | sim/ppc/Makefile.in | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 6906cc2..1086ea9 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,7 @@ +2021-01-19 Mike Frysinger <vapier@gentoo.org> + + * Makefile.in (version.c): Simplifiy args and call move-if-change. + 2021-01-11 Mike Frysinger <vapier@gentoo.org> * configure.ac: Delete checks for stdlib.h, string.h, diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index 8ad76c6..8c62f44 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) |