Fix make 3.81 build errors

gdbserver/
	* Makefile.in: Switch order of make rules.
This commit is contained in:
Alan Hayward 2018-02-20 10:03:56 +00:00
parent afec267feb
commit a543c5ca7c
2 changed files with 20 additions and 15 deletions

View File

@ -1,3 +1,8 @@
2018-02-20 Alan Hayward <alan.hayward@arm.com>
Simon Marchi <simon.marchi@ericsson.com>
* Makefile.in: Switch order of make rules.
2018-02-19 Alan Hayward <alan.hayward@arm.com>
* Makefile.in: Add common directory in build.

View File

@ -537,11 +537,15 @@ ax.o: ax.c
$(COMPILE) $(WARN_CFLAGS_NO_FORMAT) $<
$(POSTCOMPILE)
arch/%.o: ../arch/%.c
$(COMPILE) $<
# Rules for objects that go in the in-process agent.
arch/%-ipa.o: ../arch/%.c
$(IPAGENT_COMPILE) $<
$(POSTCOMPILE)
# Rules for objects that go in the in-process agent.
common/%-ipa.o: ../common/%.c
$(IPAGENT_COMPILE) $<
$(POSTCOMPILE)
%-ipa.o: %-generated.c
$(IPAGENT_COMPILE) $<
@ -562,16 +566,16 @@ arch/%.o: ../arch/%.c
$(IPAGENT_COMPILE) $<
$(POSTCOMPILE)
common/%-ipa.o: ../common/%.c
$(IPAGENT_COMPILE) $<
$(POSTCOMPILE)
arch/%-ipa.o: ../arch/%.c
$(IPAGENT_COMPILE) $<
$(POSTCOMPILE)
# Rules for objects that go in the gdbserver binary.
arch/%.o: ../arch/%.c
$(COMPILE) $<
$(POSTCOMPILE)
common/%.o: ../common/%.c
$(COMPILE) $<
$(POSTCOMPILE)
%.o: %-generated.c
$(COMPILE) $<
$(POSTCOMPILE)
@ -580,10 +584,6 @@ arch/%-ipa.o: ../arch/%.c
$(COMPILE) $<
$(POSTCOMPILE)
common/%.o: ../common/%.c
$(COMPILE) $<
$(POSTCOMPILE)
%.o: ../nat/%.c
$(COMPILE) $<
$(POSTCOMPILE)