diff options
author | Tom Tromey <tom@tromey.com> | 2019-01-26 08:51:57 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-01-26 08:53:31 -0700 |
commit | 67f8b42f3e65ede1915f2dc4e2ca46ddeb57c508 (patch) | |
tree | 0e6742c516779c85949e2b1f85a42fa6f46f954a /sim/common/Make-common.in | |
parent | e5e2bc507d773eb48ed215eb6911c1bb7dd78b79 (diff) | |
download | gdb-67f8b42f3e65ede1915f2dc4e2ca46ddeb57c508.zip gdb-67f8b42f3e65ede1915f2dc4e2ca46ddeb57c508.tar.gz gdb-67f8b42f3e65ede1915f2dc4e2ca46ddeb57c508.tar.bz2 |
Fix the sim build
Simon pointed out that the "common/" include change in gdb broke the
sim build. The problem was that the sim was using gdb's
create-version.sh, which changed.
This patch copies create-version.sh to the sim, so that it can
generate "version.c" in a way that works in the sim build.
Tested by rebuilding.
sim/common/ChangeLog
2019-01-26 Tom Tromey <tom@tromey.com>
* Make-common.in (version.c): Use sim's create-version.sh.
* create-version.sh: New file.
sim/ppc/ChangeLog
2019-01-26 Tom Tromey <tom@tromey.com>
* Makefile.in (version.c): Use sim's create-version.sh.
Diffstat (limited to 'sim/common/Make-common.in')
-rw-r--r-- | sim/common/Make-common.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index b211e16..1a3bcc9 100644 --- a/sim/common/Make-common.in +++ b/sim/common/Make-common.in @@ -289,8 +289,8 @@ stamp-tvals: gentmap $(SHELL) $(srcroot)/move-if-change tmp-tmap.c targ-map.c touch stamp-tvals -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 \ +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 # |