source: rtems/c/src/lib/libbsp/sparc/leon2/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: 6.3 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/leon2/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/leon2/start/linkcmds.at697f
19dist_project_lib_DATA += ../../../../../../bsps/sparc/leon2/start/linkcmds.leon2
20
21project_lib_LIBRARIES = librtemsbsp.a
22librtemsbsp_a_SOURCES =
23
24# startup
25librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
26librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
27librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon2/start/bspstart.c
28librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/start/bspgetworkarea.c
29librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
30librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
31librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon2/start/setvec.c
32librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon2/start/spurious.c
33librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon2/start/bspidle.c
34librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon2/start/bspdelay.c
35librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/start/bsp_fatal_exit.c
36librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/start/bsp_fatal_halt.c
37
38# ISR Handler
39librtemsbsp_a_SOURCES += ../shared/irq_asm.S
40# gnatsupp
41librtemsbsp_a_SOURCES += gnatsupp/gnatsupp.c
42librtemsbsp_a_SOURCES += ../shared/gnatcommon.c
43# console
44librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon2/console/console.c
45librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon2/console/debugputs.c
46# clock
47librtemsbsp_a_SOURCES +=../../../../../../bsps/sparc/leon2/clock/ckinit.c
48# IRQ
49librtemsbsp_a_SOURCES += ../shared/irq/genirq.c
50librtemsbsp_a_SOURCES += ../shared/irq/irq-shared.c
51librtemsbsp_a_SOURCES += ../shared/irq/bsp_isr_handler.c
52librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
53
54# AMBA bus
55librtemsbsp_a_SOURCES += ../shared/amba/ambapp.c
56librtemsbsp_a_SOURCES += ../shared/amba/ambapp_alloc.c
57librtemsbsp_a_SOURCES += ../shared/amba/ambapp_count.c
58librtemsbsp_a_SOURCES += ../shared/amba/ambapp_depth.c
59librtemsbsp_a_SOURCES += ../shared/amba/ambapp_find_by_idx.c
60librtemsbsp_a_SOURCES += ../shared/amba/ambapp_freq.c
61librtemsbsp_a_SOURCES += ../shared/amba/ambapp_parent.c
62librtemsbsp_a_SOURCES += ../shared/amba/ambapp_old.c
63librtemsbsp_a_SOURCES += ../shared/amba/ambapp_names.c
64librtemsbsp_a_SOURCES += ../shared/amba/ambapp_show.c
65librtemsbsp_a_SOURCES += ../shared/amba/ahbstat.c
66
67# Clock Driver and Timer Library
68librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/btimer/gptimer.c
69librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/btimer/tlib.c
70
71# PCI
72librtemsbsp_a_SOURCES += ../shared/pci/grpci2.c
73librtemsbsp_a_SOURCES += ../shared/pci/grpci2dma.c
74librtemsbsp_a_SOURCES += ../shared/pci/grpci.c
75librtemsbsp_a_SOURCES += ../shared/pci/pcif.c
76librtemsbsp_a_SOURCES +=  ../shared/pci/pci_memreg_sparc_le.c
77librtemsbsp_a_SOURCES +=  ../shared/pci/pci_memreg_sparc_be.c
78librtemsbsp_a_SOURCES +=  pci/at697_pci.c
79
80# PCI target devices
81librtemsbsp_a_SOURCES +=  ../shared/pci/gr_701.c
82librtemsbsp_a_SOURCES +=  ../shared/pci/gr_rasta_adcdac.c
83librtemsbsp_a_SOURCES +=  ../shared/pci/gr_rasta_io.c
84librtemsbsp_a_SOURCES +=  ../shared/pci/gr_rasta_spw_router.c
85librtemsbsp_a_SOURCES +=  ../shared/pci/gr_rasta_tmtc.c
86librtemsbsp_a_SOURCES +=  ../shared/pci/gr_leon4_n2x.c
87librtemsbsp_a_SOURCES +=  ../shared/pci/gr_cpci_gr740.c
88
89# B1553BRM
90librtemsbsp_a_SOURCES += ../shared/1553/b1553brm.c
91librtemsbsp_a_SOURCES += ../shared/1553/b1553rt.c
92
93# GR1553B
94librtemsbsp_a_SOURCES += ../shared/1553/gr1553b.c
95librtemsbsp_a_SOURCES += ../shared/1553/gr1553bc.c
96librtemsbsp_a_SOURCES += ../shared/1553/gr1553bm.c
97librtemsbsp_a_SOURCES += ../shared/1553/gr1553rt.c
98
99# CAN
100librtemsbsp_a_SOURCES += ../shared/can/occan.c
101librtemsbsp_a_SOURCES += ../shared/can/grcan.c
102
103# SpaceWire
104if !HAS_SMP
105librtemsbsp_a_SOURCES += ../shared/spw/grspw.c
106endif
107librtemsbsp_a_SOURCES += ../shared/spw/grspw_pkt.c
108librtemsbsp_a_SOURCES += ../shared/spw/grspw_router.c
109
110# UART (RAW)
111# I2CMST
112librtemsbsp_a_SOURCES += ../shared/i2c/i2cmst.c
113
114# SPI
115librtemsbsp_a_SOURCES += ../shared/spi/spictrl.c
116
117# TIME
118librtemsbsp_a_SOURCES += ../shared/time/spwcuc.c
119librtemsbsp_a_SOURCES += ../shared/time/grctm.c
120
121# GPIO
122librtemsbsp_a_SOURCES += ../shared/gpio/grgpio.c
123librtemsbsp_a_SOURCES += ../shared/gpio/gpiolib.c
124
125# PWM
126librtemsbsp_a_SOURCES += ../shared/pwm/grpwm.c
127
128# ADC and DAC
129librtemsbsp_a_SOURCES += ../shared/analog/gradcdac.c
130
131# Memory controllers
132librtemsbsp_a_SOURCES += ../shared/mem/mctrl.c
133# l2cache
134librtemsbsp_a_SOURCES += ../shared/l2c/l2c.c
135librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon2/start/cache.c
136# griommu
137librtemsbsp_a_SOURCES += ../shared/iommu/griommu.c
138# timer
139librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon2/btimer/btimer.c
140
141# TM/TC
142librtemsbsp_a_SOURCES += ../shared/tmtc/grtc.c
143librtemsbsp_a_SOURCES += ../shared/tmtc/grtm.c
144
145# MEMSCRUB
146librtemsbsp_a_SOURCES += ../shared/scrub/memscrub.c
147# L4STAT
148librtemsbsp_a_SOURCES += ../shared/stat/l4stat.c
149
150# Driver Manager
151librtemsbsp_a_SOURCES += ../shared/drvmgr/ambapp_bus.c
152librtemsbsp_a_SOURCES += ../shared/drvmgr/ambapp_bus_leon2.c
153librtemsbsp_a_SOURCES += ../shared/drvmgr/leon2_amba_bus.c
154librtemsbsp_a_SOURCES += ../shared/drvmgr/get_resarray_count.c
155
156if HAS_SMP
157librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspsmp-dummy.c
158librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/getcurrentprocessor-zero.c
159endif
160
161if HAS_NETWORKING
162librtemsbsp_a_SOURCES += leon_smc91111/leon_smc91111.c
163librtemsbsp_a_SOURCES += leon_open_eth/leon_open_eth.c
164librtemsbsp_a_SOURCES += ../shared/net/greth.c
165librtemsbsp_a_SOURCES += ../shared/net/network_interface_add.c
166endif
167
168
169include $(top_srcdir)/../../../../automake/local.am
170include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
171include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
172include $(srcdir)/../../../../../../bsps/sparc/leon2/headers.am
Note: See TracBrowser for help on using the repository browser.