Ignore:
Timestamp:
Sep 6, 2007, 1:23:43 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ce40d30
Parents:
ee8933f2
Message:

2007-09-06 Daniel Hellstrom <daniel@…>

  • Makefile.am, preinstall.am: New files, split of printk.
  • console/console.c, console/debugputs.c: Split printk support out.
  • include/spacewire.h: Removed.
  • Makefile.am, preinstall.am: Use the following new drivers from sparc/shared: PCI, b1553BRM, SpaceWire?(GRSPW), CAN (GRCAN), Raw UART.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/leon3/Makefile.am

    ree8933f2 r344ba65  
    1212include_HEADERS = include/bsp.h
    1313include_HEADERS += include/tm27.h
     14include_HEADERS += ../../sparc/shared/include/debug_defs.h
    1415
    1516nodist_include_HEADERS = include/bspopts.h
     
    2425include_HEADERS += include/leon.h
    2526include_HEADERS += include/coverhd.h
    26 include_HEADERS += include/spacewire.h
    2727
    2828EXTRA_DIST = ../../sparc/shared/start.S
     
    5656
    5757noinst_PROGRAMS += console.rel
    58 console_rel_SOURCES = console/console.c console/consolereserveresources.c \
    59     console/debugputs.c
     58console_rel_SOURCES = console/console.c console/consolereserveresources.c
    6059console_rel_CPPFLAGS = $(AM_CPPFLAGS)
    6160console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     61
     62noinst_PROGRAMS += debugio.rel
     63debugio_rel_SOURCES = console/debugputs.c
     64debugio_rel_CPPFLAGS = $(AM_CPPFLAGS)
     65debugio_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    6266
    6367noinst_PROGRAMS += clock.rel
     
    6569clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
    6670clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     71
     72# PCI
     73include_HEADERS += ../../sparc/shared/include/pci.h
     74noinst_PROGRAMS += pci.rel
     75pci_rel_SOURCES = pci/pci.c ../../sparc/shared/pci/pcifinddevice.c
     76pci_rel_CPPFLAGS = $(AM_CPPFLAGS)
     77pci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     78
     79# B1553BRM
     80include_HEADERS += ../../sparc/shared/include/b1553brm.h ../../sparc/shared/include/b1553brm_pci.h
     81noinst_PROGRAMS += brm.rel
     82brm_rel_SOURCES = ../../sparc/shared/1553/b1553brm.c ../../sparc/shared/1553/b1553brm_pci.c
     83brm_rel_CPPFLAGS = $(AM_CPPFLAGS)
     84brm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     85
     86# CAN
     87include_HEADERS += ../../sparc/shared/include/occan.h ../../sparc/shared/include/occan_pci.h ../../sparc/shared/include/grcan.h
     88noinst_PROGRAMS += can.rel
     89can_rel_SOURCES = ../../sparc/shared/can/occan.c ../../sparc/shared/can/occan_pci.c  ../../sparc/shared/can/grcan.c
     90can_rel_CPPFLAGS = $(AM_CPPFLAGS)
     91can_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     92
     93# SpaceWire
     94include_HEADERS += ../../sparc/shared/include/grspw.h ../../sparc/shared/include/grspw_pci.h
     95noinst_PROGRAMS += spw.rel
     96spw_rel_SOURCES = ../../sparc/shared/spw/grspw.c ../../sparc/shared/spw/grspw_pci.c
     97spw_rel_CPPFLAGS = $(AM_CPPFLAGS)
     98spw_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     99
     100# UART
     101include_HEADERS += ../../sparc/shared/include/apbuart.h ../../sparc/shared/include/apbuart_pci.h
     102noinst_PROGRAMS += uart.rel
     103uart_rel_SOURCES = ../../sparc/shared/uart/apbuart.c ../../sparc/shared/uart/apbuart_pci.c
     104uart_rel_CPPFLAGS = $(AM_CPPFLAGS)
     105uart_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     106
    67107
    68108if HAS_NETWORKING
     
    97137noinst_LIBRARIES = libbsp.a
    98138libbsp_a_SOURCES =
    99 libbsp_a_LIBADD = startup.rel amba.rel console.rel clock.rel timer.rel \
    100     gnatsupp.rel
     139libbsp_a_LIBADD = startup.rel amba.rel console.rel clock.rel debugio.rel \
     140  timer.rel gnatsupp.rel brm.rel can.rel spw.rel uart.rel pci.rel
    101141
    102142if HAS_NETWORKING
Note: See TracChangeset for help on using the changeset viewer.