mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:54:41 +08:00
gdb/gdbserver: add dependencies for distclean-gnulib
After commit:
commit 361cb21935
Date: Tue Oct 6 10:09:06 2020 +0100
gnulib: Ensure all libraries are used when building gdb/gdbserver
We now get an error when, at the top level of the build tree, we do
'make distclean'.
The reason for this is that the gnulib directory is cleaned before the
gdb directory, cleaning gnulib deletes Makefile.gnulib.inc from the
gnulib build directory, which is currently pulled in by the gdb
Makefile.in using 'include'.
This commit adds a dependency between distclean-gnulib and both
distclean-gdb and distclean-gdbserver. This means that gdb and
gdbserver will be cleaned before gnulib, as a result the
Makefile.gnulib.inc file should exist when needed.
ChangeLog:
* Makefile.in: Rebuild.
* Makefile.def: Make distclean-gnulib depend on distclean-gdb and
distclean-gdbserver.
This commit is contained in:
parent
58bf9b6a7f
commit
ba4d88ad89
@ -1,3 +1,9 @@
|
||||
2020-10-14 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* Makefile.in: Rebuild.
|
||||
* Makefile.def: Make distclean-gnulib depend on distclean-gdb and
|
||||
distclean-gdbserver.
|
||||
|
||||
2020-07-24 Aaron Merey <amerey@redhat.com>
|
||||
|
||||
* configure: Rebuild.
|
||||
|
@ -548,6 +548,12 @@ dependencies = { module=configure-libctf; on=all-intl; };
|
||||
dependencies = { module=configure-libctf; on=all-zlib; };
|
||||
dependencies = { module=configure-libctf; on=all-libiconv; };
|
||||
|
||||
// The Makefiles in gdb and gdbserver pull in a file that configure
|
||||
// generates in the gnulib directory, so distclean gnulib only after
|
||||
// gdb and gdbserver.
|
||||
dependencies = { module=distclean-gnulib; on=distclean-gdb; };
|
||||
dependencies = { module=distclean-gnulib; on=distclean-gdbserver; };
|
||||
|
||||
// Warning, these are not well tested.
|
||||
dependencies = { module=all-bison; on=all-intl; };
|
||||
dependencies = { module=all-bison; on=all-build-texinfo; };
|
||||
|
@ -52366,6 +52366,8 @@ configure-stage3-libctf: maybe-all-stage3-libiconv
|
||||
configure-stage4-libctf: maybe-all-stage4-libiconv
|
||||
configure-stageprofile-libctf: maybe-all-stageprofile-libiconv
|
||||
configure-stagefeedback-libctf: maybe-all-stagefeedback-libiconv
|
||||
distclean-gnulib: maybe-distclean-gdb
|
||||
distclean-gnulib: maybe-distclean-gdbserver
|
||||
all-bison: maybe-all-build-texinfo
|
||||
all-flex: maybe-all-build-bison
|
||||
all-flex: maybe-all-m4
|
||||
|
Loading…
Reference in New Issue
Block a user