rtems-ss-20030128

Joel Sherrill joel.sherrill at OARcorp.com
Fri Jan 31 18:48:58 UTC 2003



Ralf Corsepius wrote:
> 
> Am Fre, 2003-01-31 um 17.58 schrieb Joel Sherrill:
> > Francesco Poletti wrote:
> > >
> > > Yes but my board have yet the shmsupp directory... :-((
> > > My Makefile.am have shmsupp in the SUBDIRS list
> > > and the configure.ac had the shmupp in the Makefile list...
> > > I had run automake and autoconf.
> > > Need I to run also aclocal?
> The nominal sequence is
> 
> aclocal -I <path-to-rtems-toplevel>/aclocal
> automake
> autoconf
> 
> > Run rtems-XXX/bootstrap in your BSP directory.
> Overkill.
> 
> If integrating/adding a BSP you need to run bootstrap once inside of
> c/src/lib/libbsp/<cpu>.
> 
> Then configure a build-tree with maintainer-mode enabled (configure
> --enable-maintainer-mode)

Ralf's right.  Once you have all the Makefile.am's in place and are 
tinkering with them, use --enable-maintainer-mode and things will get 
regenerated without you worrying about it.
 
> Automake then will take care about dependencies itself and will invoke
> its underlaying components when needed.
> 
> >   Never run the
> > tools by hand.  It is too error prone.
> What?

I used a poor choice of words.  I just meant that running bootstrap
is easy and a single command.  It is not difficult or error prone
to run the real autotool command sequence.  The only error that can
happen is a human not doing the commands right.  Bootstrap eliminates
that risk.

> <#:( )>
> Boys, do yourselves a favor:
> Read the fschking manuals: http://sources.redhat.com/autobook
> and the RTEMS FAQ.
> </#:( )>

Sorry guys.  I used a very poor choice of word.  I really believe in
automake and autoconf and am glad that RTEMS is using it.  


> Ralf

--joel



More information about the users mailing list