summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-10-11 12:56:03 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-10-11 12:56:03 +0000
commit8a781ad7ee15cfe394461da1743e7ec1c332f452 (patch)
tree1bba5720336e662f9777e87b943228740857d443 /c/src/lib/libbsp/sparc
parent2007-10-11 Daniel Hellstrom <daniel@gaisler.com> (diff)
downloadrtems-8a781ad7ee15cfe394461da1743e7ec1c332f452.tar.bz2
2007-10-11 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am, preinstall.am: Add initial i2c and update OC-CAN support.
Diffstat (limited to 'c/src/lib/libbsp/sparc')
-rw-r--r--c/src/lib/libbsp/sparc/leon3/ChangeLog5
-rw-r--r--c/src/lib/libbsp/sparc/leon3/Makefile.am8
-rw-r--r--c/src/lib/libbsp/sparc/leon3/preinstall.am3
3 files changed, 15 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/ChangeLog b/c/src/lib/libbsp/sparc/leon3/ChangeLog
index e975f449f5..9165bfecf4 100644
--- a/c/src/lib/libbsp/sparc/leon3/ChangeLog
+++ b/c/src/lib/libbsp/sparc/leon3/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-11 Daniel Hellstrom <daniel@gaisler.com>
+
+ * Makefile.am, preinstall.am: Add initial i2c and update OC-CAN
+ support.
+
2007-09-13 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am: Add smc91111.rel to libbsp.a
diff --git a/c/src/lib/libbsp/sparc/leon3/Makefile.am b/c/src/lib/libbsp/sparc/leon3/Makefile.am
index 175344f030..917d83856b 100644
--- a/c/src/lib/libbsp/sparc/leon3/Makefile.am
+++ b/c/src/lib/libbsp/sparc/leon3/Makefile.am
@@ -104,6 +104,12 @@ uart_rel_SOURCES = ../../sparc/shared/uart/apbuart.c ../../sparc/shared/uart/apb
uart_rel_CPPFLAGS = $(AM_CPPFLAGS)
uart_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
+# I2CMST
+include_HEADERS += ../../sparc/shared/include/i2cmst.h
+noinst_PROGRAMS += i2cmst.rel
+i2cmst_rel_SOURCES = ../../sparc/shared/i2c/i2cmst.c
+i2cmst_rel_CPPFLAGS = $(AM_CPPFLAGS)
+i2cmst_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
if HAS_NETWORKING
noinst_PROGRAMS += leon_smc91111.rel
@@ -137,7 +143,7 @@ endif
noinst_LIBRARIES = libbsp.a
libbsp_a_SOURCES =
libbsp_a_LIBADD = startup.rel amba.rel console.rel clock.rel debugio.rel \
- timer.rel gnatsupp.rel brm.rel can.rel spw.rel uart.rel pci.rel
+ timer.rel gnatsupp.rel brm.rel can.rel spw.rel uart.rel pci.rel i2cmst.rel
if HAS_NETWORKING
libbsp_a_LIBADD += leon_open_eth.rel
diff --git a/c/src/lib/libbsp/sparc/leon3/preinstall.am b/c/src/lib/libbsp/sparc/leon3/preinstall.am
index 96e3911490..00f0a8bd74 100644
--- a/c/src/lib/libbsp/sparc/leon3/preinstall.am
+++ b/c/src/lib/libbsp/sparc/leon3/preinstall.am
@@ -112,3 +112,6 @@ $(PROJECT_INCLUDE)/apbuart_pci.h: ../../sparc/shared/include/apbuart_pci.h $(PRO
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/apbuart_pci.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/apbuart_pci.h
+$(PROJECT_INCLUDE)/i2cmst.h: ../../sparc/shared/include/i2cmst.h $(PROJECT_INCLUDE)/$(dirstamp)
+ $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/i2cmst.h
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/i2cmst.h