This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/4] [GDBserver] Replicate src dir in build dir
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>, <gdb-patches at sourceware dot org>
- Date: Mon, 16 Oct 2017 13:16:16 -0400
- Subject: Re: [PATCH 1/4] [GDBserver] Replicate src dir in build dir
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=simon dot marchi at ericsson dot com;
- References: <1508149925-4275-1-git-send-email-yao.qi@linaro.org>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
On 2017-10-16 06:32 AM, Yao Qi wrote:
> 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-11 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.
This series looks fine to me.
Simon