diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-04-04 10:48:24 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-04-04 10:50:01 -0400 |
commit | 65dd1e590e519eba10bc29fb6e952271e0604c9b (patch) | |
tree | 326c999ecf4f2d3a9fe2aeb9db8b393d9c9d5d53 /opcodes/riscv-dis.c | |
parent | d62a8ae2dd0fbb6235f4e8f2fb61b83fe4ba1d90 (diff) | |
download | binutils-gdb-65dd1e590e519eba10bc29fb6e952271e0604c9b.tar.gz |
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.
Diffstat (limited to 'opcodes/riscv-dis.c')
0 files changed, 0 insertions, 0 deletions