source: rtems/c/src/lib/libbsp/sparc/leon3/Makefile.am @ 28b4c7ac

5
Last change on this file since 28b4c7ac was 28b4c7ac, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 20, 2018 at 11:19:28 AM

sparc: Move _CPU_Trap_slot_template

The definition of _CPU_Trap_slot_template is BSP-independent. A
potential para-virtualization support may use <rtems/score/paravirt.h>.

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 7.5 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4include $(top_srcdir)/../../bsp.am
5
6dist_project_lib_DATA = ../../../../../../bsps/sparc/leon3/start/bsp_specs
7
8
9noinst_PROGRAMS =
10
11
12start.$(OBJEXT): ../../../../../../bsps/sparc/shared/start/start.S
13        $(CPPASCOMPILE) -o $@ -c $<
14project_lib_DATA = start.$(OBJEXT)
15
16project_lib_DATA += linkcmds
17dist_project_lib_DATA += ../../../../../../bsps/sparc/shared/start/linkcmds.base
18dist_project_lib_DATA += ../../../../../../bsps/sparc/leon3/start/linkcmds.gr712rc
19dist_project_lib_DATA += ../../../../../../bsps/sparc/leon3/start/linkcmds.gr740
20dist_project_lib_DATA += ../../../../../../bsps/sparc/leon3/start/linkcmds.leon3
21dist_project_lib_DATA += ../../../../../../bsps/sparc/leon3/start/linkcmds.ut699
22dist_project_lib_DATA += ../../../../../../bsps/sparc/leon3/start/linkcmds.ut700
23
24project_lib_LIBRARIES = librtemsbsp.a
25librtemsbsp_a_SOURCES =
26
27# startup
28librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/bspclean.c
29librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/bspstart.c
30librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
31librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/start/bspgetworkarea.c
32librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
33librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/setvec.c
34librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/spurious.c
35librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/bspidle.S
36librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/bspdelay.c
37librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
38librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/cpucounter.c
39librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/start/bsp_fatal_exit.c
40librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/bsp_fatal_halt.c
41
42# ISR Handler
43librtemsbsp_a_SOURCES += ../shared/irq_asm.S
44# gnatsupp
45librtemsbsp_a_SOURCES += gnatsupp/gnatsupp.c
46librtemsbsp_a_SOURCES += ../shared/gnatcommon.c
47# AMBA bus
48librtemsbsp_a_SOURCES += amba/amba.c
49librtemsbsp_a_SOURCES += ../shared/amba/ambapp.c
50librtemsbsp_a_SOURCES += ../shared/amba/ambapp_alloc.c
51librtemsbsp_a_SOURCES += ../shared/amba/ambapp_count.c
52librtemsbsp_a_SOURCES += ../shared/amba/ambapp_depth.c
53librtemsbsp_a_SOURCES += ../shared/amba/ambapp_find_by_idx.c
54librtemsbsp_a_SOURCES += ../shared/amba/ambapp_freq.c
55librtemsbsp_a_SOURCES += ../shared/amba/ambapp_parent.c
56librtemsbsp_a_SOURCES += ../shared/amba/ambapp_old.c
57librtemsbsp_a_SOURCES += ../shared/amba/ambapp_names.c
58librtemsbsp_a_SOURCES += ../shared/amba/ambapp_show.c
59librtemsbsp_a_SOURCES += ../shared/amba/ahbstat.c
60
61# Clock Driver and Timer Library
62librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/btimer/gptimer.c
63librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/btimer/tlib.c
64librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/btimer/tlib_ckinit.c
65# non-Driver Manager Clock Implementation
66librtemsbsp_a_SOURCES +=../../../../../../bsps/sparc/leon3/clock/ckinit.c
67
68# console
69librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
70librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/console/console.c
71librtemsbsp_a_SOURCES += ../shared/uart/cons.c
72librtemsbsp_a_SOURCES += ../shared/uart/apbuart_cons.c
73# debugio
74librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/console/printk_support.c
75
76# IRQ
77librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/eirq.c
78librtemsbsp_a_SOURCES += ../shared/irq/genirq.c
79librtemsbsp_a_SOURCES += ../shared/irq/irq-shared.c
80librtemsbsp_a_SOURCES += ../shared/irq/bsp_isr_handler.c
81librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
82
83# PCI
84librtemsbsp_a_SOURCES += ../shared/pci/grpci.c
85librtemsbsp_a_SOURCES += ../shared/pci/grpci2.c
86librtemsbsp_a_SOURCES += ../shared/pci/grpci2dma.c
87librtemsbsp_a_SOURCES +=  ../shared/pci/pcif.c
88librtemsbsp_a_SOURCES +=  ../shared/pci/pci_memreg_sparc_le.c
89librtemsbsp_a_SOURCES +=  ../shared/pci/pci_memreg_sparc_be.c
90
91# PCI target devices
92librtemsbsp_a_SOURCES +=  ../shared/pci/gr_701.c
93librtemsbsp_a_SOURCES +=  ../shared/pci/gr_rasta_adcdac.c
94librtemsbsp_a_SOURCES +=  ../shared/pci/gr_rasta_io.c
95librtemsbsp_a_SOURCES +=  ../shared/pci/gr_rasta_spw_router.c
96librtemsbsp_a_SOURCES +=  ../shared/pci/gr_rasta_tmtc.c
97librtemsbsp_a_SOURCES +=  ../shared/pci/gr_tmtc_1553.c
98librtemsbsp_a_SOURCES +=  ../shared/pci/gr_leon4_n2x.c
99librtemsbsp_a_SOURCES +=  ../shared/pci/gr_cpci_gr740.c
100
101# B1553BRM
102librtemsbsp_a_SOURCES += ../shared/1553/b1553brm.c
103librtemsbsp_a_SOURCES += ../shared/1553/b1553rt.c
104
105# GR1553B
106librtemsbsp_a_SOURCES += ../shared/1553/gr1553b.c
107librtemsbsp_a_SOURCES += ../shared/1553/gr1553bc.c
108librtemsbsp_a_SOURCES += ../shared/1553/gr1553bm.c
109librtemsbsp_a_SOURCES += ../shared/1553/gr1553rt.c
110
111# CAN
112librtemsbsp_a_SOURCES += ../shared/can/occan.c
113librtemsbsp_a_SOURCES += ../shared/can/grcan.c
114
115# SpaceWire
116if !HAS_SMP
117librtemsbsp_a_SOURCES += ../shared/spw/grspw.c
118endif
119librtemsbsp_a_SOURCES += ../shared/spw/grspw_pkt.c
120librtemsbsp_a_SOURCES += ../shared/spw/grspw_router.c
121
122# UART
123librtemsbsp_a_SOURCES += ../shared/uart/apbuart_termios.c
124
125# I2CMST
126librtemsbsp_a_SOURCES += ../shared/i2c/i2cmst.c
127
128# SPI
129librtemsbsp_a_SOURCES += ../shared/spi/spictrl.c
130
131# TIME
132librtemsbsp_a_SOURCES += ../shared/time/spwcuc.c
133librtemsbsp_a_SOURCES += ../shared/time/grctm.c
134
135# GPIO
136librtemsbsp_a_SOURCES += ../shared/gpio/grgpio.c
137librtemsbsp_a_SOURCES += ../shared/gpio/gpiolib.c
138
139# PWM
140librtemsbsp_a_SOURCES += ../shared/pwm/grpwm.c
141
142# ADC and DAC
143librtemsbsp_a_SOURCES += ../shared/analog/gradcdac.c
144
145# Memory controllers
146librtemsbsp_a_SOURCES += ../shared/mem/mctrl.c
147# l2cache
148librtemsbsp_a_SOURCES += ../shared/l2c/l2c.c
149librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/cache.c
150# griommu
151librtemsbsp_a_SOURCES += ../shared/iommu/griommu.c
152# timer
153librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/btimer/btimer.c
154librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/btimer/watchdog.c
155
156# GR712
157librtemsbsp_a_SOURCES += ../shared/ascs/grascs.c
158librtemsbsp_a_SOURCES += ../shared/can/satcan.c
159librtemsbsp_a_SOURCES += ../shared/can/canmux.c
160librtemsbsp_a_SOURCES += ../shared/slink/grslink.c
161
162# TM/TC
163librtemsbsp_a_SOURCES += ../shared/tmtc/grtc.c
164librtemsbsp_a_SOURCES += ../shared/tmtc/grtm.c
165
166# MEMSCRUB
167librtemsbsp_a_SOURCES += ../shared/scrub/memscrub.c
168# L4STAT
169librtemsbsp_a_SOURCES += ../shared/stat/l4stat.c
170# Driver Manager
171librtemsbsp_a_SOURCES += ../shared/drvmgr/ambapp_bus.c
172librtemsbsp_a_SOURCES += ../shared/drvmgr/ambapp_bus_grlib.c
173librtemsbsp_a_SOURCES += ../shared/drvmgr/get_resarray_count.c
174
175if HAS_SMP
176librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/bspsmp.c
177endif
178
179if HAS_NETWORKING
180librtemsbsp_a_SOURCES += leon_smc91111/leon_smc91111.c
181librtemsbsp_a_SOURCES += leon_open_eth/leon_open_eth.c
182librtemsbsp_a_SOURCES += ../shared/net/greth.c
183librtemsbsp_a_SOURCES += ../shared/net/network_interface_add.c
184if !HAS_SMP
185librtemsbsp_a_SOURCES += leon_greth/leon_greth.c
186endif
187endif
188
189if HAS_MP
190# shmsupp
191librtemsbsp_a_SOURCES += shmsupp/addrconv.c
192librtemsbsp_a_SOURCES += shmsupp/getcfg.c
193librtemsbsp_a_SOURCES += shmsupp/lock.c
194librtemsbsp_a_SOURCES += shmsupp/mpisr.c
195endif
196
197
198include $(top_srcdir)/../../../../automake/local.am
199include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
200include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
201include $(srcdir)/../../../../../../bsps/sparc/leon3/headers.am
Note: See TracBrowser for help on using the repository browser.