mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
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.
This commit is contained in:

committed by
Simon Marchi

parent
a8ebe3d5f1
commit
36bc18a810
@ -1,3 +1,12 @@
|
|||||||
|
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>
|
2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
|
||||||
|
|
||||||
* Makefile.in (%-ipa.o: %.c): New rule.
|
* Makefile.in (%-ipa.o: %.c): New rule.
|
||||||
|
@ -544,12 +544,6 @@ IPAGENT_COMPILE = $(COMPILE.pre) $(IPAGENT_CFLAGS) $(COMPILE.post)
|
|||||||
ax-ipa.o: ax.c
|
ax-ipa.o: ax.c
|
||||||
$(IPAGENT_COMPILE) $(WARN_CFLAGS_NO_FORMAT) $<
|
$(IPAGENT_COMPILE) $(WARN_CFLAGS_NO_FORMAT) $<
|
||||||
$(POSTCOMPILE)
|
$(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
|
linux-i386-ipa.o: linux-i386-ipa.c
|
||||||
$(IPAGENT_COMPILE) $<
|
$(IPAGENT_COMPILE) $<
|
||||||
$(POSTCOMPILE)
|
$(POSTCOMPILE)
|
||||||
@ -565,15 +559,7 @@ linux-s390-ipa.o: linux-s390-ipa.c
|
|||||||
linux-ppc-ipa.o: linux-ppc-ipa.c
|
linux-ppc-ipa.o: linux-ppc-ipa.c
|
||||||
$(IPAGENT_COMPILE) $<
|
$(IPAGENT_COMPILE) $<
|
||||||
$(POSTCOMPILE)
|
$(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
|
ax.o: ax.c
|
||||||
$(COMPILE) $(WARN_CFLAGS_NO_FORMAT) $<
|
$(COMPILE) $(WARN_CFLAGS_NO_FORMAT) $<
|
||||||
@ -585,6 +571,10 @@ ax.o: ax.c
|
|||||||
$(IPAGENT_COMPILE) $<
|
$(IPAGENT_COMPILE) $<
|
||||||
$(POSTCOMPILE)
|
$(POSTCOMPILE)
|
||||||
|
|
||||||
|
%-ipa.o: ../common/%.c
|
||||||
|
$(IPAGENT_COMPILE) $<
|
||||||
|
$(POSTCOMPILE)
|
||||||
|
|
||||||
# Rules for objects that go in the gdbserver binary.
|
# Rules for objects that go in the gdbserver binary.
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
|
Reference in New Issue
Block a user