Changeset c468e489 in rtems


Ignore:
Timestamp:
Sep 6, 2007, 1:16:15 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
ee8933f2
Parents:
28f3f511
Message:

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

  • Makefile.am, preinstall.am: Use the following new drivers from sparc/shared: PCI, b1553BRM, SpaceWire?(GRSPW), CAN (GRCAN), Raw UART.
Location:
c/src/lib/libbsp/sparc/leon2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/leon2/ChangeLog

    r28f3f511 rc468e489  
     12007-09-06      Daniel Hellstrom <daniel@gaisler.com>
     2
     3        * Makefile.am, preinstall.am: Use the following new drivers from
     4        sparc/shared: PCI, b1553BRM, SpaceWire(GRSPW), CAN (GRCAN), Raw UART.
     5
    162007-09-05      Daniel Hellstrom <daniel@gaisler.com>
    27
  • c/src/lib/libbsp/sparc/leon2/Makefile.am

    r28f3f511 rc468e489  
    1212include_HEADERS = include/bsp.h
    1313include_HEADERS += include/tm27.h
     14include_HEADERS += include/rasta.h
     15include_HEADERS += include/cchip.h
    1416include_HEADERS += ../../sparc/shared/include/ambapp.h
     17include_HEADERS += ../../sparc/shared/include/grspw.h ../../sparc/shared/include/grspw_pci.h ../../sparc/shared/include/grspw_rasta.h
     18include_HEADERS += ../../sparc/shared/include/occan.h ../../sparc/shared/include/occan_pci.h
     19include_HEADERS += ../../sparc/shared/include/grcan.h ../../sparc/shared/include/grcan_rasta.h
     20include_HEADERS += ../../sparc/shared/include/apbuart.h ../../sparc/shared/include/apbuart_pci.h ../../sparc/shared/include/apbuart_rasta.h
     21include_HEADERS += ../../sparc/shared/include/b1553brm.h ../../sparc/shared/include/b1553brm_pci.h ../../sparc/shared/include/b1553brm_rasta.h
     22include_HEADERS += ../../sparc/shared/include/debug_defs.h
     23include_HEADERS += ../../sparc/shared/include/pci.h
    1524
    1625nodist_include_HEADERS = include/bspopts.h
     
    5867clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    5968
     69# AMBA PnP Scanning
    6070noinst_PROGRAMS += amba.rel
    6171amba_rel_SOURCES = ../../sparc/shared/amba/ambapp.c
    6272amba_rel_CPPFLAGS = $(AM_CPPFLAGS)
    6373amba_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     74
     75# PCI
     76noinst_PROGRAMS += pci.rel
     77pci_rel_SOURCES = pci/pci.c ../../sparc/shared/pci/pcifinddevice.c
     78pci_rel_CPPFLAGS = $(AM_CPPFLAGS)
     79pci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     80
     81# RASTA Kit
     82noinst_PROGRAMS += rasta.rel
     83rasta_rel_SOURCES = rasta/rasta.c
     84rasta_rel_CPPFLAGS = $(AM_CPPFLAGS)
     85rasta_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     86
     87# Companion Chip Kit
     88noinst_PROGRAMS += cchip.rel
     89cchip_rel_SOURCES = cchip/cchip.c
     90cchip_rel_CPPFLAGS = $(AM_CPPFLAGS)
     91cchip_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     92
     93# B1553BRM
     94noinst_PROGRAMS += brm.rel
     95brm_rel_SOURCES = ../../sparc/shared/1553/b1553brm.c ../../sparc/shared/1553/b1553brm_pci.c ../../sparc/shared/1553/b1553brm_rasta.c
     96brm_rel_CPPFLAGS = $(AM_CPPFLAGS)
     97brm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     98
     99# CAN
     100noinst_PROGRAMS += can.rel
     101can_rel_SOURCES = ../../sparc/shared/can/occan.c ../../sparc/shared/can/occan_pci.c ../../sparc/shared/can/grcan.c ../../sparc/shared/can/grcan_rasta.c
     102can_rel_CPPFLAGS = $(AM_CPPFLAGS)
     103can_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     104
     105# SpaceWire
     106noinst_PROGRAMS += spw.rel
     107spw_rel_SOURCES = ../../sparc/shared/spw/grspw.c ../../sparc/shared/spw/grspw_pci.c ../../sparc/shared/spw/grspw_rasta.c
     108spw_rel_CPPFLAGS = $(AM_CPPFLAGS)
     109spw_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     110
     111# UART (RAW)
     112noinst_PROGRAMS += uart.rel
     113uart_rel_SOURCES = ../../sparc/shared/uart/apbuart.c ../../sparc/shared/uart/apbuart_pci.c ../../sparc/shared/uart/apbuart_rasta.c
     114uart_rel_CPPFLAGS = $(AM_CPPFLAGS)
     115uart_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     116
    64117
    65118if HAS_NETWORKING
     
    87140libbsp_a_SOURCES =
    88141libbsp_a_LIBADD = startup.rel console.rel clock.rel timer.rel gnatsupp.rel \
    89                   amba.rel
     142                  amba.rel rasta.rel uart.rel spw.rel can.rel brm.rel pci.rel \
     143                  cchip.rel
    90144
    91145if HAS_NETWORKING
  • c/src/lib/libbsp/sparc/leon2/preinstall.am

    r28f3f511 rc468e489  
    5858PREINSTALL_FILES += $(PROJECT_INCLUDE)/ambapp.h
    5959
     60
     61# Companion Chip
     62$(PROJECT_INCLUDE)/cchip.h: include/cchip.h $(PROJECT_INCLUDE)/$(dirstamp)
     63        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/cchip.h
     64PREINSTALL_FILES += $(PROJECT_INCLUDE)/cchip.h
     65
     66
     67# PCI
     68$(PROJECT_INCLUDE)/pci.h: ../../sparc/shared/include/pci.h $(PROJECT_INCLUDE)/$(dirstamp)
     69        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/pci.h
     70PREINSTALL_FILES += $(PROJECT_INCLUDE)/pci.h
     71
     72
     73# DEBUG
     74$(PROJECT_INCLUDE)/debug_defs.h: ../../sparc/shared/include/debug_defs.h $(PROJECT_INCLUDE)/$(dirstamp)
     75        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/debug_defs.h
     76PREINSTALL_FILES += $(PROJECT_INCLUDE)/debug_defs.h
     77
     78
     79# SpaceWire GRSPW
     80$(PROJECT_INCLUDE)/grspw.h: ../../sparc/shared/include/grspw.h $(PROJECT_INCLUDE)/$(dirstamp)
     81        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grspw.h
     82PREINSTALL_FILES += $(PROJECT_INCLUDE)/grspw.h
     83
     84$(PROJECT_INCLUDE)/grspw_pci.h: ../../sparc/shared/include/grspw_pci.h $(PROJECT_INCLUDE)/$(dirstamp)
     85        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grspw_pci.h
     86PREINSTALL_FILES += $(PROJECT_INCLUDE)/grspw_pci.h
     87
     88$(PROJECT_INCLUDE)/grspw_rasta.h: ../../sparc/shared/include/grspw_rasta.h $(PROJECT_INCLUDE)/$(dirstamp)
     89        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grspw_rasta.h
     90PREINSTALL_FILES += $(PROJECT_INCLUDE)/grspw_rasta.h
     91
     92
     93# RASTA
     94$(PROJECT_INCLUDE)/rasta.h: include/rasta.h $(PROJECT_INCLUDE)/$(dirstamp)
     95        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rasta.h
     96PREINSTALL_FILES += $(PROJECT_INCLUDE)/rasta.h
     97
     98
     99# B1553BRM
     100$(PROJECT_INCLUDE)/b1553brm.h: ../../sparc/shared/include/b1553brm.h $(PROJECT_INCLUDE)/$(dirstamp)
     101        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/b1553brm.h
     102PREINSTALL_FILES += $(PROJECT_INCLUDE)/b1553brm.h
     103
     104$(PROJECT_INCLUDE)/b1553brm_pci.h: ../../sparc/shared/include/b1553brm_pci.h $(PROJECT_INCLUDE)/$(dirstamp)
     105        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/b1553brm_pci.h
     106PREINSTALL_FILES += $(PROJECT_INCLUDE)/b1553brm_pci.h
     107
     108$(PROJECT_INCLUDE)/b1553brm_rasta.h: ../../sparc/shared/include/b1553brm_rasta.h $(PROJECT_INCLUDE)/$(dirstamp)
     109        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/b1553brm_rasta.h
     110PREINSTALL_FILES += $(PROJECT_INCLUDE)/b1553brm_rasta.h
     111
     112
     113# CAN
     114$(PROJECT_INCLUDE)/occan.h: ../../sparc/shared/include/occan.h $(PROJECT_INCLUDE)/$(dirstamp)
     115        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/occan.h
     116PREINSTALL_FILES += $(PROJECT_INCLUDE)/occan.h
     117
     118$(PROJECT_INCLUDE)/occan_pci.h: ../../sparc/shared/include/occan_pci.h $(PROJECT_INCLUDE)/$(dirstamp)
     119        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/occan_pci.h
     120PREINSTALL_FILES += $(PROJECT_INCLUDE)/occan_pci.h
     121
     122$(PROJECT_INCLUDE)/grcan.h: ../../sparc/shared/include/grcan.h $(PROJECT_INCLUDE)/$(dirstamp)
     123        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grcan.h
     124PREINSTALL_FILES += $(PROJECT_INCLUDE)/grcan.h
     125
     126$(PROJECT_INCLUDE)/grcan_rasta.h: ../../sparc/shared/include/grcan_rasta.h $(PROJECT_INCLUDE)/$(dirstamp)
     127        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grcan_rasta.h
     128PREINSTALL_FILES += $(PROJECT_INCLUDE)/grcan_rasta.h
     129
     130
     131# UART
     132$(PROJECT_INCLUDE)/apbuart.h: ../../sparc/shared/include/apbuart.h $(PROJECT_INCLUDE)/$(dirstamp)
     133        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/apbuart.h
     134PREINSTALL_FILES += $(PROJECT_INCLUDE)/apbuart.h
     135
     136$(PROJECT_INCLUDE)/apbuart_pci.h: ../../sparc/shared/include/apbuart_pci.h $(PROJECT_INCLUDE)/$(dirstamp)
     137        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/apbuart_pci.h
     138PREINSTALL_FILES += $(PROJECT_INCLUDE)/apbuart_pci.h
     139
     140$(PROJECT_INCLUDE)/apbuart_rasta.h: ../../sparc/shared/include/apbuart_rasta.h $(PROJECT_INCLUDE)/$(dirstamp)
     141        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/apbuart_rasta.h
     142PREINSTALL_FILES += $(PROJECT_INCLUDE)/apbuart_rasta.h
     143
     144
    60145$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
    61146        $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
Note: See TracChangeset for help on using the changeset viewer.