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/ppc/Makefile.in | |
parent | e5e2bc507d773eb48ed215eb6911c1bb7dd78b79 (diff) | |
download | fsf-binutils-gdb-67f8b42f3e65ede1915f2dc4e2ca46ddeb57c508.zip fsf-binutils-gdb-67f8b42f3e65ede1915f2dc4e2ca46ddeb57c508.tar.gz fsf-binutils-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/ppc/Makefile.in')
-rw-r--r-- | sim/ppc/Makefile.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index 1635e01..fb5a6bd 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -548,8 +548,8 @@ $(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 $(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 version.o: version.c $(version_h) |