This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] gdbserver: Clear .deps on clean
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Tue, 04 Apr 2017 12:07:19 -0400
- Subject: [binutils-gdb] gdbserver: Clear .deps on clean
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 65dd1e590e519eba10bc29fb6e952271e0604c9b ***
Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 65dd1e590e519eba10bc29fb6e952271e0604c9b
gdbserver: Clear .deps on clean
In some situations, the dependency tracking files in .deps can refer to
source files that were removed or renamed, leading to errors like:
make: *** No rule to make target `version.c', needed by `version.o'. Stop.
This patch makes the clean target clear the .deps directory, which gives
the user a chance to recover from the error wihtout knowing about the
internals of the build system.
It is already done for GDB. See here for more details:
https://sourceware.org/ml/gdb-patches/2009-03/msg00000.html
gdb/gdbserver/ChangeLog:
* Makefile.in (clean): Clear .deps.