What I miss?

Ralf Corsepius corsepiu at faw.uni-ulm.de
Tue May 7 17:47:56 UTC 2002

Am Die, 2002-05-07 um 19.35 schrieb Leon Pollak:
> Hello,
> 	Sorry for newbee question - this is the first time I deal with all this 
> auto... stuff really.
> 	I start to develop the new BSP - copied the most similar BSP directory, 
> named it MYBSP, created MYBSP.cfg in its correct place. Run configure with 
> --enable-rtems-bsp="MYBSP"
> 	When I try to run "make", it says that configure script in my BSP does not 
> contain my BSP:
> checking for RTEMS_CPU_MODEL... mpc860
> checking for RTEMS_BSP_FAMILY... (cached) MYBSP
> configure: error: Invalid BSP
> configure: error: /bin/sh 
> '../../../../../../../c/src/lib/libbsp/powerpc/configure' failed for powerpc
> sed: can't read confdefs.h: No such file or directory
> configure: error: /bin/sh '../../../../../../c/src/lib/libbsp/configure' 
> failed for lib/libbsp
> gmake[2]: *** [MYBSP] Error 1
> gmake[2]: Leaving directory 
> `/opt/Cross/rtems-src/rtems-ss-20020301/build____/powerpc-rtems/c'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory 
> `/opt/Cross/rtems-src/rtems-ss-20020301/build____/powerpc-rtems/c'
> make: *** [all-recursive] Error 1
> Is there any automatic way to add BSP to configure or I must edit it manually?
Neither, but the answer depends on which version of RTEMS you are using:

If using the snapshots, you have to 
1. add your BSP to c/src/lib/libbsp/<your-cpu>/acinclude.m4 and then to
run bootstrap inside of this directory (or from the toplevel).

2. Add a <BSP>.cfg to make/custom.

For rtems-4.5, step 2. should be sufficient.


More information about the users mailing list