R:eRe: Error even with dmv177

Leon Pollak leonp at plris.com
Wed Aug 20 14:34:42 UTC 2003

On Wednesday 20 August 2003 16:58, Ralf Corsepius wrote:
> On Wed, 2003-08-20 at 15:28, Leon Pollak wrote:
> > OK, I returned the dmv177 BSP and the result is the same error as with
> > MY_BSP instead of dmv177 in config.ac in ../powerpc (after rerunning
> > bootstrap from ../powerpc directory):
> > .......................
> > Making preinstall in powerpc
> > gmake[6]: Entering directory
> > `/opt/rtems/rtems-bin/build/powerpc-rtems/c/MY_BSP/lib/libbsp/powerpc'
> > gmake[6]: *** No rule to make target `preinstall'.  Stop.
> >
> > Sorry, for stupidity - what did I do incorrect?
> I don't know ;) I'd recommend you to compare your BSP's Makefile.ams and
> configure.ac against their counterparts in the dmv177.
Done. They are 99% the same - all I did was:
	I copied the mbx8xx BSP directories, changed some *.c files inside, deleted 
some internal directories (ide) and deleted them from configure.ac, added 
MY_BSP.cfg into .../make/custom and run bootstrap.

> Seems as if your lib/libbsp/powerpc/MY_BSP/Makefile.am doesn't include
> automake/local.am
> I.e. probably your BSP's toplevel Makefile.am lacks this:
> include $(top_srcdir)/../../../../../../automake/subdirs.am
> include $(top_srcdir)/../../../../../../automake/local.am
No, both are there...

> BTW: Also make sure to have
> c/src/lib/libbsp/powerpc/MY_BSP/bsp_specs
Yes, it presents.

> Otherwise bootstrap won't add your BSP to libbsp/powerpc/acinclude.m4
It added, I see it there.
And gmake enters MY_BSP directory, but says
	gmake[6]: *** No rule to make target `preinstall'.  Stop.

May be the order or steps are incorrect?

Thanks again for the help...
leonp at plris dot com

More information about the users mailing list