This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit+RFC] gdbserver: configure + make clean fails (no 'common' subdir)
- From: Yao Qi <yao at codesourcery dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 07 Mar 2011 10:59:16 +0800
- Subject: Re: [commit+RFC] gdbserver: configure + make clean fails (no 'common' subdir)
- References: <1299397607-18090-1-git-send-email-brobecker@adacore.com>
On 03/06/2011 03:46 PM, Joel Brobecker wrote:
> This problem was noticed during the nightly snapshot build,
> but can be reduced to:
>
> % /path/to/gdb/gdbserver/configure
> % make clean
>
I didn't run commands in this sequence, and I guess that is why I don't
see this problem before. Sorry about this.
>
> But now that the urgency is taken care of, what is the best approach?
> I'm a little unsure, because it feels like "common" does not fit
> all that well in the REQUIRED_SUBDIRS scheme; or, does it? We could
> put it back, but then we'd have to add some code in configure to
> also configure gdbserver/common (which means creating it first, etc).
> This is already taken care of by the Makefile, and I'm not sure
> how much will need to be moved, and how much will have to stay to
> handle common/configure.ac changes (et al). [Note: You can't use
> AC_CONFIG_SUBDIRS in this case, so the sub-configuring of
> gdbserver/common has to be written manually]
>
Given that there are a few of work, as Joel described above, I agree
with current approach.
> gdb/gdbserver/ChangeLog:
>
> * Makefile.in (REQUIRED_SUBDIRS): Remove $(LIBCOMMON_DIR).
--
Yao (éå)