This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Building binutils with newly created target
- From: Alan Modra <amodra at gmail dot com>
- To: David Leach <tasmar at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 7 Jun 2017 15:29:44 +0930
- Subject: Re: Building binutils with newly created target
- Authentication-results: sourceware.org; auth=none
- References: <CAO9T5H235ZM_F0EHMkzOQzT6-m078rOBCivPrYuBQHPCSjKjnA@mail.gmail.com>
On Tue, Jun 06, 2017 at 08:43:25PM -0500, David Leach wrote:
> So what does one need to do to get these files to update with
> information from the Makefile.am? I'm not an automake expert at all.
If you configure with --enable-maintainer-mode, and have the correct
versions of tools installed, you should find the generated files like
Makefile.in are updated.
Alternatively, look in the existing Makefile.in for the
aclocal/autoconf/automake invocation. For example, bfd/Makefile.in
has
$(srcdir)/Makefile.in: ...
...
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --foreign Makefile
So for me to update Makefile.in by hand, I'd need to
cd /home/alan/src/binutils-gdb/bfd && automake-1.11 --foreign Makefile
--
Alan Modra
Australia Development Lab, IBM