summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-02-21 18:27:31 -0700
committerTom Tromey <tom@tromey.com>2020-02-21 18:30:10 -0700
commitdda42c0b7baba24d182a408574650ff162f44ec3 (patch)
tree58deb51098231b99ae23da8348620efd07a48cde
parent5522c15d39bee8b4dcc5ba9350d88d256a14d69a (diff)
downloadbinutils-gdb-dda42c0b7baba24d182a408574650ff162f44ec3.tar.gz
Add a mostlyclean target to gdbserver
I noticed gdbserver's Makefile doesn't have a mostlyclean target. I use this sometimes, so this patch adds it. Adding it as a synonym of "clean" seemed to make sense, given the contents of that rule. gdbserver/ChangeLog 2020-02-21 Tom Tromey <tom@tromey.com> * Makefile.in (mostlyclean): New target.
-rw-r--r--gdbserver/ChangeLog4
-rw-r--r--gdbserver/Makefile.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdbserver/ChangeLog b/gdbserver/ChangeLog
index be39358f789..dc8964b463b 100644
--- a/gdbserver/ChangeLog
+++ b/gdbserver/ChangeLog
@@ -1,3 +1,7 @@
+2020-02-21 Tom Tromey <tom@tromey.com>
+
+ * Makefile.in (mostlyclean): New target.
+
2020-02-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
* target.h (struct process_stratum_target): Remove.
diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in
index 1baebba0f56..cc1eb808e32 100644
--- a/gdbserver/Makefile.in
+++ b/gdbserver/Makefile.in
@@ -455,7 +455,7 @@ TAGS: ${TAGFILES}
${TAGFILES}
tags: TAGS
-clean:
+mostlyclean clean:
rm -f *.o ${ADD_FILES} *~
rm -f gdbserver$(EXEEXT) gdbreplay$(EXEEXT) core make.log
rm -f $(IPA_LIB)