Changeset 5823bae8 in rtems


Ignore:
Timestamp:
Feb 27, 2015, 1:03:15 PM (4 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
65d1f35
Parents:
445e253
git-author:
Daniel Hellstrom <daniel@…> (02/27/15 13:03:15)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:26)
Message:

LEON: move driver headers to bsp/ directory

Location:
c/src/lib/libbsp/sparc
Files:
58 edited

Legend:

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

    r445e253 r5823bae8  
    99include_HEADERS = include/bsp.h
    1010include_HEADERS += include/tm27.h
    11 include_HEADERS += ../../sparc/shared/include/debug_defs.h
     11include_bsp_HEADERS = ../../sparc/shared/include/debug_defs.h
    1212
    1313nodist_include_HEADERS = include/bspopts.h
     
    5252# gnatsupp
    5353libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
    54 include_bsp_HEADERS = ../shared/include/gnatcommon.h
     54include_bsp_HEADERS += ../shared/include/gnatcommon.h
    5555# console
    5656libbsp_a_SOURCES += console/console.c console/debugputs.c
     
    5959libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
    6060# IRQ
    61 include_HEADERS += ../../sparc/shared/include/genirq.h
     61include_bsp_HEADERS += ../../sparc/shared/include/genirq.h
    6262libbsp_a_SOURCES += ../../sparc/shared/irq/genirq.c
    6363include_bsp_HEADERS += \
     
    7979include_HEADERS += ../../sparc/shared/include/ambapp_ids.h
    8080include_HEADERS += ../../sparc/shared/include/grlib.h
    81 include_HEADERS += ../../sparc/shared/include/ahbstat.h
     81include_bsp_HEADERS += ../../sparc/shared/include/ahbstat.h
    8282libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp.c
    8383libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_alloc.c
     
    9393
    9494# Clock Driver and Timer Library
    95 include_HEADERS += ../../sparc/shared/include/gptimer.h
    96 include_HEADERS += ../../sparc/shared/include/tlib.h
     95include_bsp_HEADERS += ../../sparc/shared/include/gptimer.h
     96include_bsp_HEADERS += ../../sparc/shared/include/tlib.h
    9797libbsp_a_SOURCES += ../../sparc/shared/timer/gptimer.c
    9898libbsp_a_SOURCES += ../../sparc/shared/timer/tlib.c
    9999
    100100# PCI
    101 include_HEADERS += ../../sparc/shared/include/grpci.h
    102 include_HEADERS += ../../sparc/shared/include/grpci2.h
    103 include_HEADERS += ../../sparc/shared/include/pcif.h
    104 include_HEADERS += include/at697_pci.h
     101include_bsp_HEADERS += ../../sparc/shared/include/grpci.h
     102include_bsp_HEADERS += ../../sparc/shared/include/grpci2.h
     103include_bsp_HEADERS += ../../sparc/shared/include/pcif.h
     104include_bsp_HEADERS += include/at697_pci.h
    105105libbsp_a_SOURCES += ../../sparc/shared/pci/grpci2.c
    106106libbsp_a_SOURCES += ../../sparc/shared/pci/grpci.c
     
    111111
    112112# PCI target devices
    113 include_HEADERS += ../../sparc/shared/include/gr_701.h
    114 include_HEADERS += ../../sparc/shared/include/gr_rasta_adcdac.h
    115 include_HEADERS += ../../sparc/shared/include/gr_rasta_io.h
    116 include_HEADERS += ../../sparc/shared/include/gr_rasta_spw_router.h
    117 include_HEADERS += ../../sparc/shared/include/gr_rasta_tmtc.h
    118 include_HEADERS += ../../sparc/shared/include/gr_leon4_n2x.h
     113include_bsp_HEADERS += ../../sparc/shared/include/gr_701.h
     114include_bsp_HEADERS += ../../sparc/shared/include/gr_rasta_adcdac.h
     115include_bsp_HEADERS += ../../sparc/shared/include/gr_rasta_io.h
     116include_bsp_HEADERS += ../../sparc/shared/include/gr_rasta_spw_router.h
     117include_bsp_HEADERS += ../../sparc/shared/include/gr_rasta_tmtc.h
     118include_bsp_HEADERS += ../../sparc/shared/include/gr_leon4_n2x.h
    119119libbsp_a_SOURCES +=  ../../sparc/shared/pci/gr_701.c
    120120libbsp_a_SOURCES +=  ../../sparc/shared/pci/gr_rasta_adcdac.c
     
    125125
    126126# B1553BRM
    127 include_HEADERS += ../../sparc/shared/include/b1553brm.h
    128 include_HEADERS += ../../sparc/shared/include/b1553rt.h
     127include_bsp_HEADERS += ../../sparc/shared/include/b1553brm.h
     128include_bsp_HEADERS += ../../sparc/shared/include/b1553rt.h
    129129libbsp_a_SOURCES += ../../sparc/shared/1553/b1553brm.c
    130130libbsp_a_SOURCES += ../../sparc/shared/1553/b1553rt.c
    131131
    132132# GR1553B
    133 include_HEADERS += ../../sparc/shared/include/gr1553b.h
    134 include_HEADERS += ../../sparc/shared/include/gr1553bc.h
    135 include_HEADERS += ../../sparc/shared/include/gr1553bc_list.h
    136 include_HEADERS += ../../sparc/shared/include/gr1553bm.h
    137 include_HEADERS += ../../sparc/shared/include/gr1553rt.h
     133include_bsp_HEADERS += ../../sparc/shared/include/gr1553b.h
     134include_bsp_HEADERS += ../../sparc/shared/include/gr1553bc.h
     135include_bsp_HEADERS += ../../sparc/shared/include/gr1553bc_list.h
     136include_bsp_HEADERS += ../../sparc/shared/include/gr1553bm.h
     137include_bsp_HEADERS += ../../sparc/shared/include/gr1553rt.h
    138138libbsp_a_SOURCES += ../../sparc/shared/1553/gr1553b.c
    139139libbsp_a_SOURCES += ../../sparc/shared/1553/gr1553bc.c
     
    142142
    143143# CAN
    144 include_HEADERS += ../../sparc/shared/include/occan.h
    145 include_HEADERS += ../../sparc/shared/include/grcan.h
     144include_bsp_HEADERS += ../../sparc/shared/include/occan.h
     145include_bsp_HEADERS += ../../sparc/shared/include/grcan.h
    146146libbsp_a_SOURCES += ../../sparc/shared/can/occan.c \
    147147    ../../sparc/shared/can/grcan.c
    148148
    149149# SpaceWire
    150 include_HEADERS += ../../sparc/shared/include/grspw.h
    151 include_HEADERS += ../../sparc/shared/include/grspw_router.h
     150include_bsp_HEADERS += ../../sparc/shared/include/grspw.h
     151include_bsp_HEADERS += ../../sparc/shared/include/grspw_router.h
    152152libbsp_a_SOURCES += ../../sparc/shared/spw/grspw.c
    153153libbsp_a_SOURCES += ../../sparc/shared/spw/grspw_router.c
    154154
    155155# UART (RAW)
    156 include_HEADERS += ../../sparc/shared/include/apbuart.h
     156include_bsp_HEADERS += ../../sparc/shared/include/apbuart.h
    157157libbsp_a_SOURCES += ../../sparc/shared/uart/apbuart.c
    158158
    159159# I2CMST
    160 include_HEADERS += ../../sparc/shared/include/i2cmst.h
     160include_bsp_HEADERS += ../../sparc/shared/include/i2cmst.h
    161161libbsp_a_SOURCES += ../../sparc/shared/i2c/i2cmst.c
    162162
    163163# SPI
    164 include_HEADERS += ../../sparc/shared/include/spictrl.h
     164include_bsp_HEADERS += ../../sparc/shared/include/spictrl.h
    165165libbsp_a_SOURCES += ../../sparc/shared/spi/spictrl.c
    166166
    167167# TIME
    168 include_HEADERS += ../../sparc/shared/include/spwcuc.h
    169 include_HEADERS += ../../sparc/shared/include/grctm.h
     168include_bsp_HEADERS += ../../sparc/shared/include/spwcuc.h
     169include_bsp_HEADERS += ../../sparc/shared/include/grctm.h
    170170libbsp_a_SOURCES += ../../sparc/shared/time/spwcuc.c
    171171libbsp_a_SOURCES += ../../sparc/shared/time/grctm.c
    172172
    173173# GPIO
    174 include_HEADERS += ../../sparc/shared/include/grgpio.h
    175 include_HEADERS += ../../sparc/shared/include/gpiolib.h
     174include_bsp_HEADERS += ../../sparc/shared/include/grgpio.h
     175include_bsp_HEADERS += ../../sparc/shared/include/gpiolib.h
    176176libbsp_a_SOURCES += ../../sparc/shared/gpio/grgpio.c
    177177libbsp_a_SOURCES += ../../sparc/shared/gpio/gpiolib.c
    178178
    179179# PWM
    180 include_HEADERS += ../../sparc/shared/include/grpwm.h
     180include_bsp_HEADERS += ../../sparc/shared/include/grpwm.h
    181181libbsp_a_SOURCES += ../../sparc/shared/pwm/grpwm.c
    182182
    183183# ADC and DAC
    184 include_HEADERS += ../../sparc/shared/include/gradcdac.h
     184include_bsp_HEADERS += ../../sparc/shared/include/gradcdac.h
    185185libbsp_a_SOURCES += ../../sparc/shared/analog/gradcdac.c
    186186
    187187# Memory controllers
    188188libbsp_a_SOURCES += ../../sparc/shared/mem/mctrl.c
    189 include_HEADERS += ../../sparc/shared/include/mctrl.h
     189include_bsp_HEADERS += ../../sparc/shared/include/mctrl.h
    190190
    191191# timer
     
    193193
    194194# TM/TC
    195 include_HEADERS += ../../sparc/shared/include/grtc.h
    196 include_HEADERS += ../../sparc/shared/include/grtm.h
     195include_bsp_HEADERS += ../../sparc/shared/include/grtc.h
     196include_bsp_HEADERS += ../../sparc/shared/include/grtm.h
    197197libbsp_a_SOURCES += ../../sparc/shared/tmtc/grtc.c
    198198libbsp_a_SOURCES += ../../sparc/shared/tmtc/grtm.c
     
    232232noinst_PROGRAMS += leon_greth.rel
    233233leon_greth_rel_SOURCES = ../../sparc/shared/net/greth.c
    234 include_HEADERS += ../../sparc/shared/include/greth.h
     234include_bsp_HEADERS += ../../sparc/shared/include/greth.h
    235235leon_greth_rel_CPPFLAGS = $(AM_CPPFLAGS)
    236236leon_greth_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
     
    238238
    239239# BSP Network configuration
    240 include_HEADERS += ../../sparc/shared/include/network_interface_add.h
     240include_bsp_HEADERS += ../../sparc/shared/include/network_interface_add.h
    241241libbsp_a_SOURCES += ../../sparc/shared/net/network_interface_add.c
    242242endif
  • c/src/lib/libbsp/sparc/leon2/pci/at697_pci.c

    r445e253 r5823bae8  
    4444#include <drvmgr/leon2_amba_bus.h>
    4545
    46 #include <at697_pci.h>
     46#include <bsp/at697_pci.h>
    4747#include <leon.h>
    4848
  • c/src/lib/libbsp/sparc/leon2/preinstall.am

    r445e253 r5823bae8  
    4646PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
    4747
    48 $(PROJECT_INCLUDE)/debug_defs.h: ../../sparc/shared/include/debug_defs.h $(PROJECT_INCLUDE)/$(dirstamp)
    49         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/debug_defs.h
    50 PREINSTALL_FILES += $(PROJECT_INCLUDE)/debug_defs.h
     48$(PROJECT_INCLUDE)/bsp/debug_defs.h: ../../sparc/shared/include/debug_defs.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     49        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/debug_defs.h
     50PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/debug_defs.h
    5151
    5252$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
     
    8282PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gnatcommon.h
    8383
    84 $(PROJECT_INCLUDE)/genirq.h: ../../sparc/shared/include/genirq.h $(PROJECT_INCLUDE)/$(dirstamp)
    85         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/genirq.h
    86 PREINSTALL_FILES += $(PROJECT_INCLUDE)/genirq.h
     84$(PROJECT_INCLUDE)/bsp/genirq.h: ../../sparc/shared/include/genirq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     85        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/genirq.h
     86PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/genirq.h
    8787
    8888$(PROJECT_INCLUDE)/bsp/irq-generic.h: ../../shared/include/irq-generic.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     
    110110PREINSTALL_FILES += $(PROJECT_INCLUDE)/grlib.h
    111111
    112 $(PROJECT_INCLUDE)/ahbstat.h: ../../sparc/shared/include/ahbstat.h $(PROJECT_INCLUDE)/$(dirstamp)
    113         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ahbstat.h
    114 PREINSTALL_FILES += $(PROJECT_INCLUDE)/ahbstat.h
    115 
    116 $(PROJECT_INCLUDE)/gptimer.h: ../../sparc/shared/include/gptimer.h $(PROJECT_INCLUDE)/$(dirstamp)
    117         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gptimer.h
    118 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gptimer.h
    119 
    120 $(PROJECT_INCLUDE)/tlib.h: ../../sparc/shared/include/tlib.h $(PROJECT_INCLUDE)/$(dirstamp)
    121         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tlib.h
    122 PREINSTALL_FILES += $(PROJECT_INCLUDE)/tlib.h
    123 
    124 $(PROJECT_INCLUDE)/grpci.h: ../../sparc/shared/include/grpci.h $(PROJECT_INCLUDE)/$(dirstamp)
    125         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grpci.h
    126 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grpci.h
    127 
    128 $(PROJECT_INCLUDE)/grpci2.h: ../../sparc/shared/include/grpci2.h $(PROJECT_INCLUDE)/$(dirstamp)
    129         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grpci2.h
    130 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grpci2.h
    131 
    132 $(PROJECT_INCLUDE)/pcif.h: ../../sparc/shared/include/pcif.h $(PROJECT_INCLUDE)/$(dirstamp)
    133         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/pcif.h
    134 PREINSTALL_FILES += $(PROJECT_INCLUDE)/pcif.h
    135 
    136 $(PROJECT_INCLUDE)/at697_pci.h: include/at697_pci.h $(PROJECT_INCLUDE)/$(dirstamp)
    137         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/at697_pci.h
    138 PREINSTALL_FILES += $(PROJECT_INCLUDE)/at697_pci.h
    139 
    140 $(PROJECT_INCLUDE)/gr_701.h: ../../sparc/shared/include/gr_701.h $(PROJECT_INCLUDE)/$(dirstamp)
    141         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr_701.h
    142 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr_701.h
    143 
    144 $(PROJECT_INCLUDE)/gr_rasta_adcdac.h: ../../sparc/shared/include/gr_rasta_adcdac.h $(PROJECT_INCLUDE)/$(dirstamp)
    145         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr_rasta_adcdac.h
    146 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr_rasta_adcdac.h
    147 
    148 $(PROJECT_INCLUDE)/gr_rasta_io.h: ../../sparc/shared/include/gr_rasta_io.h $(PROJECT_INCLUDE)/$(dirstamp)
    149         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr_rasta_io.h
    150 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr_rasta_io.h
    151 
    152 $(PROJECT_INCLUDE)/gr_rasta_spw_router.h: ../../sparc/shared/include/gr_rasta_spw_router.h $(PROJECT_INCLUDE)/$(dirstamp)
    153         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr_rasta_spw_router.h
    154 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr_rasta_spw_router.h
    155 
    156 $(PROJECT_INCLUDE)/gr_rasta_tmtc.h: ../../sparc/shared/include/gr_rasta_tmtc.h $(PROJECT_INCLUDE)/$(dirstamp)
    157         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr_rasta_tmtc.h
    158 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr_rasta_tmtc.h
    159 
    160 $(PROJECT_INCLUDE)/gr_leon4_n2x.h: ../../sparc/shared/include/gr_leon4_n2x.h $(PROJECT_INCLUDE)/$(dirstamp)
    161         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr_leon4_n2x.h
    162 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr_leon4_n2x.h
    163 
    164 $(PROJECT_INCLUDE)/b1553brm.h: ../../sparc/shared/include/b1553brm.h $(PROJECT_INCLUDE)/$(dirstamp)
    165         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/b1553brm.h
    166 PREINSTALL_FILES += $(PROJECT_INCLUDE)/b1553brm.h
    167 
    168 $(PROJECT_INCLUDE)/b1553rt.h: ../../sparc/shared/include/b1553rt.h $(PROJECT_INCLUDE)/$(dirstamp)
    169         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/b1553rt.h
    170 PREINSTALL_FILES += $(PROJECT_INCLUDE)/b1553rt.h
    171 
    172 $(PROJECT_INCLUDE)/gr1553b.h: ../../sparc/shared/include/gr1553b.h $(PROJECT_INCLUDE)/$(dirstamp)
    173         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr1553b.h
    174 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr1553b.h
    175 
    176 $(PROJECT_INCLUDE)/gr1553bc.h: ../../sparc/shared/include/gr1553bc.h $(PROJECT_INCLUDE)/$(dirstamp)
    177         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr1553bc.h
    178 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr1553bc.h
    179 
    180 $(PROJECT_INCLUDE)/gr1553bc_list.h: ../../sparc/shared/include/gr1553bc_list.h $(PROJECT_INCLUDE)/$(dirstamp)
    181         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr1553bc_list.h
    182 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr1553bc_list.h
    183 
    184 $(PROJECT_INCLUDE)/gr1553bm.h: ../../sparc/shared/include/gr1553bm.h $(PROJECT_INCLUDE)/$(dirstamp)
    185         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr1553bm.h
    186 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr1553bm.h
    187 
    188 $(PROJECT_INCLUDE)/gr1553rt.h: ../../sparc/shared/include/gr1553rt.h $(PROJECT_INCLUDE)/$(dirstamp)
    189         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr1553rt.h
    190 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr1553rt.h
    191 
    192 $(PROJECT_INCLUDE)/occan.h: ../../sparc/shared/include/occan.h $(PROJECT_INCLUDE)/$(dirstamp)
    193         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/occan.h
    194 PREINSTALL_FILES += $(PROJECT_INCLUDE)/occan.h
    195 
    196 $(PROJECT_INCLUDE)/grcan.h: ../../sparc/shared/include/grcan.h $(PROJECT_INCLUDE)/$(dirstamp)
    197         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grcan.h
    198 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grcan.h
    199 
    200 $(PROJECT_INCLUDE)/grspw.h: ../../sparc/shared/include/grspw.h $(PROJECT_INCLUDE)/$(dirstamp)
    201         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grspw.h
    202 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grspw.h
    203 
    204 $(PROJECT_INCLUDE)/grspw_router.h: ../../sparc/shared/include/grspw_router.h $(PROJECT_INCLUDE)/$(dirstamp)
    205         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grspw_router.h
    206 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grspw_router.h
    207 
    208 $(PROJECT_INCLUDE)/apbuart.h: ../../sparc/shared/include/apbuart.h $(PROJECT_INCLUDE)/$(dirstamp)
    209         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/apbuart.h
    210 PREINSTALL_FILES += $(PROJECT_INCLUDE)/apbuart.h
    211 
    212 $(PROJECT_INCLUDE)/i2cmst.h: ../../sparc/shared/include/i2cmst.h $(PROJECT_INCLUDE)/$(dirstamp)
    213         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/i2cmst.h
    214 PREINSTALL_FILES += $(PROJECT_INCLUDE)/i2cmst.h
    215 
    216 $(PROJECT_INCLUDE)/spictrl.h: ../../sparc/shared/include/spictrl.h $(PROJECT_INCLUDE)/$(dirstamp)
    217         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/spictrl.h
    218 PREINSTALL_FILES += $(PROJECT_INCLUDE)/spictrl.h
    219 
    220 $(PROJECT_INCLUDE)/spwcuc.h: ../../sparc/shared/include/spwcuc.h $(PROJECT_INCLUDE)/$(dirstamp)
    221         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/spwcuc.h
    222 PREINSTALL_FILES += $(PROJECT_INCLUDE)/spwcuc.h
    223 
    224 $(PROJECT_INCLUDE)/grctm.h: ../../sparc/shared/include/grctm.h $(PROJECT_INCLUDE)/$(dirstamp)
    225         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grctm.h
    226 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grctm.h
    227 
    228 $(PROJECT_INCLUDE)/grgpio.h: ../../sparc/shared/include/grgpio.h $(PROJECT_INCLUDE)/$(dirstamp)
    229         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grgpio.h
    230 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grgpio.h
    231 
    232 $(PROJECT_INCLUDE)/gpiolib.h: ../../sparc/shared/include/gpiolib.h $(PROJECT_INCLUDE)/$(dirstamp)
    233         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gpiolib.h
    234 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gpiolib.h
    235 
    236 $(PROJECT_INCLUDE)/grpwm.h: ../../sparc/shared/include/grpwm.h $(PROJECT_INCLUDE)/$(dirstamp)
    237         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grpwm.h
    238 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grpwm.h
    239 
    240 $(PROJECT_INCLUDE)/gradcdac.h: ../../sparc/shared/include/gradcdac.h $(PROJECT_INCLUDE)/$(dirstamp)
    241         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gradcdac.h
    242 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gradcdac.h
    243 
    244 $(PROJECT_INCLUDE)/mctrl.h: ../../sparc/shared/include/mctrl.h $(PROJECT_INCLUDE)/$(dirstamp)
    245         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mctrl.h
    246 PREINSTALL_FILES += $(PROJECT_INCLUDE)/mctrl.h
    247 
    248 $(PROJECT_INCLUDE)/grtc.h: ../../sparc/shared/include/grtc.h $(PROJECT_INCLUDE)/$(dirstamp)
    249         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grtc.h
    250 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grtc.h
    251 
    252 $(PROJECT_INCLUDE)/grtm.h: ../../sparc/shared/include/grtm.h $(PROJECT_INCLUDE)/$(dirstamp)
    253         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grtm.h
    254 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grtm.h
     112$(PROJECT_INCLUDE)/bsp/ahbstat.h: ../../sparc/shared/include/ahbstat.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     113        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/ahbstat.h
     114PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/ahbstat.h
     115
     116$(PROJECT_INCLUDE)/bsp/gptimer.h: ../../sparc/shared/include/gptimer.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     117        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gptimer.h
     118PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gptimer.h
     119
     120$(PROJECT_INCLUDE)/bsp/tlib.h: ../../sparc/shared/include/tlib.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     121        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/tlib.h
     122PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/tlib.h
     123
     124$(PROJECT_INCLUDE)/bsp/grpci.h: ../../sparc/shared/include/grpci.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     125        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grpci.h
     126PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grpci.h
     127
     128$(PROJECT_INCLUDE)/bsp/grpci2.h: ../../sparc/shared/include/grpci2.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     129        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grpci2.h
     130PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grpci2.h
     131
     132$(PROJECT_INCLUDE)/bsp/pcif.h: ../../sparc/shared/include/pcif.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     133        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/pcif.h
     134PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/pcif.h
     135
     136$(PROJECT_INCLUDE)/bsp/at697_pci.h: include/at697_pci.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     137        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/at697_pci.h
     138PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/at697_pci.h
     139
     140$(PROJECT_INCLUDE)/bsp/gr_701.h: ../../sparc/shared/include/gr_701.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     141        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr_701.h
     142PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr_701.h
     143
     144$(PROJECT_INCLUDE)/bsp/gr_rasta_adcdac.h: ../../sparc/shared/include/gr_rasta_adcdac.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     145        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr_rasta_adcdac.h
     146PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr_rasta_adcdac.h
     147
     148$(PROJECT_INCLUDE)/bsp/gr_rasta_io.h: ../../sparc/shared/include/gr_rasta_io.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     149        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr_rasta_io.h
     150PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr_rasta_io.h
     151
     152$(PROJECT_INCLUDE)/bsp/gr_rasta_spw_router.h: ../../sparc/shared/include/gr_rasta_spw_router.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     153        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr_rasta_spw_router.h
     154PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr_rasta_spw_router.h
     155
     156$(PROJECT_INCLUDE)/bsp/gr_rasta_tmtc.h: ../../sparc/shared/include/gr_rasta_tmtc.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     157        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr_rasta_tmtc.h
     158PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr_rasta_tmtc.h
     159
     160$(PROJECT_INCLUDE)/bsp/gr_leon4_n2x.h: ../../sparc/shared/include/gr_leon4_n2x.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     161        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr_leon4_n2x.h
     162PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr_leon4_n2x.h
     163
     164$(PROJECT_INCLUDE)/bsp/b1553brm.h: ../../sparc/shared/include/b1553brm.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     165        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/b1553brm.h
     166PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/b1553brm.h
     167
     168$(PROJECT_INCLUDE)/bsp/b1553rt.h: ../../sparc/shared/include/b1553rt.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     169        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/b1553rt.h
     170PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/b1553rt.h
     171
     172$(PROJECT_INCLUDE)/bsp/gr1553b.h: ../../sparc/shared/include/gr1553b.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     173        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr1553b.h
     174PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr1553b.h
     175
     176$(PROJECT_INCLUDE)/bsp/gr1553bc.h: ../../sparc/shared/include/gr1553bc.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     177        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr1553bc.h
     178PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr1553bc.h
     179
     180$(PROJECT_INCLUDE)/bsp/gr1553bc_list.h: ../../sparc/shared/include/gr1553bc_list.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     181        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr1553bc_list.h
     182PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr1553bc_list.h
     183
     184$(PROJECT_INCLUDE)/bsp/gr1553bm.h: ../../sparc/shared/include/gr1553bm.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     185        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr1553bm.h
     186PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr1553bm.h
     187
     188$(PROJECT_INCLUDE)/bsp/gr1553rt.h: ../../sparc/shared/include/gr1553rt.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     189        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr1553rt.h
     190PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr1553rt.h
     191
     192$(PROJECT_INCLUDE)/bsp/occan.h: ../../sparc/shared/include/occan.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     193        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/occan.h
     194PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/occan.h
     195
     196$(PROJECT_INCLUDE)/bsp/grcan.h: ../../sparc/shared/include/grcan.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     197        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grcan.h
     198PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grcan.h
     199
     200$(PROJECT_INCLUDE)/bsp/grspw.h: ../../sparc/shared/include/grspw.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     201        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grspw.h
     202PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grspw.h
     203
     204$(PROJECT_INCLUDE)/bsp/grspw_router.h: ../../sparc/shared/include/grspw_router.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     205        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grspw_router.h
     206PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grspw_router.h
     207
     208$(PROJECT_INCLUDE)/bsp/apbuart.h: ../../sparc/shared/include/apbuart.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     209        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/apbuart.h
     210PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/apbuart.h
     211
     212$(PROJECT_INCLUDE)/bsp/i2cmst.h: ../../sparc/shared/include/i2cmst.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     213        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/i2cmst.h
     214PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/i2cmst.h
     215
     216$(PROJECT_INCLUDE)/bsp/spictrl.h: ../../sparc/shared/include/spictrl.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     217        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/spictrl.h
     218PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/spictrl.h
     219
     220$(PROJECT_INCLUDE)/bsp/spwcuc.h: ../../sparc/shared/include/spwcuc.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     221        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/spwcuc.h
     222PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/spwcuc.h
     223
     224$(PROJECT_INCLUDE)/bsp/grctm.h: ../../sparc/shared/include/grctm.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     225        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grctm.h
     226PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grctm.h
     227
     228$(PROJECT_INCLUDE)/bsp/grgpio.h: ../../sparc/shared/include/grgpio.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     229        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grgpio.h
     230PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grgpio.h
     231
     232$(PROJECT_INCLUDE)/bsp/gpiolib.h: ../../sparc/shared/include/gpiolib.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     233        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gpiolib.h
     234PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gpiolib.h
     235
     236$(PROJECT_INCLUDE)/bsp/grpwm.h: ../../sparc/shared/include/grpwm.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     237        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grpwm.h
     238PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grpwm.h
     239
     240$(PROJECT_INCLUDE)/bsp/gradcdac.h: ../../sparc/shared/include/gradcdac.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     241        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gradcdac.h
     242PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gradcdac.h
     243
     244$(PROJECT_INCLUDE)/bsp/mctrl.h: ../../sparc/shared/include/mctrl.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     245        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/mctrl.h
     246PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/mctrl.h
     247
     248$(PROJECT_INCLUDE)/bsp/grtc.h: ../../sparc/shared/include/grtc.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     249        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grtc.h
     250PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grtc.h
     251
     252$(PROJECT_INCLUDE)/bsp/grtm.h: ../../sparc/shared/include/grtm.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     253        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grtm.h
     254PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grtm.h
    255255
    256256$(PROJECT_INCLUDE)/drvmgr/$(dirstamp):
     
    272272
    273273if HAS_NETWORKING
    274 $(PROJECT_INCLUDE)/greth.h: ../../sparc/shared/include/greth.h $(PROJECT_INCLUDE)/$(dirstamp)
    275         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/greth.h
    276 PREINSTALL_FILES += $(PROJECT_INCLUDE)/greth.h
    277 
    278 $(PROJECT_INCLUDE)/network_interface_add.h: ../../sparc/shared/include/network_interface_add.h $(PROJECT_INCLUDE)/$(dirstamp)
    279         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/network_interface_add.h
    280 PREINSTALL_FILES += $(PROJECT_INCLUDE)/network_interface_add.h
     274$(PROJECT_INCLUDE)/bsp/greth.h: ../../sparc/shared/include/greth.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     275        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/greth.h
     276PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/greth.h
     277
     278$(PROJECT_INCLUDE)/bsp/network_interface_add.h: ../../sparc/shared/include/network_interface_add.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     279        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/network_interface_add.h
     280PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/network_interface_add.h
    281281endif
  • c/src/lib/libbsp/sparc/leon3/Makefile.am

    r445e253 r5823bae8  
    99include_HEADERS = include/bsp.h
    1010include_HEADERS += include/tm27.h
    11 include_HEADERS += ../../sparc/shared/include/debug_defs.h
     11include_bsp_HEADERS = ../../sparc/shared/include/debug_defs.h
    1212
    1313nodist_include_HEADERS = include/bspopts.h
     
    5050# gnatsupp
    5151libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
    52 include_bsp_HEADERS = ../shared/include/gnatcommon.h
     52include_bsp_HEADERS += ../shared/include/gnatcommon.h
    5353# AMBA bus
    5454include_HEADERS += include/amba.h
     
    5656include_HEADERS += ../../sparc/shared/include/ambapp_ids.h
    5757include_HEADERS += ../../sparc/shared/include/grlib.h
    58 include_HEADERS += ../../sparc/shared/include/ahbstat.h
     58include_bsp_HEADERS += ../../sparc/shared/include/ahbstat.h
    5959libbsp_a_SOURCES += amba/amba.c
    6060libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp.c
     
    7171
    7272# Clock Driver and Timer Library
    73 include_HEADERS += ../../sparc/shared/include/gptimer.h
    74 include_HEADERS += ../../sparc/shared/include/tlib.h
     73include_bsp_HEADERS += ../../sparc/shared/include/gptimer.h
     74include_bsp_HEADERS += ../../sparc/shared/include/tlib.h
    7575libbsp_a_SOURCES += ../../sparc/shared/timer/gptimer.c
    7676libbsp_a_SOURCES += ../../sparc/shared/timer/tlib.c
     
    8585libbsp_a_SOURCES += ../../sparc/shared/uart/cons.c
    8686libbsp_a_SOURCES += ../../sparc/shared/uart/apbuart_cons.c
    87 include_HEADERS += ../../sparc/shared/include/cons.h
    88 include_HEADERS += ../../sparc/shared/include/apbuart_cons.h
     87include_bsp_HEADERS += ../../sparc/shared/include/cons.h
     88include_bsp_HEADERS += ../../sparc/shared/include/apbuart_cons.h
    8989# debugio
    9090libbsp_a_SOURCES += console/printk_support.c
    9191
    9292# IRQ
    93 include_HEADERS += ../../sparc/shared/include/genirq.h
     93include_bsp_HEADERS += ../../sparc/shared/include/genirq.h
    9494include_bsp_HEADERS += \
    9595    ../../shared/include/irq-generic.h \
     
    109109
    110110# PCI
    111 include_HEADERS += ../../sparc/shared/include/grpci.h
    112 include_HEADERS += ../../sparc/shared/include/grpci2.h
    113 include_HEADERS += ../../sparc/shared/include/pcif.h
     111include_bsp_HEADERS += ../../sparc/shared/include/grpci.h
     112include_bsp_HEADERS += ../../sparc/shared/include/grpci2.h
     113include_bsp_HEADERS += ../../sparc/shared/include/pcif.h
    114114libbsp_a_SOURCES += ../../sparc/shared/pci/grpci.c
    115115libbsp_a_SOURCES += ../../sparc/shared/pci/grpci2.c
     
    119119
    120120# PCI target devices
    121 include_HEADERS += ../../sparc/shared/include/gr_701.h
    122 include_HEADERS += ../../sparc/shared/include/gr_rasta_adcdac.h
    123 include_HEADERS += ../../sparc/shared/include/gr_rasta_io.h
    124 include_HEADERS += ../../sparc/shared/include/gr_rasta_spw_router.h
    125 include_HEADERS += ../../sparc/shared/include/gr_rasta_tmtc.h
    126 include_HEADERS += ../../sparc/shared/include/gr_tmtc_1553.h
    127 include_HEADERS += ../../sparc/shared/include/gr_leon4_n2x.h
     121include_bsp_HEADERS += ../../sparc/shared/include/gr_701.h
     122include_bsp_HEADERS += ../../sparc/shared/include/gr_rasta_adcdac.h
     123include_bsp_HEADERS += ../../sparc/shared/include/gr_rasta_io.h
     124include_bsp_HEADERS += ../../sparc/shared/include/gr_rasta_spw_router.h
     125include_bsp_HEADERS += ../../sparc/shared/include/gr_rasta_tmtc.h
     126include_bsp_HEADERS += ../../sparc/shared/include/gr_tmtc_1553.h
     127include_bsp_HEADERS += ../../sparc/shared/include/gr_leon4_n2x.h
    128128libbsp_a_SOURCES +=  ../../sparc/shared/pci/gr_701.c
    129129libbsp_a_SOURCES +=  ../../sparc/shared/pci/gr_rasta_adcdac.c
     
    135135
    136136# B1553BRM
    137 include_HEADERS += ../../sparc/shared/include/b1553brm.h
    138 include_HEADERS += ../../sparc/shared/include/b1553rt.h
     137include_bsp_HEADERS += ../../sparc/shared/include/b1553brm.h
     138include_bsp_HEADERS += ../../sparc/shared/include/b1553rt.h
    139139libbsp_a_SOURCES += ../../sparc/shared/1553/b1553brm.c
    140140libbsp_a_SOURCES += ../../sparc/shared/1553/b1553rt.c
    141141
    142142# GR1553B
    143 include_HEADERS += ../../sparc/shared/include/gr1553b.h
    144 include_HEADERS += ../../sparc/shared/include/gr1553bc.h
    145 include_HEADERS += ../../sparc/shared/include/gr1553bc_list.h
    146 include_HEADERS += ../../sparc/shared/include/gr1553bm.h
    147 include_HEADERS += ../../sparc/shared/include/gr1553rt.h
     143include_bsp_HEADERS += ../../sparc/shared/include/gr1553b.h
     144include_bsp_HEADERS += ../../sparc/shared/include/gr1553bc.h
     145include_bsp_HEADERS += ../../sparc/shared/include/gr1553bc_list.h
     146include_bsp_HEADERS += ../../sparc/shared/include/gr1553bm.h
     147include_bsp_HEADERS += ../../sparc/shared/include/gr1553rt.h
    148148libbsp_a_SOURCES += ../../sparc/shared/1553/gr1553b.c
    149149libbsp_a_SOURCES += ../../sparc/shared/1553/gr1553bc.c
     
    152152
    153153# CAN
    154 include_HEADERS += ../../sparc/shared/include/occan.h \
     154include_bsp_HEADERS += ../../sparc/shared/include/occan.h \
    155155    ../../sparc/shared/include/grcan.h
    156156libbsp_a_SOURCES += ../../sparc/shared/can/occan.c \
     
    158158
    159159# SpaceWire
    160 include_HEADERS += ../../sparc/shared/include/grspw.h
    161 include_HEADERS += ../../sparc/shared/include/grspw_pkt.h
    162 include_HEADERS += ../../sparc/shared/include/grspw_router.h
     160include_bsp_HEADERS += ../../sparc/shared/include/grspw.h
     161include_bsp_HEADERS += ../../sparc/shared/include/grspw_pkt.h
     162include_bsp_HEADERS += ../../sparc/shared/include/grspw_router.h
    163163libbsp_a_SOURCES += ../../sparc/shared/spw/grspw.c
    164164libbsp_a_SOURCES += ../../sparc/shared/spw/grspw_pkt.c
     
    166166
    167167# UART
    168 include_HEADERS += ../../sparc/shared/include/apbuart.h \
     168include_bsp_HEADERS += ../../sparc/shared/include/apbuart.h \
    169169    ../../sparc/shared/include/apbuart_termios.h
    170170libbsp_a_SOURCES += ../../sparc/shared/uart/apbuart.c \
     
    172172
    173173# I2CMST
    174 include_HEADERS += ../../sparc/shared/include/i2cmst.h
     174include_bsp_HEADERS += ../../sparc/shared/include/i2cmst.h
    175175libbsp_a_SOURCES += ../../sparc/shared/i2c/i2cmst.c
    176176
    177177# SPI
    178 include_HEADERS += ../../sparc/shared/include/spictrl.h
     178include_bsp_HEADERS += ../../sparc/shared/include/spictrl.h
    179179libbsp_a_SOURCES += ../../sparc/shared/spi/spictrl.c
    180180
    181181# TIME
    182 include_HEADERS += ../../sparc/shared/include/spwcuc.h
    183 include_HEADERS += ../../sparc/shared/include/grctm.h
     182include_bsp_HEADERS += ../../sparc/shared/include/spwcuc.h
     183include_bsp_HEADERS += ../../sparc/shared/include/grctm.h
    184184libbsp_a_SOURCES += ../../sparc/shared/time/spwcuc.c
    185185libbsp_a_SOURCES += ../../sparc/shared/time/grctm.c
    186186
    187187# GPIO
    188 include_HEADERS += ../../sparc/shared/include/grgpio.h
    189 include_HEADERS += ../../sparc/shared/include/gpiolib.h
     188include_bsp_HEADERS += ../../sparc/shared/include/grgpio.h
     189include_bsp_HEADERS += ../../sparc/shared/include/gpiolib.h
    190190libbsp_a_SOURCES += ../../sparc/shared/gpio/grgpio.c
    191191libbsp_a_SOURCES += ../../sparc/shared/gpio/gpiolib.c
    192192
    193193# PWM
    194 include_HEADERS += ../../sparc/shared/include/grpwm.h
     194include_bsp_HEADERS += ../../sparc/shared/include/grpwm.h
    195195libbsp_a_SOURCES += ../../sparc/shared/pwm/grpwm.c
    196196
    197197# ADC and DAC
    198 include_HEADERS += ../../sparc/shared/include/gradcdac.h
     198include_bsp_HEADERS += ../../sparc/shared/include/gradcdac.h
    199199libbsp_a_SOURCES += ../../sparc/shared/analog/gradcdac.c
    200200
    201201# Memory controllers
    202202libbsp_a_SOURCES += ../../sparc/shared/mem/mctrl.c
    203 include_HEADERS += ../../sparc/shared/include/mctrl.h
     203include_bsp_HEADERS += ../../sparc/shared/include/mctrl.h
    204204
    205205# timer
    206206libbsp_a_SOURCES += timer/timer.c
    207207libbsp_a_SOURCES += timer/watchdog.c
    208 include_HEADERS += include/watchdog.h
     208include_bsp_HEADERS += include/watchdog.h
    209209
    210210# Cache
     
    214214
    215215# GR712
    216 include_HEADERS += ../../sparc/shared/include/grascs.h
    217 include_HEADERS += ../../sparc/shared/include/satcan.h
    218 include_HEADERS += ../../sparc/shared/include/canmux.h
    219 include_HEADERS += ../../sparc/shared/include/grslink.h
     216include_bsp_HEADERS += ../../sparc/shared/include/grascs.h
     217include_bsp_HEADERS += ../../sparc/shared/include/satcan.h
     218include_bsp_HEADERS += ../../sparc/shared/include/canmux.h
     219include_bsp_HEADERS += ../../sparc/shared/include/grslink.h
    220220libbsp_a_SOURCES += ../../sparc/shared/ascs/grascs.c
    221221libbsp_a_SOURCES += ../../sparc/shared/can/satcan.c
     
    224224
    225225# TM/TC
    226 include_HEADERS += ../../sparc/shared/include/grtc.h
    227 include_HEADERS += ../../sparc/shared/include/grtm.h
     226include_bsp_HEADERS += ../../sparc/shared/include/grtc.h
     227include_bsp_HEADERS += ../../sparc/shared/include/grtm.h
    228228libbsp_a_SOURCES += ../../sparc/shared/tmtc/grtc.c
    229229libbsp_a_SOURCES += ../../sparc/shared/tmtc/grtm.c
     
    262262libbsp_a_SOURCES += leon_greth/leon_greth.c
    263263leon_greth_rel_SOURCES = ../../sparc/shared/net/greth.c
    264 include_HEADERS += ../../sparc/shared/include/greth.h
     264include_bsp_HEADERS += ../../sparc/shared/include/greth.h
    265265leon_greth_rel_CPPFLAGS = $(AM_CPPFLAGS)
    266266leon_greth_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
     
    270270# BSP Network configuration
    271271if HAS_NETWORKING
    272 include_HEADERS += ../../sparc/shared/include/network_interface_add.h
     272include_bsp_HEADERS += ../../sparc/shared/include/network_interface_add.h
    273273libbsp_a_SOURCES += ../../sparc/shared/net/network_interface_add.c
    274274endif
  • c/src/lib/libbsp/sparc/leon3/console/console.c

    r445e253 r5823bae8  
    2929#include <bsp.h>
    3030#include <bsp/fatal.h>
    31 #include <apbuart_termios.h>
     31#include <bsp/apbuart_termios.h>
    3232
    3333/* The LEON3 BSP UART driver can rely on the Driver Manager if the
  • c/src/lib/libbsp/sparc/leon3/console/printk_support.c

    r445e253 r5823bae8  
    2222#include <assert.h>
    2323#include <stdio.h>
    24 #include <apbuart.h>
    25 #include <apbuart_termios.h>
     24#include <bsp/apbuart.h>
     25#include <bsp/apbuart_termios.h>
    2626
    2727int debug_uart_index __attribute__((weak)) = 0;
  • c/src/lib/libbsp/sparc/leon3/preinstall.am

    r445e253 r5823bae8  
    4646PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
    4747
    48 $(PROJECT_INCLUDE)/debug_defs.h: ../../sparc/shared/include/debug_defs.h $(PROJECT_INCLUDE)/$(dirstamp)
    49         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/debug_defs.h
    50 PREINSTALL_FILES += $(PROJECT_INCLUDE)/debug_defs.h
     48$(PROJECT_INCLUDE)/bsp/debug_defs.h: ../../sparc/shared/include/debug_defs.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     49        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/debug_defs.h
     50PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/debug_defs.h
    5151
    5252$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
     
    106106PREINSTALL_FILES += $(PROJECT_INCLUDE)/grlib.h
    107107
    108 $(PROJECT_INCLUDE)/ahbstat.h: ../../sparc/shared/include/ahbstat.h $(PROJECT_INCLUDE)/$(dirstamp)
    109         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ahbstat.h
    110 PREINSTALL_FILES += $(PROJECT_INCLUDE)/ahbstat.h
    111 
    112 $(PROJECT_INCLUDE)/gptimer.h: ../../sparc/shared/include/gptimer.h $(PROJECT_INCLUDE)/$(dirstamp)
    113         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gptimer.h
    114 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gptimer.h
    115 
    116 $(PROJECT_INCLUDE)/tlib.h: ../../sparc/shared/include/tlib.h $(PROJECT_INCLUDE)/$(dirstamp)
    117         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tlib.h
    118 PREINSTALL_FILES += $(PROJECT_INCLUDE)/tlib.h
    119 
    120 $(PROJECT_INCLUDE)/cons.h: ../../sparc/shared/include/cons.h $(PROJECT_INCLUDE)/$(dirstamp)
    121         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/cons.h
    122 PREINSTALL_FILES += $(PROJECT_INCLUDE)/cons.h
    123 
    124 $(PROJECT_INCLUDE)/apbuart_cons.h: ../../sparc/shared/include/apbuart_cons.h $(PROJECT_INCLUDE)/$(dirstamp)
    125         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/apbuart_cons.h
    126 PREINSTALL_FILES += $(PROJECT_INCLUDE)/apbuart_cons.h
    127 
    128 $(PROJECT_INCLUDE)/genirq.h: ../../sparc/shared/include/genirq.h $(PROJECT_INCLUDE)/$(dirstamp)
    129         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/genirq.h
    130 PREINSTALL_FILES += $(PROJECT_INCLUDE)/genirq.h
     108$(PROJECT_INCLUDE)/bsp/ahbstat.h: ../../sparc/shared/include/ahbstat.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     109        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/ahbstat.h
     110PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/ahbstat.h
     111
     112$(PROJECT_INCLUDE)/bsp/gptimer.h: ../../sparc/shared/include/gptimer.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     113        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gptimer.h
     114PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gptimer.h
     115
     116$(PROJECT_INCLUDE)/bsp/tlib.h: ../../sparc/shared/include/tlib.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     117        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/tlib.h
     118PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/tlib.h
     119
     120$(PROJECT_INCLUDE)/bsp/cons.h: ../../sparc/shared/include/cons.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     121        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/cons.h
     122PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/cons.h
     123
     124$(PROJECT_INCLUDE)/bsp/apbuart_cons.h: ../../sparc/shared/include/apbuart_cons.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     125        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/apbuart_cons.h
     126PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/apbuart_cons.h
     127
     128$(PROJECT_INCLUDE)/bsp/genirq.h: ../../sparc/shared/include/genirq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     129        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/genirq.h
     130PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/genirq.h
    131131
    132132$(PROJECT_INCLUDE)/bsp/irq-generic.h: ../../shared/include/irq-generic.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     
    142142PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
    143143
    144 $(PROJECT_INCLUDE)/grpci.h: ../../sparc/shared/include/grpci.h $(PROJECT_INCLUDE)/$(dirstamp)
    145         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grpci.h
    146 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grpci.h
    147 
    148 $(PROJECT_INCLUDE)/grpci2.h: ../../sparc/shared/include/grpci2.h $(PROJECT_INCLUDE)/$(dirstamp)
    149         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grpci2.h
    150 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grpci2.h
    151 
    152 $(PROJECT_INCLUDE)/pcif.h: ../../sparc/shared/include/pcif.h $(PROJECT_INCLUDE)/$(dirstamp)
    153         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/pcif.h
    154 PREINSTALL_FILES += $(PROJECT_INCLUDE)/pcif.h
    155 
    156 $(PROJECT_INCLUDE)/gr_701.h: ../../sparc/shared/include/gr_701.h $(PROJECT_INCLUDE)/$(dirstamp)
    157         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr_701.h
    158 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr_701.h
    159 
    160 $(PROJECT_INCLUDE)/gr_rasta_adcdac.h: ../../sparc/shared/include/gr_rasta_adcdac.h $(PROJECT_INCLUDE)/$(dirstamp)
    161         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr_rasta_adcdac.h
    162 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr_rasta_adcdac.h
    163 
    164 $(PROJECT_INCLUDE)/gr_rasta_io.h: ../../sparc/shared/include/gr_rasta_io.h $(PROJECT_INCLUDE)/$(dirstamp)
    165         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr_rasta_io.h
    166 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr_rasta_io.h
    167 
    168 $(PROJECT_INCLUDE)/gr_rasta_spw_router.h: ../../sparc/shared/include/gr_rasta_spw_router.h $(PROJECT_INCLUDE)/$(dirstamp)
    169         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr_rasta_spw_router.h
    170 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr_rasta_spw_router.h
    171 
    172 $(PROJECT_INCLUDE)/gr_rasta_tmtc.h: ../../sparc/shared/include/gr_rasta_tmtc.h $(PROJECT_INCLUDE)/$(dirstamp)
    173         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr_rasta_tmtc.h
    174 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr_rasta_tmtc.h
    175 
    176 $(PROJECT_INCLUDE)/gr_tmtc_1553.h: ../../sparc/shared/include/gr_tmtc_1553.h $(PROJECT_INCLUDE)/$(dirstamp)
    177         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr_tmtc_1553.h
    178 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr_tmtc_1553.h
    179 
    180 $(PROJECT_INCLUDE)/gr_leon4_n2x.h: ../../sparc/shared/include/gr_leon4_n2x.h $(PROJECT_INCLUDE)/$(dirstamp)
    181         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr_leon4_n2x.h
    182 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr_leon4_n2x.h
    183 
    184 $(PROJECT_INCLUDE)/b1553brm.h: ../../sparc/shared/include/b1553brm.h $(PROJECT_INCLUDE)/$(dirstamp)
    185         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/b1553brm.h
    186 PREINSTALL_FILES += $(PROJECT_INCLUDE)/b1553brm.h
    187 
    188 $(PROJECT_INCLUDE)/b1553rt.h: ../../sparc/shared/include/b1553rt.h $(PROJECT_INCLUDE)/$(dirstamp)
    189         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/b1553rt.h
    190 PREINSTALL_FILES += $(PROJECT_INCLUDE)/b1553rt.h
    191 
    192 $(PROJECT_INCLUDE)/gr1553b.h: ../../sparc/shared/include/gr1553b.h $(PROJECT_INCLUDE)/$(dirstamp)
    193         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr1553b.h
    194 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr1553b.h
    195 
    196 $(PROJECT_INCLUDE)/gr1553bc.h: ../../sparc/shared/include/gr1553bc.h $(PROJECT_INCLUDE)/$(dirstamp)
    197         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr1553bc.h
    198 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr1553bc.h
    199 
    200 $(PROJECT_INCLUDE)/gr1553bc_list.h: ../../sparc/shared/include/gr1553bc_list.h $(PROJECT_INCLUDE)/$(dirstamp)
    201         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr1553bc_list.h
    202 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr1553bc_list.h
    203 
    204 $(PROJECT_INCLUDE)/gr1553bm.h: ../../sparc/shared/include/gr1553bm.h $(PROJECT_INCLUDE)/$(dirstamp)
    205         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr1553bm.h
    206 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr1553bm.h
    207 
    208 $(PROJECT_INCLUDE)/gr1553rt.h: ../../sparc/shared/include/gr1553rt.h $(PROJECT_INCLUDE)/$(dirstamp)
    209         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr1553rt.h
    210 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr1553rt.h
    211 
    212 $(PROJECT_INCLUDE)/occan.h: ../../sparc/shared/include/occan.h $(PROJECT_INCLUDE)/$(dirstamp)
    213         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/occan.h
    214 PREINSTALL_FILES += $(PROJECT_INCLUDE)/occan.h
    215 
    216 $(PROJECT_INCLUDE)/grcan.h: ../../sparc/shared/include/grcan.h $(PROJECT_INCLUDE)/$(dirstamp)
    217         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grcan.h
    218 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grcan.h
    219 
    220 $(PROJECT_INCLUDE)/grspw.h: ../../sparc/shared/include/grspw.h $(PROJECT_INCLUDE)/$(dirstamp)
    221         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grspw.h
    222 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grspw.h
    223 
    224 $(PROJECT_INCLUDE)/grspw_pkt.h: ../../sparc/shared/include/grspw_pkt.h $(PROJECT_INCLUDE)/$(dirstamp)
    225         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grspw_pkt.h
    226 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grspw_pkt.h
    227 
    228 $(PROJECT_INCLUDE)/grspw_router.h: ../../sparc/shared/include/grspw_router.h $(PROJECT_INCLUDE)/$(dirstamp)
    229         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grspw_router.h
    230 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grspw_router.h
    231 
    232 $(PROJECT_INCLUDE)/apbuart.h: ../../sparc/shared/include/apbuart.h $(PROJECT_INCLUDE)/$(dirstamp)
    233         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/apbuart.h
    234 PREINSTALL_FILES += $(PROJECT_INCLUDE)/apbuart.h
    235 
    236 $(PROJECT_INCLUDE)/apbuart_termios.h: ../../sparc/shared/include/apbuart_termios.h $(PROJECT_INCLUDE)/$(dirstamp)
    237         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/apbuart_termios.h
    238 PREINSTALL_FILES += $(PROJECT_INCLUDE)/apbuart_termios.h
    239 
    240 $(PROJECT_INCLUDE)/i2cmst.h: ../../sparc/shared/include/i2cmst.h $(PROJECT_INCLUDE)/$(dirstamp)
    241         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/i2cmst.h
    242 PREINSTALL_FILES += $(PROJECT_INCLUDE)/i2cmst.h
    243 
    244 $(PROJECT_INCLUDE)/spictrl.h: ../../sparc/shared/include/spictrl.h $(PROJECT_INCLUDE)/$(dirstamp)
    245         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/spictrl.h
    246 PREINSTALL_FILES += $(PROJECT_INCLUDE)/spictrl.h
    247 
    248 $(PROJECT_INCLUDE)/spwcuc.h: ../../sparc/shared/include/spwcuc.h $(PROJECT_INCLUDE)/$(dirstamp)
    249         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/spwcuc.h
    250 PREINSTALL_FILES += $(PROJECT_INCLUDE)/spwcuc.h
    251 
    252 $(PROJECT_INCLUDE)/grctm.h: ../../sparc/shared/include/grctm.h $(PROJECT_INCLUDE)/$(dirstamp)
    253         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grctm.h
    254 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grctm.h
    255 
    256 $(PROJECT_INCLUDE)/grgpio.h: ../../sparc/shared/include/grgpio.h $(PROJECT_INCLUDE)/$(dirstamp)
    257         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grgpio.h
    258 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grgpio.h
    259 
    260 $(PROJECT_INCLUDE)/gpiolib.h: ../../sparc/shared/include/gpiolib.h $(PROJECT_INCLUDE)/$(dirstamp)
    261         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gpiolib.h
    262 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gpiolib.h
    263 
    264 $(PROJECT_INCLUDE)/grpwm.h: ../../sparc/shared/include/grpwm.h $(PROJECT_INCLUDE)/$(dirstamp)
    265         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grpwm.h
    266 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grpwm.h
    267 
    268 $(PROJECT_INCLUDE)/gradcdac.h: ../../sparc/shared/include/gradcdac.h $(PROJECT_INCLUDE)/$(dirstamp)
    269         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gradcdac.h
    270 PREINSTALL_FILES += $(PROJECT_INCLUDE)/gradcdac.h
    271 
    272 $(PROJECT_INCLUDE)/mctrl.h: ../../sparc/shared/include/mctrl.h $(PROJECT_INCLUDE)/$(dirstamp)
    273         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mctrl.h
    274 PREINSTALL_FILES += $(PROJECT_INCLUDE)/mctrl.h
    275 
    276 $(PROJECT_INCLUDE)/watchdog.h: include/watchdog.h $(PROJECT_INCLUDE)/$(dirstamp)
    277         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/watchdog.h
    278 PREINSTALL_FILES += $(PROJECT_INCLUDE)/watchdog.h
    279 
    280 $(PROJECT_INCLUDE)/grascs.h: ../../sparc/shared/include/grascs.h $(PROJECT_INCLUDE)/$(dirstamp)
    281         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grascs.h
    282 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grascs.h
    283 
    284 $(PROJECT_INCLUDE)/satcan.h: ../../sparc/shared/include/satcan.h $(PROJECT_INCLUDE)/$(dirstamp)
    285         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/satcan.h
    286 PREINSTALL_FILES += $(PROJECT_INCLUDE)/satcan.h
    287 
    288 $(PROJECT_INCLUDE)/canmux.h: ../../sparc/shared/include/canmux.h $(PROJECT_INCLUDE)/$(dirstamp)
    289         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/canmux.h
    290 PREINSTALL_FILES += $(PROJECT_INCLUDE)/canmux.h
    291 
    292 $(PROJECT_INCLUDE)/grslink.h: ../../sparc/shared/include/grslink.h $(PROJECT_INCLUDE)/$(dirstamp)
    293         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grslink.h
    294 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grslink.h
    295 
    296 $(PROJECT_INCLUDE)/grtc.h: ../../sparc/shared/include/grtc.h $(PROJECT_INCLUDE)/$(dirstamp)
    297         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grtc.h
    298 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grtc.h
    299 
    300 $(PROJECT_INCLUDE)/grtm.h: ../../sparc/shared/include/grtm.h $(PROJECT_INCLUDE)/$(dirstamp)
    301         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/grtm.h
    302 PREINSTALL_FILES += $(PROJECT_INCLUDE)/grtm.h
     144$(PROJECT_INCLUDE)/bsp/grpci.h: ../../sparc/shared/include/grpci.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     145        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grpci.h
     146PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grpci.h
     147
     148$(PROJECT_INCLUDE)/bsp/grpci2.h: ../../sparc/shared/include/grpci2.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     149        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grpci2.h
     150PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grpci2.h
     151
     152$(PROJECT_INCLUDE)/bsp/pcif.h: ../../sparc/shared/include/pcif.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     153        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/pcif.h
     154PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/pcif.h
     155
     156$(PROJECT_INCLUDE)/bsp/gr_701.h: ../../sparc/shared/include/gr_701.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     157        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr_701.h
     158PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr_701.h
     159
     160$(PROJECT_INCLUDE)/bsp/gr_rasta_adcdac.h: ../../sparc/shared/include/gr_rasta_adcdac.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     161        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr_rasta_adcdac.h
     162PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr_rasta_adcdac.h
     163
     164$(PROJECT_INCLUDE)/bsp/gr_rasta_io.h: ../../sparc/shared/include/gr_rasta_io.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     165        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr_rasta_io.h
     166PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr_rasta_io.h
     167
     168$(PROJECT_INCLUDE)/bsp/gr_rasta_spw_router.h: ../../sparc/shared/include/gr_rasta_spw_router.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     169        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr_rasta_spw_router.h
     170PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr_rasta_spw_router.h
     171
     172$(PROJECT_INCLUDE)/bsp/gr_rasta_tmtc.h: ../../sparc/shared/include/gr_rasta_tmtc.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     173        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr_rasta_tmtc.h
     174PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr_rasta_tmtc.h
     175
     176$(PROJECT_INCLUDE)/bsp/gr_tmtc_1553.h: ../../sparc/shared/include/gr_tmtc_1553.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     177        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr_tmtc_1553.h
     178PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr_tmtc_1553.h
     179
     180$(PROJECT_INCLUDE)/bsp/gr_leon4_n2x.h: ../../sparc/shared/include/gr_leon4_n2x.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     181        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr_leon4_n2x.h
     182PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr_leon4_n2x.h
     183
     184$(PROJECT_INCLUDE)/bsp/b1553brm.h: ../../sparc/shared/include/b1553brm.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     185        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/b1553brm.h
     186PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/b1553brm.h
     187
     188$(PROJECT_INCLUDE)/bsp/b1553rt.h: ../../sparc/shared/include/b1553rt.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     189        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/b1553rt.h
     190PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/b1553rt.h
     191
     192$(PROJECT_INCLUDE)/bsp/gr1553b.h: ../../sparc/shared/include/gr1553b.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     193        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr1553b.h
     194PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr1553b.h
     195
     196$(PROJECT_INCLUDE)/bsp/gr1553bc.h: ../../sparc/shared/include/gr1553bc.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     197        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr1553bc.h
     198PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr1553bc.h
     199
     200$(PROJECT_INCLUDE)/bsp/gr1553bc_list.h: ../../sparc/shared/include/gr1553bc_list.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     201        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr1553bc_list.h
     202PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr1553bc_list.h
     203
     204$(PROJECT_INCLUDE)/bsp/gr1553bm.h: ../../sparc/shared/include/gr1553bm.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     205        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr1553bm.h
     206PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr1553bm.h
     207
     208$(PROJECT_INCLUDE)/bsp/gr1553rt.h: ../../sparc/shared/include/gr1553rt.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     209        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr1553rt.h
     210PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr1553rt.h
     211
     212$(PROJECT_INCLUDE)/bsp/occan.h: ../../sparc/shared/include/occan.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     213        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/occan.h
     214PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/occan.h
     215
     216$(PROJECT_INCLUDE)/bsp/grcan.h: ../../sparc/shared/include/grcan.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     217        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grcan.h
     218PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grcan.h
     219
     220$(PROJECT_INCLUDE)/bsp/grspw.h: ../../sparc/shared/include/grspw.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     221        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grspw.h
     222PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grspw.h
     223
     224$(PROJECT_INCLUDE)/bsp/grspw_pkt.h: ../../sparc/shared/include/grspw_pkt.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     225        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grspw_pkt.h
     226PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grspw_pkt.h
     227
     228$(PROJECT_INCLUDE)/bsp/grspw_router.h: ../../sparc/shared/include/grspw_router.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     229        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grspw_router.h
     230PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grspw_router.h
     231
     232$(PROJECT_INCLUDE)/bsp/apbuart.h: ../../sparc/shared/include/apbuart.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     233        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/apbuart.h
     234PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/apbuart.h
     235
     236$(PROJECT_INCLUDE)/bsp/apbuart_termios.h: ../../sparc/shared/include/apbuart_termios.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     237        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/apbuart_termios.h
     238PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/apbuart_termios.h
     239
     240$(PROJECT_INCLUDE)/bsp/i2cmst.h: ../../sparc/shared/include/i2cmst.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     241        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/i2cmst.h
     242PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/i2cmst.h
     243
     244$(PROJECT_INCLUDE)/bsp/spictrl.h: ../../sparc/shared/include/spictrl.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     245        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/spictrl.h
     246PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/spictrl.h
     247
     248$(PROJECT_INCLUDE)/bsp/spwcuc.h: ../../sparc/shared/include/spwcuc.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     249        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/spwcuc.h
     250PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/spwcuc.h
     251
     252$(PROJECT_INCLUDE)/bsp/grctm.h: ../../sparc/shared/include/grctm.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     253        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grctm.h
     254PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grctm.h
     255
     256$(PROJECT_INCLUDE)/bsp/grgpio.h: ../../sparc/shared/include/grgpio.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     257        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grgpio.h
     258PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grgpio.h
     259
     260$(PROJECT_INCLUDE)/bsp/gpiolib.h: ../../sparc/shared/include/gpiolib.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     261        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gpiolib.h
     262PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gpiolib.h
     263
     264$(PROJECT_INCLUDE)/bsp/grpwm.h: ../../sparc/shared/include/grpwm.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     265        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grpwm.h
     266PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grpwm.h
     267
     268$(PROJECT_INCLUDE)/bsp/gradcdac.h: ../../sparc/shared/include/gradcdac.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     269        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gradcdac.h
     270PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gradcdac.h
     271
     272$(PROJECT_INCLUDE)/bsp/mctrl.h: ../../sparc/shared/include/mctrl.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     273        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/mctrl.h
     274PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/mctrl.h
     275
     276$(PROJECT_INCLUDE)/bsp/watchdog.h: include/watchdog.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     277        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/watchdog.h
     278PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/watchdog.h
     279
     280$(PROJECT_INCLUDE)/bsp/grascs.h: ../../sparc/shared/include/grascs.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     281        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grascs.h
     282PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grascs.h
     283
     284$(PROJECT_INCLUDE)/bsp/satcan.h: ../../sparc/shared/include/satcan.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     285        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/satcan.h
     286PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/satcan.h
     287
     288$(PROJECT_INCLUDE)/bsp/canmux.h: ../../sparc/shared/include/canmux.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     289        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/canmux.h
     290PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/canmux.h
     291
     292$(PROJECT_INCLUDE)/bsp/grslink.h: ../../sparc/shared/include/grslink.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     293        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grslink.h
     294PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grslink.h
     295
     296$(PROJECT_INCLUDE)/bsp/grtc.h: ../../sparc/shared/include/grtc.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     297        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grtc.h
     298PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grtc.h
     299
     300$(PROJECT_INCLUDE)/bsp/grtm.h: ../../sparc/shared/include/grtm.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     301        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/grtm.h
     302PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/grtm.h
    303303
    304304$(PROJECT_INCLUDE)/drvmgr/$(dirstamp):
     
    320320
    321321if HAS_NETWORKING
    322 $(PROJECT_INCLUDE)/greth.h: ../../sparc/shared/include/greth.h $(PROJECT_INCLUDE)/$(dirstamp)
    323         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/greth.h
    324 PREINSTALL_FILES += $(PROJECT_INCLUDE)/greth.h
     322$(PROJECT_INCLUDE)/bsp/greth.h: ../../sparc/shared/include/greth.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     323        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/greth.h
     324PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/greth.h
    325325endif
    326326if HAS_NETWORKING
    327 $(PROJECT_INCLUDE)/network_interface_add.h: ../../sparc/shared/include/network_interface_add.h $(PROJECT_INCLUDE)/$(dirstamp)
    328         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/network_interface_add.h
    329 PREINSTALL_FILES += $(PROJECT_INCLUDE)/network_interface_add.h
     327$(PROJECT_INCLUDE)/bsp/network_interface_add.h: ../../sparc/shared/include/network_interface_add.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     328        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/network_interface_add.h
     329PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/network_interface_add.h
    330330endif
  • c/src/lib/libbsp/sparc/leon3/timer/watchdog.c

    r445e253 r5823bae8  
    1212
    1313#include <bsp.h>
    14 #include <watchdog.h>
     14#include <bsp/watchdog.h>
    1515#include <grlib.h>
    1616
  • c/src/lib/libbsp/sparc/shared/1553/b1553brm.c

    r445e253 r5823bae8  
    2828
    2929#include <drvmgr/drvmgr.h>
    30 #include <b1553brm.h>
     30#include <bsp/b1553brm.h>
    3131#include <ambapp.h>
    3232#include <drvmgr/ambapp_bus.h>
  • c/src/lib/libbsp/sparc/shared/1553/b1553rt.c

    r445e253 r5823bae8  
    2020
    2121#include <drvmgr/drvmgr.h>
    22 #include <b1553rt.h>
     22#include <bsp/b1553rt.h>
    2323#include <ambapp.h>
    2424#include <drvmgr/ambapp_bus.h>
  • c/src/lib/libbsp/sparc/shared/1553/gr1553b.c

    r445e253 r5823bae8  
    1212#include <drvmgr/ambapp_bus.h>
    1313
    14 #include <gr1553b.h>
     14#include <bsp/gr1553b.h>
    1515
    1616/* Driver Manager interface for BC, RT, BM, BRM, BC-BM and RT-BM */
  • c/src/lib/libbsp/sparc/shared/1553/gr1553bc.c

    r445e253 r5823bae8  
    1414#include <drvmgr/ambapp_bus.h>
    1515
    16 #include <gr1553b.h>
    17 #include <gr1553bc.h>
     16#include <bsp/gr1553b.h>
     17#include <bsp/gr1553bc.h>
    1818
    1919#define GR1553BC_WRITE_MEM(adr, val) *(volatile uint32_t *)(adr) = (uint32_t)(val)
  • c/src/lib/libbsp/sparc/shared/1553/gr1553bm.c

    r445e253 r5823bae8  
    1414#include <drvmgr/ambapp_bus.h>
    1515
    16 #include <gr1553b.h>
    17 #include <gr1553bm.h>
     16#include <bsp/gr1553b.h>
     17#include <bsp/gr1553bm.h>
    1818
    1919
  • c/src/lib/libbsp/sparc/shared/1553/gr1553rt.c

    r445e253 r5823bae8  
    1414#include <string.h>
    1515
    16 #include <gr1553b.h>
    17 #include <gr1553rt.h>
     16#include <bsp/gr1553b.h>
     17#include <bsp/gr1553rt.h>
    1818
    1919#include <drvmgr/drvmgr.h>
  • c/src/lib/libbsp/sparc/shared/amba/ahbstat.c

    r445e253 r5823bae8  
    1313#include <drvmgr/ambapp_bus.h>
    1414
    15 #include <ahbstat.h>
     15#include <bsp/ahbstat.h>
    1616
    1717void ahbstat_isr(void *arg);
  • c/src/lib/libbsp/sparc/shared/analog/gradcdac.c

    r445e253 r5823bae8  
    1414#include <drvmgr/drvmgr.h>
    1515#include <drvmgr/ambapp_bus.h>
    16 #include <gradcdac.h>
     16#include <bsp/gradcdac.h>
    1717
    1818/****************** DEBUG Definitions ********************/
     
    2727#define DEBUGFUNCS
    2828*/
    29 #include <debug_defs.h>
     29#include <bsp/debug_defs.h>
    3030
    3131struct gradcdac_priv {
  • c/src/lib/libbsp/sparc/shared/ascs/grascs.c

    r445e253 r5823bae8  
    1212#include <bsp.h>
    1313#include <ambapp.h>
    14 #include <grascs.h>
     14#include <bsp/grascs.h>
    1515
    1616#ifndef GAISLER_ASCS
  • c/src/lib/libbsp/sparc/shared/can/canmux.c

    r445e253 r5823bae8  
    1717#include <rtems/bspIo.h> /* printk */
    1818
    19 #include <canmux.h>
     19#include <bsp/canmux.h>
    2020#include <ambapp.h>
    2121
  • c/src/lib/libbsp/sparc/shared/can/grcan.c

    r445e253 r5823bae8  
    1919#include <rtems/bspIo.h>
    2020
    21 #include <grcan.h>
     21#include <bsp/grcan.h>
    2222#include <drvmgr/drvmgr.h>
    2323#include <drvmgr/ambapp_bus.h>
     
    8686#define DEBUGFUNCS
    8787*/
    88 #include <debug_defs.h>
     88#include <bsp/debug_defs.h>
    8989
    9090/*********************************************************/
  • c/src/lib/libbsp/sparc/shared/can/occan.c

    r445e253 r5823bae8  
    1818#include <drvmgr/drvmgr.h>
    1919#include <drvmgr/ambapp_bus.h>
    20 #include <occan.h>
     20#include <bsp/occan.h>
    2121
    2222/* RTEMS -> ERRNO decoding table
  • c/src/lib/libbsp/sparc/shared/can/satcan.c

    r445e253 r5823bae8  
    1717#include <rtems/bspIo.h> /* printk */
    1818
    19 #include <satcan.h>
     19#include <bsp/satcan.h>
    2020#include <ambapp.h>
    2121
  • c/src/lib/libbsp/sparc/shared/drvmgr/ambapp_bus_grlib.c

    r445e253 r5823bae8  
    2020#include <drvmgr/ambapp_bus.h>
    2121#include <drvmgr/ambapp_bus_grlib.h>
    22 #include <genirq.h>
     22#include <bsp/genirq.h>
    2323
    2424#include <bsp.h>
  • c/src/lib/libbsp/sparc/shared/gpio/gpiolib.c

    r445e253 r5823bae8  
    1313#include <string.h>
    1414
    15 #include <gpiolib.h>
     15#include <bsp/gpiolib.h>
    1616
    1717struct gpiolib_port;
  • c/src/lib/libbsp/sparc/shared/gpio/grgpio.c

    r445e253 r5823bae8  
    1919#include <drvmgr/drvmgr.h>
    2020#include <drvmgr/ambapp_bus.h>
    21 #include <grgpio.h>
    22 #include <gpiolib.h>
     21#include <bsp/grgpio.h>
     22#include <bsp/gpiolib.h>
    2323#include <ambapp.h>
    2424#include <grlib.h>
  • c/src/lib/libbsp/sparc/shared/i2c/i2cmst.c

    r445e253 r5823bae8  
    2020#include <drvmgr/ambapp_bus.h>
    2121
    22 #include <i2cmst.h>
     22#include <bsp/i2cmst.h>
    2323
    2424/* Enable debug printks? */
  • c/src/lib/libbsp/sparc/shared/include/gr1553bc.h

    r445e253 r5823bae8  
    4141
    4242#include <stdint.h>
    43 #include <gr1553bc_list.h>
     43#include <bsp/gr1553bc_list.h>
    4444
    4545#ifdef __cplusplus
  • c/src/lib/libbsp/sparc/shared/include/gr1553bc_list.h

    r445e253 r5823bae8  
    194194
    195195#include <stdint.h>
    196 #include <gr1553bc.h>
     196#include <bsp/gr1553bc.h>
    197197
    198198/**** CONFIGURATION OPTIONS ****/
  • c/src/lib/libbsp/sparc/shared/irq/genirq.c

    r445e253 r5823bae8  
    1313#include <stdlib.h>
    1414#include <string.h>
    15 #include <genirq.h>
     15#include <bsp/genirq.h>
    1616
    1717struct genirq_handler_entry {
  • c/src/lib/libbsp/sparc/shared/mem/mctrl.c

    r445e253 r5823bae8  
    2121#include <drvmgr/ambapp_bus.h>
    2222
    23 #include <mctrl.h>
     23#include <bsp/mctrl.h>
    2424
    2525#define MEMSET(priv, start, c, length) memset((void *)start, c, length)
  • c/src/lib/libbsp/sparc/shared/net/greth.c

    r445e253 r5823bae8  
    2828#include <rtems/rtems_bsdnet.h>
    2929
    30 #include <greth.h>
     30#include <bsp/greth.h>
    3131#include <drvmgr/drvmgr.h>
    3232#include <drvmgr/ambapp_bus.h>
  • c/src/lib/libbsp/sparc/shared/net/network_interface_add.c

    r445e253 r5823bae8  
    1818#include <stdio.h>
    1919
    20 #include <network_interface_add.h>
     20#include <bsp/network_interface_add.h>
    2121
    2222extern struct rtems_bsdnet_config rtems_bsdnet_config;
  • c/src/lib/libbsp/sparc/shared/pci/gr_701.c

    r445e253 r5823bae8  
    3434#include <drvmgr/pci_bus.h>
    3535#include <drvmgr/bspcommon.h>
    36 #include <genirq.h>
    37 
    38 #include <gr_701.h>
     36#include <bsp/genirq.h>
     37
     38#include <bsp/gr_701.h>
    3939
    4040/* Offset from 0x80000000 (dual bus version) */
  • c/src/lib/libbsp/sparc/shared/pci/gr_leon4_n2x.c

    r445e253 r5823bae8  
    4141#include <drvmgr/pci_bus.h>
    4242#include <drvmgr/bspcommon.h>
    43 #include <genirq.h>
    44 
    45 #include <gr_leon4_n2x.h>
     43#include <bsp/genirq.h>
     44
     45#include <bsp/gr_leon4_n2x.h>
    4646
    4747/* Determines which PCI address the AHB masters on the LEON-N2X board will
  • c/src/lib/libbsp/sparc/shared/pci/gr_rasta_adcdac.c

    r445e253 r5823bae8  
    3232#include <drvmgr/pci_bus.h>
    3333#include <drvmgr/bspcommon.h>
    34 #include <genirq.h>
    35 
    36 #include <gr_rasta_adcdac.h>
     34#include <bsp/genirq.h>
     35
     36#include <bsp/gr_rasta_adcdac.h>
    3737
    3838/*#define DEBUG 1*/
  • c/src/lib/libbsp/sparc/shared/pci/gr_rasta_io.c

    r445e253 r5823bae8  
    3232#include <drvmgr/pci_bus.h>
    3333#include <drvmgr/bspcommon.h>
    34 #include <genirq.h>
    35 
    36 #include <gr_rasta_io.h>
     34#include <bsp/genirq.h>
     35
     36#include <bsp/gr_rasta_io.h>
    3737
    3838/* Determines which PCI address the AHB masters will access, it should be
  • c/src/lib/libbsp/sparc/shared/pci/gr_rasta_spw_router.c

    r445e253 r5823bae8  
    3030#include <drvmgr/pci_bus.h>
    3131#include <drvmgr/bspcommon.h>
    32 #include <genirq.h>
    33 #include <gr_rasta_spw_router.h>
     32#include <bsp/genirq.h>
     33#include <bsp/gr_rasta_spw_router.h>
    3434
    3535/* Determines which PCI address the AHB masters will access, it should be
  • c/src/lib/libbsp/sparc/shared/pci/gr_rasta_tmtc.c

    r445e253 r5823bae8  
    3232#include <drvmgr/pci_bus.h>
    3333#include <drvmgr/bspcommon.h>
    34 #include <genirq.h>
    35 
    36 #include <gr_rasta_tmtc.h>
     34#include <bsp/genirq.h>
     35
     36#include <bsp/gr_rasta_tmtc.h>
    3737
    3838/* Determines which PCI address the AHB masters will access, it should be
  • c/src/lib/libbsp/sparc/shared/pci/gr_tmtc_1553.c

    r445e253 r5823bae8  
    3333#include <drvmgr/pci_bus.h>
    3434#include <drvmgr/bspcommon.h>
    35 #include <genirq.h>
    36 
    37 #include <gr_tmtc_1553.h>
     35#include <bsp/genirq.h>
     36
     37#include <bsp/gr_tmtc_1553.h>
    3838
    3939
  • c/src/lib/libbsp/sparc/shared/pci/grpci.c

    r445e253 r5823bae8  
    3030#include <ambapp.h>
    3131#include <drvmgr/pci_bus.h>
    32 #include <grpci.h>
     32#include <bsp/grpci.h>
    3333
    3434#define DMAPCI_ADDR 0x80000500
  • c/src/lib/libbsp/sparc/shared/pci/grpci2.c

    r445e253 r5823bae8  
    4141#include <ambapp.h>
    4242#include <drvmgr/pci_bus.h>
    43 #include <grpci2.h>
     43#include <bsp/grpci2.h>
    4444
    4545#ifndef IRQ_GLOBAL_PREPARE
  • c/src/lib/libbsp/sparc/shared/pci/pcif.c

    r445e253 r5823bae8  
    3030#include <ambapp.h>
    3131#include <drvmgr/pci_bus.h>
    32 #include <pcif.h>
     32#include <bsp/pcif.h>
    3333
    3434
  • c/src/lib/libbsp/sparc/shared/pwm/grpwm.c

    r445e253 r5823bae8  
    2020#include <drvmgr/drvmgr.h>
    2121#include <drvmgr/ambapp_bus.h>
    22 #include <grpwm.h>
     22#include <bsp/grpwm.h>
    2323#include <ambapp.h>
    2424
  • c/src/lib/libbsp/sparc/shared/slink/grslink.c

    r445e253 r5823bae8  
    2424
    2525#include <bsp.h>
    26 #include <grslink.h>
     26#include <bsp/grslink.h>
    2727#include <ambapp.h>
    2828
     
    554554 * Returns: The current or status of the SEQUENCE operation:
    555555 *          SLINK_COMPLETED, SLINK_ACTIVE, SLINK_PARERR, SLINK_AMBAERR,
    556  *          SLINK_ABORTED (these are defined in grslink.h)
     556 *          SLINK_ABORTED (these are defined in bsp/grslink.h)
    557557 * Description: Meaning of returned values:
    558558 *              SLINK_ABORTED: Aborted before all operations completed.
     
    589589 * Function: SLINK_hwstatus
    590590 * Returns: The SLINK core's status register. The register values can be
    591  *          interpreted with the help of macros defined in grslink.h.
     591 *          interpreted with the help of macros defined in bsp/grslink.h.
    592592 */
    593593int SLINK_hwstatus(void)
  • c/src/lib/libbsp/sparc/shared/spi/spictrl.c

    r445e253 r5823bae8  
    2020#include <drvmgr/drvmgr.h>
    2121#include <drvmgr/ambapp_bus.h>
    22 #include <spictrl.h>
     22#include <bsp/spictrl.h>
    2323#include <ambapp.h>
    2424
  • c/src/lib/libbsp/sparc/shared/spw/grspw.c

    r445e253 r5823bae8  
    2323#include <drvmgr/drvmgr.h>
    2424#include <drvmgr/ambapp_bus.h>
    25 #include <grspw.h>
     25#include <bsp/grspw.h>
    2626
    2727#define DBGSPW_IOCALLS 1
  • c/src/lib/libbsp/sparc/shared/spw/grspw_pkt.c

    r445e253 r5823bae8  
    2727#include <ambapp.h>
    2828#include <drvmgr/ambapp_bus.h>
    29 #include <grspw_pkt.h>
     29#include <bsp/grspw_pkt.h>
    3030
    3131/* This driver has been prepared for SMP operation however never tested
  • c/src/lib/libbsp/sparc/shared/spw/grspw_router.c

    r445e253 r5823bae8  
    1515#include <drvmgr/drvmgr.h>
    1616#include <drvmgr/ambapp_bus.h>
    17 #include <grspw_router.h>
     17#include <bsp/grspw_router.h>
    1818
    1919#define ROUTER_DBG(args...)
  • c/src/lib/libbsp/sparc/shared/time/grctm.c

    r445e253 r5823bae8  
    1313#include <stdlib.h>
    1414
    15 #include <grctm.h>
     15#include <bsp/grctm.h>
    1616
    1717/* Private structure of GRCTM driver */
  • c/src/lib/libbsp/sparc/shared/time/spwcuc.c

    r445e253 r5823bae8  
    1414#include <stdlib.h>
    1515 
    16 #include <spwcuc.h>
     16#include <bsp/spwcuc.h>
    1717
    1818/* Private structure of SPWCUC driver. */
  • c/src/lib/libbsp/sparc/shared/timer/gptimer.c

    r445e253 r5823bae8  
    3838#include <drvmgr/ambapp_bus.h>
    3939#include <grlib.h>
    40 #include <gptimer.h>
    41 #include "tlib.h"
     40#include <bsp/gptimer.h>
     41#include <bsp/tlib.h>
    4242
    4343#if defined(LEON3) && defined(RTEMS_DRVMGR_STARTUP)
  • c/src/lib/libbsp/sparc/shared/timer/tlib.c

    r445e253 r5823bae8  
    1111
    1212#include <rtems.h>
    13 #include <tlib.h>
     13#include <bsp/tlib.h>
    1414
    1515struct tlib_dev *tlib_dev_head = NULL;
  • c/src/lib/libbsp/sparc/shared/timer/tlib_ckinit.c

    r445e253 r5823bae8  
    1515#include <stdlib.h>
    1616#include <bsp.h>
    17 #include <tlib.h>
     17#include <bsp/tlib.h>
    1818
    1919#ifdef RTEMS_DRVMGR_STARTUP
  • c/src/lib/libbsp/sparc/shared/tmtc/grtc.c

    r445e253 r5823bae8  
    2222#include <drvmgr/ambapp_bus.h>
    2323#include <ambapp.h>
    24 #include <grtc.h>
     24#include <bsp/grtc.h>
    2525
    2626#ifndef IRQ_GLOBAL_PREPARE
     
    4141*/
    4242
    43 #include <debug_defs.h>
     43#include <bsp/debug_defs.h>
    4444
    4545#ifdef DEBUG_ERROR
  • c/src/lib/libbsp/sparc/shared/tmtc/grtm.c

    r445e253 r5823bae8  
    2222#include <ambapp.h>
    2323#include <drvmgr/ambapp_bus.h>
    24 #include <grtm.h>
     24#include <bsp/grtm.h>
    2525
    2626#ifndef IRQ_GLOBAL_PREPARE
     
    4141*/
    4242
    43 #include <debug_defs.h>
     43#include <bsp/debug_defs.h>
    4444
    4545/* GRTM register map */
  • c/src/lib/libbsp/sparc/shared/uart/apbuart.c

    r445e253 r5823bae8  
    2424#include <ambapp.h>
    2525#include <grlib.h>
    26 #include <apbuart.h>
     26#include <bsp/apbuart.h>
    2727
    2828#ifndef DEFAULT_TXBUF_SIZE
  • c/src/lib/libbsp/sparc/shared/uart/apbuart_cons.c

    r445e253 r5823bae8  
    2828#include <drvmgr/drvmgr.h>
    2929#include <drvmgr/ambapp_bus.h>
    30 #include <apbuart.h>
     30#include <bsp/apbuart.h>
    3131#include <ambapp.h>
    3232#include <grlib.h>
    33 #include <cons.h>
     33#include <bsp/cons.h>
    3434#include <rtems/termiostypes.h>
    35 #include <apbuart_cons.h>
     35#include <bsp/apbuart_cons.h>
    3636
    3737/*#define DEBUG 1  */
  • c/src/lib/libbsp/sparc/shared/uart/apbuart_termios.c

    r445e253 r5823bae8  
    1212 */
    1313
    14 #include <apbuart_termios.h>
    15 #include <apbuart.h>
     14#include <bsp/apbuart_termios.h>
     15#include <bsp/apbuart.h>
    1616#include <bsp.h>
    1717
  • c/src/lib/libbsp/sparc/shared/uart/cons.c

    r445e253 r5823bae8  
    1717#include <rtems/libio.h>
    1818#include <rtems/bspIo.h>
    19 #include <cons.h>
     19#include <bsp/cons.h>
    2020
    2121#ifdef RTEMS_DRVMGR_STARTUP
Note: See TracChangeset for help on using the changeset viewer.