From: Mike Frysinger Date: Tue, 19 Jan 2021 15:52:33 +0000 (-0500) Subject: sim: ppc: update version script usage X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c65ca138c4be913964dbd332c44e861fced991cd;p=binutils-gdb.git sim: ppc: update version script usage This matches the changes in the common code. --- diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 6906cc26a6c..1086ea927bc 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,7 @@ +2021-01-19 Mike Frysinger + + * Makefile.in (version.c): Simplifiy args and call move-if-change. + 2021-01-11 Mike Frysinger * configure.ac: Delete checks for stdlib.h, string.h, diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index 8ad76c6ed3b..8c62f44297e 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)