Problems with new BSP

Ralf Corsepius corsepiu at faw.uni-ulm.de
Mon Oct 14 16:20:53 UTC 2002


Am Mon, 2002-10-14 um 17.39 schrieb Steven Grunza:
> I've got the tools working but something in my BSP appears to be borken....
> 
> Trying to build RTEMS from the 20021007 snapshot eventually fails with :
> 
> ...
> Making all in wrapup
> gmake[6]: Entering directory 
> `/usr/home/grunza/rtems/b-excmr/powerpc-rtems/c/excimer/lib/libbsp/powerpc/excimer/wrapup'
> mkdir o-optimize
> gmake[6]: *** No rule to make target 
> `../old_exception_processing/o-optimize/rtems-cpu.rel', needed by 
> `o-optimize/libbsp.a'.  Stop.
> ...
> 
> 
> Anyone have any suggestions of where I should be looking to find my mistake?
It's probably not your mistake, but a side-effect of a ppc-port's
pecularities :(

1. The ppc-BSPs are required to have a

RTEMS_PPC_EXCEPTIONS([old])
rsp. 
RTEMS_PPC_EXCEPTIONS([new])

at the end of their 
c/src/lib/libbsp/powerpc/<your-bsp>/configure.ac and to have
@exceptions@ 
inside of the SUBDIRS variable in
c/src/lib/libbsp/powerpc/<your-bsp>/Makefile.am ?

2. The ppc-BSPs are required to have a corresponding -D_OLD_EXCEPTIONS
rsp. -D_NEW_EXCEPTIONS in your BSP's make/custom/<your-bsp>.cfg's
CPU_CFLAGS

Another spot to look into is c/src/lib/libbsp/powerpc/acinclude.m4. You
are required to add your BSP, there.

Ralf






More information about the users mailing list