aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-04-13 23:16:46 -0400
committerMike Frysinger <vapier@gentoo.org>2015-04-13 23:17:53 -0400
commit887bddbcad907021f4cb98168cd51f2631e6cfc8 (patch)
treeab5d7c99c976b6a093c9e8c4f9e159f286915549 /sim
parentaf6407fc3c57a6fc9af11bab876d0865265197cf (diff)
downloadgdb-887bddbcad907021f4cb98168cd51f2631e6cfc8.zip
gdb-887bddbcad907021f4cb98168cd51f2631e6cfc8.tar.gz
gdb-887bddbcad907021f4cb98168cd51f2631e6cfc8.tar.bz2
sim: ppc: fix up version script
The common sim code has switched to using gdb directly; update the ppc copy too.
Diffstat (limited to 'sim')
-rw-r--r--sim/ppc/ChangeLog5
-rw-r--r--sim/ppc/Makefile.in5
2 files changed, 8 insertions, 2 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index 51963846..cd185ba 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-13 Mike Frysinger <vapier@gentoo.org>
+
+ * Makefile.in (version.o): Change to using create-version.sh from gdb.
+ (create-version.sh): Delete.
+
2015-03-31 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in
index 964a7b3..5278f3b 100644
--- a/sim/ppc/Makefile.in
+++ b/sim/ppc/Makefile.in
@@ -565,8 +565,9 @@ $(TARGETLIB): tmp-igen tmp-dgen tmp-hw tmp-pk tmp-defines $(LIB_OBJ) $(GDB_OBJ)
$(AR) $(AR_FLAGS) $(TARGETLIB) $(LIB_OBJ) $(GDB_OBJ)
$(RANLIB) $(TARGETLIB)
-version.c: Makefile $(srccom)/create-version.sh ../../bfd/version.h ../../gdb/version.in
- $(SHELL) $(srccom)/create-version.sh $(srcsim) $(host_alias) $(target_alias) version.c
+version.c: Makefile $(srcroot)/gdb/version.in $(srcroot)/bfd/version.h $(srcroot)/gdb/common/create-version.sh
+ $(SHELL) $(srcroot)/gdb/common/create-version.sh $(srcroot)/gdb \
+ $(host_alias) $(target_alias) version.c
version.o: version.c $(version_h)
psim.o: psim.c $(CPU_H) $(IDECODE_H) $(OPTIONS_H) $(TREE_H) $(BFD_H)