automake

Ralf Corsepius ralf_corsepius at rtems.org
Sat Nov 13 02:48:46 UTC 2004


On Fri, 2004-11-12 at 15:35 -0500, D. Peter Siddons wrote: 
> Hi all,
>    I'm trying to merge a bsp into the cvs tree. I'm having trouble 
> setting up the Makefile.am in the bsp directory. Issuing ./bootstrap 
> from the rtems top level eventually gives me: (uC5272 is my new bsp)
> 
> ....
> ./c/src/lib/libbsp/m68k/sim68000
> ./c/src/lib/libbsp/m68k/uC5272
> automake: cannot open < ../../../../../../automake/compile.am: no such
> file or directory
> grep: Makefile.in: No such file or directory
> 
> What have I done wrong?

Hard to tell without having seen your files.

I'd guess it's one of these possibilities:

* Your <bsp>/configure.ac passes an incorrect value to RTEMS_TOP
(Supposed to be a relative directory, pointing to the toplevel of the
source-tree. Normally: RTEMS_TOP(../../../../../..)

* Your <bsp>/Makefile.am contains an incorrect include directive to
include "compile.am".
Normally, this is
include $(top_srcdir)/../../../../automake/compile.am

* You forgot to bootstrap your BSP's configuration:
cd c/src/lib/libbsp/<cpu>/<bsp>
../../../../../../bootstrap.sh

Ralf





More information about the users mailing list