Passing BSP specific options

Ralf Corsepius corsepiu at
Tue Feb 19 16:47:45 UTC 2002

Am Die, 2002-02-19 um 16.24 schrieb Greg Marsden:
> For example, if I want to turn on UARTS_IO_MODE in the MPC8260 BSP, can
> I pass in something to the configure script or the make to accomplish
> this. I know that I can edit the generated bspopts.h file,
No you can't. It will be overwritten, each time you configure your bsp.

>  but there must be a better way.
You should add something similar to this to your BSP's (and
rerun bootstrap inside of the directory containing the BSP's

RTEMS_BSPOPTS_SET([UARTS_IO_MODE],[mpc8260*],[custom value])
RTEMS_BSPOPTS_SET([UARTS_IO_MODE],[*],[default value])

(cf. aclocal/bspopts.m4 for details.)


More information about the users mailing list