diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2017-03-13 18:44:04 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-03-13 18:44:05 -0400 |
commit | 36bc18a810a13f884d826842abbdd6d744ff6481 (patch) | |
tree | 3d1d6fd2f751afab13af452a60924070cd62f09b /gdb | |
parent | a8ebe3d5f17f12490012a1a3c69d17b6e9362805 (diff) | |
download | gdb-36bc18a810a13f884d826842abbdd6d744ff6481.zip gdb-36bc18a810a13f884d826842abbdd6d744ff6481.tar.gz gdb-36bc18a810a13f884d826842abbdd6d744ff6481.tar.bz2 |
gdbserver: Use pattern rule for IPA objects from common/
gdb/gdbserver/ChangeLog:
* Makefile.in (%-ipa.o: ../common/%.c): New rule.
(print-utils-ipa.o: ../common/print-utils.c): Remove.
(rsp-low-ipa.o: ../common/rsp-low.c): Remove.
(errors-ipa.o: ../common/errors.c): Remove.
(format-ipa.o: ../common/format.c): Remove.
(common-utils-ipa.o: ../common/common-utils.c): Remove.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/gdbserver/Makefile.in | 20 |
2 files changed, 14 insertions, 15 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index d871dbf..9d56d0da 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,14 @@ 2017-03-13 Simon Marchi <simon.marchi@polymtl.ca> + * Makefile.in (%-ipa.o: ../common/%.c): New rule. + (print-utils-ipa.o: ../common/print-utils.c): Remove. + (rsp-low-ipa.o: ../common/rsp-low.c): Remove. + (errors-ipa.o: ../common/errors.c): Remove. + (format-ipa.o: ../common/format.c): Remove. + (common-utils-ipa.o: ../common/common-utils.c): Remove. + +2017-03-13 Simon Marchi <simon.marchi@polymtl.ca> + * Makefile.in (%-ipa.o: %.c): New rule. (tracepoint-ipa.o: tracepoint.c): Remove. (utils-ipa.o: utils.c): Remove. diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in index 2048611..87dbad1 100644 --- a/gdb/gdbserver/Makefile.in +++ b/gdb/gdbserver/Makefile.in @@ -544,12 +544,6 @@ IPAGENT_COMPILE = $(COMPILE.pre) $(IPAGENT_CFLAGS) $(COMPILE.post) ax-ipa.o: ax.c $(IPAGENT_COMPILE) $(WARN_CFLAGS_NO_FORMAT) $< $(POSTCOMPILE) -format-ipa.o: ../common/format.c - $(IPAGENT_COMPILE) $< - $(POSTCOMPILE) -common-utils-ipa.o: ../common/common-utils.c - $(IPAGENT_COMPILE) $< - $(POSTCOMPILE) linux-i386-ipa.o: linux-i386-ipa.c $(IPAGENT_COMPILE) $< $(POSTCOMPILE) @@ -565,15 +559,7 @@ linux-s390-ipa.o: linux-s390-ipa.c linux-ppc-ipa.o: linux-ppc-ipa.c $(IPAGENT_COMPILE) $< $(POSTCOMPILE) -print-utils-ipa.o: ../common/print-utils.c - $(IPAGENT_COMPILE) $< - $(POSTCOMPILE) -rsp-low-ipa.o: ../common/rsp-low.c - $(IPAGENT_COMPILE) $< - $(POSTCOMPILE) -errors-ipa.o: ../common/errors.c - $(IPAGENT_COMPILE) $< - $(POSTCOMPILE) + ax.o: ax.c $(COMPILE) $(WARN_CFLAGS_NO_FORMAT) $< @@ -585,6 +571,10 @@ ax.o: ax.c $(IPAGENT_COMPILE) $< $(POSTCOMPILE) +%-ipa.o: ../common/%.c + $(IPAGENT_COMPILE) $< + $(POSTCOMPILE) + # Rules for objects that go in the gdbserver binary. %.o: %.c |