Adding new board support option
Thomas Dörfler
Thomas.Doerfler at embedded-brains.de
Tue Oct 20 09:27:38 UTC 2009
Peter,
I am not sure about "autoreconf". AFAIK the recommended way to process
your configure.ac change would be to:
- change to your BSP directory, e.g.:
$> cd c/src/lib/libbsp/powerpc/mpc5554
- from there, call the "bootstrap" script in the rtems root directory:
$> ../../../../../bootstrap
This should update the auto* machinery.
wkr,
Thomas.
Peter Dufault wrote:
> I'm adding a new board support option. I put this in
> c/src/lib/libbsp/powerpc/mpc55xxevb/configure.ac:
>
> RTEMS_BSPOPTS_SET([HAS_SMC91111],[*],[0])
> RTEMS_BSPOPTS_HELP([HAS_SMC91111],
> [Define to 1 if the board has the SMC91111 chip.])
>
> and put this in c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am:
> if HAS_SMC91111
> network_rel_SOURCES += network/if_smc.c
> endif
>
> but:
>
> [dufault at finny mpc55xxevb]$ autoreconf
> Makefile.am:73: HAS_SMC91111 does not appear in AM_CONDITIONAL
> autoreconf: /opt/rtems-4.10/bin/automake failed with exit status: 1
> [dufault at finny mpc55xxevb]$
>
> What step am I missing?
>
> Peter
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
--
--------------------------------------------
Embedded Brains GmbH
Thomas Doerfler Obere Lagerstrasse 30
D-82178 Puchheim Germany
email: Thomas.Doerfler at embedded-brains.de
Phone: +49-89-18908079-2
Fax: +49-89-18908079-9
More information about the users
mailing list