diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2017-03-13 18:44:03 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-03-13 18:44:03 -0400 |
commit | 50cfacb78f3998e5ecc653090e4f1a11dfb3d8dd (patch) | |
tree | 6dac8eeb4acdebf1d5dcc11aa4ec1a6384899c4b /gdb/gdbserver/Makefile.in | |
parent | c5a22423d09e3bf670fb0de0a98e6feb6176eb3f (diff) | |
download | gdb-50cfacb78f3998e5ecc653090e4f1a11dfb3d8dd.zip gdb-50cfacb78f3998e5ecc653090e4f1a11dfb3d8dd.tar.gz gdb-50cfacb78f3998e5ecc653090e4f1a11dfb3d8dd.tar.bz2 |
gdbserver: Use pattern rule for objects from arch/
gdb/gdbserver/ChangeLog:
* Makefile.in (%.o: ../arch/%.c): New rule.
(arm.o: ../arch/arm.c): Remove.
(arm-linux.o: ../arch/arm-linux.c): Remove.
(arm-get-next-pcs.o: ../arch/arm-get-next-pcs.c): Remove.
(aarch64-insn.o: ../arch/aarch64-insn.c): Remove.
Diffstat (limited to 'gdb/gdbserver/Makefile.in')
-rw-r--r-- | gdb/gdbserver/Makefile.in | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in index bcf12d0..3baa96f 100644 --- a/gdb/gdbserver/Makefile.in +++ b/gdb/gdbserver/Makefile.in @@ -735,27 +735,13 @@ ax.o: ax.c $(COMPILE) $(WARN_CFLAGS_NO_FORMAT) $< $(POSTCOMPILE) -# Arch object files rules form ../arch - -arm.o: ../arch/arm.c - $(COMPILE) $< - $(POSTCOMPILE) -arm-linux.o: ../arch/arm-linux.c - $(COMPILE) $< - $(POSTCOMPILE) -arm-get-next-pcs.o: ../arch/arm-get-next-pcs.c - $(COMPILE) $< - $(POSTCOMPILE) - -# Architecture specific object files rules from ../arch +# Rules for objects that go in the gdbserver binary. -aarch64-insn.o: ../arch/aarch64-insn.c +%.o: %.c $(COMPILE) $< $(POSTCOMPILE) -# Rules for objects that go in the gdbserver binary. - -%.o: %.c +%.o: ../arch/%.c $(COMPILE) $< $(POSTCOMPILE) |