[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
New driver inclusion on RTEMS 4.7.99.2
- Date: Mon, 4 Feb 2008 18:06:46 +0100
- From: aitor.viana.sanchez at esa.int (Aitor Viana)
- Subject: New driver inclusion on RTEMS 4.7.99.2
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://rtems.rtems.org/pipermail/rtems-users/attachments/20080204/a65ee1e6/attachment.html