summaryrefslogtreecommitdiff
path: root/sim/common/Make-common.in
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2013-10-15 20:40:22 +0000
committerHans-Peter Nilsson <hp@axis.com>2013-10-15 20:40:22 +0000
commit7b0648448ff241a59a3c9c337ff163986da05619 (patch)
treee32ac823c21a6ca072f2323d27e7eacc5ba21abb /sim/common/Make-common.in
parent85181173183083283b896dc5adbfa318506d9fe4 (diff)
downloadbinutils-gdb-7b0648448ff241a59a3c9c337ff163986da05619.tar.gz
* create-version.sh: Align parameters to match those of
../../gdb/common/create-version.sh. * Make-common.in (srcsim): New variable. (version.c): Adjust call to create-version.sh as per above.
Diffstat (limited to 'sim/common/Make-common.in')
-rw-r--r--sim/common/Make-common.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index afa3894aa38..429fa0cceaf 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -38,6 +38,7 @@ VPATH = @srcdir@:$(srccom)
srcdir = @srcdir@
srccom = $(srcdir)/../common
srcroot = $(srcdir)/../..
+srcsim = $(srcdir)/..
prefix = @prefix@
exec_prefix = @exec_prefix@
@@ -301,7 +302,7 @@ stamp-tvals: gentmap
touch stamp-tvals
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
#
# Rules for building sim-* components. Triggered by listing the corresponding