[GDBserver] Replicate src dir in build dir
authorYao Qi <yao.qi@linaro.org>
Tue, 17 Oct 2017 11:12:04 +0000 (12:12 +0100)
committerYao Qi <yao.qi@linaro.org>
Tue, 17 Oct 2017 11:12:04 +0000 (12:12 +0100)
commit60d6cfc99e67c3f94e31e26112873719b12b738f
treeee534442b69ce4fc500f265a8740d2e7a8d91659
parent0301ce1486b1450f219202677f30d0fa97335419
[GDBserver] Replicate src dir in build dir

Similar to f38307f5 (Replicate src dir in build dir), this patch change
configure and Makefile to generate object files in arch/ directory.

gdb/gdbserver:

2017-10-17  Yao Qi  <yao.qi@linaro.org>

* Makefile.in (CONFIG_SRC_SUBDIR): New variable.
(clean): Remove .o files in CONFIG_SRC_SUBDIR.
(distclean): Remove DEPDIR in CONFIG_SRC_SUBDIR.
(arch-i386.o, arch-amd64.o): Remove rules.
(arch/%.o): New rule.
Update POSTCOMPILE and COMPILE.pre.
* configure.ac: Invoke AC_CONFIG_COMMANDS.
* configure: Re-generated.
* configure.srv: Replace arch-i386.o with arch/i386.o.
Replace arch-amd64.o with arch/amd64.o.
gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in
gdb/gdbserver/configure
gdb/gdbserver/configure.ac
gdb/gdbserver/configure.srv
This page took 0.026551 seconds and 4 git commands to generate.