aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2013-10-15 20:42:07 +0000
committerHans-Peter Nilsson <hp@axis.com>2013-10-15 20:42:07 +0000
commit490e58e2ff8de8d65a391f57dc872f4e7aeac318 (patch)
tree8fa62a7a6012b317b7ab273215309ad636d864ab
parent7b0648448ff241a59a3c9c337ff163986da05619 (diff)
downloadgdb-490e58e2ff8de8d65a391f57dc872f4e7aeac318.zip
gdb-490e58e2ff8de8d65a391f57dc872f4e7aeac318.tar.gz
gdb-490e58e2ff8de8d65a391f57dc872f4e7aeac318.tar.bz2
* Makefile.in (srcsim): New variable.
(version.c): Adjust call to $(srccom)/create-version.sh as per change.
-rw-r--r--sim/ppc/ChangeLog5
-rw-r--r--sim/ppc/Makefile.in3
2 files changed, 7 insertions, 1 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index 8415cb4..2946fca 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-15 Hans-Peter Nilsson <hp@axis.com>
+
+ * Makefile.in (srcsim): New variable.
+ (version.c): Adjust call to $(srccom)/create-version.sh as per change.
+
2013-06-28 Tom Tromey <tromey@redhat.com>
* Make-common.in (version.c): Use version.in, not
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in
index 75bb9c3..b811f6f 100644
--- a/sim/ppc/Makefile.in
+++ b/sim/ppc/Makefile.in
@@ -23,6 +23,7 @@ VPATH = @srcdir@
srcdir = @srcdir@
srccom = $(srcdir)/../common
srcroot = $(srcdir)/../..
+srcsim = $(srcdir)/..
prefix = @prefix@
exec_prefix = @exec_prefix@
@@ -564,7 +565,7 @@ $(TARGETLIB): tmp-igen tmp-dgen tmp-hw tmp-pk tmp-defines $(LIB_OBJ) $(GDB_OBJ)
$(RANLIB) $(TARGETLIB)
version.c: Makefile $(srccom)/create-version.sh ../../bfd/version.h ../../gdb/version.in
- $(SHELL) $(srccom)/create-version.sh $(srccom) version.c
+ $(SHELL) $(srccom)/create-version.sh $(srcsim) $(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)