This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[COMMIT PATCH] [gdbserver] Update a couple Makefile rules.
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 06 Sep 2013 12:55:40 +0100
- Subject: [COMMIT PATCH] [gdbserver] Update a couple Makefile rules.
- Authentication-results: sourceware.org; auth=none
These two are still written in the pre-auto-dependency-tracking style.
They probably were written before that, and committed afterwards
without adjustment. An easy oversight to make.
gdb/gdbserver/
2013-09-06 Pedro Alves <palves@redhat.com>
* Makefile.in (linux-btrace.o, mips-linux-watch.o): Remove
explicit header dependencies and use $COMPILE/$POSTCOMPILE.
---
gdb/gdbserver/Makefile.in | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
index 45e03a2..4e7b3a2 100644
--- a/gdb/gdbserver/Makefile.in
+++ b/gdb/gdbserver/Makefile.in
@@ -561,11 +561,13 @@ waitstatus.o: ../target/waitstatus.c
$(COMPILE) $<
$(POSTCOMPILE)
-linux-btrace.o: ../common/linux-btrace.c $(linux_btrace_h) $(server_h)
- $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $<
+linux-btrace.o: ../common/linux-btrace.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
-mips-linux-watch.o: ../common/mips-linux-watch.c $(mips_linux_watch_h) $(server_h)
- $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $<
+mips-linux-watch.o: ../common/mips-linux-watch.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
# Native object files rules from ../nat