New driver inclusion on RTEMS 4.7.99.2

Aitor Viana aitor.viana.sanchez at esa.int
Mon Feb 4 17:06:46 UTC 2008


Hi all,

I am trying to include a new driver for the leon2 bsp, and I don't success
because I think I am missing steps.

- 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
- then, in the src/rtems-4.8/c/src/lib/libbsp/sparc/leon2/Makefile.am I have
added

# NEWDRIVER
noinst_PROGRAMS newdriver.rel
newdriver_rel_SOURCES = newdriver/newdriver.c
newdriver_rel_CPPFLAGS = $(AM_CPPFLAGS)
newdriver_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)

libbsp_a_LIBADD = startup.rel console.rel clock.rel timer.rel gnatsupp.rel \
                  amba.rel rasta.rel uart.rel spw.rel can.rel brm.rel
pci.rel \
                  cchip.rel newdriver.rel

then I, in the src directory, I run:

/> ./bootstrap
/> make configure
/> make compile

But looking into the build directory I don't find anything regarding
newdriver.

Am I missing something?

Thanks in advance.

Aitor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20080204/a65ee1e6/attachment.html>


More information about the users mailing list