Hi all,<br><br>I am trying to include a new driver for the leon2 bsp, and I don't success because I think I am missing steps.<br><br>- In the src/rtems-4.8/c/src/lib/libbsp/sparc/leon2 folder I have created a new folder, lets call this folder newdriver with a new file newdriver.c<br>
- then, in the src/rtems-4.8/c/src/lib/libbsp/sparc/leon2/Makefile.am I have added <br><br># NEWDRIVER<br>noinst_PROGRAMS newdriver.rel<br>newdriver_rel_SOURCES = newdriver/newdriver.c<br>newdriver_rel_CPPFLAGS = $(AM_CPPFLAGS)<br>
newdriver_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)<br><br>libbsp_a_LIBADD = startup.rel console.rel clock.rel timer.rel gnatsupp.rel \<br> amba.rel rasta.rel uart.rel spw.rel can.rel brm.rel pci.rel \<br> cchip.rel newdriver.rel<br>
<br>then I, in the src directory, I run:<br><br>/> ./bootstrap<br>/> make configure<br>/> make compile<br><br>But looking into the build directory I don't find anything regarding newdriver.<br><br>Am I missing something?<br>
<br>Thanks in advance.<br><br>Aitor<br><br>