build issue with leon2 bsp code

Milo H. Fields mfields at paladin-sys.com
Sun Apr 7 04:03:51 UTC 2013


Greetings,

I believe there may be a problem with the bsp code for leon2 bsp.  When
configured with 'CONSOLE_USE_INTERRUPTS=1' the resulting make will result in
a file not found error for 'ringbuf.h' for the compile of the file
'c/src/lib/libbsp/sparc/leon2/console/console.c'.  

 

b-leon2 Config:

../rtems-4.11/configure --target=sparc-rtems \

--enable-rtemsbsp=leon2 \

--prefix=<rtems-install> --enable-posix \

CONSOLE_USE_INTERRUPTS=1 

 

To work around the issue I revised 'console.c ' line 73 from 

#include <ringbuf.h>

To

#include <rtems/ringbuf.h>

 

However I assume a change in 'Makefile.am' tree is preferred..  

This was discovered on an older version however it was verified 4.11 with
the current 'git' pull.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20130407/f563d841/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6729 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20130407/f563d841/attachment.bin>


More information about the users mailing list