[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems with new BSP
- Date: 14 Oct 2002 18:20:53 +0200
- From: corsepiu at faw.uni-ulm.de (Ralf Corsepius)
- Subject: Problems with new BSP
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