sim: ppc: update version script usage

This matches the changes in the common code.
This commit is contained in:
Mike Frysinger 2021-01-19 10:52:33 -05:00
parent ccbe4c82d5
commit c65ca138c4
2 changed files with 7 additions and 2 deletions

View File

@ -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,

View File

@ -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)