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

5
Last change on this file since e0dd8a5a was e0dd8a5a, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 20, 2018 at 10:08:42 AM

bsps: Move benchmark timer to bsps

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/cpu.c
44librtemsbsp_a_SOURCES += ../shared/irq_asm.S
45# gnatsupp
46librtemsbsp_a_SOURCES += gnatsupp/gnatsupp.c
47librtemsbsp_a_SOURCES += ../shared/gnatcommon.c
48# AMBA bus
49librtemsbsp_a_SOURCES += amba/amba.c
50librtemsbsp_a_SOURCES += ../shared/amba/ambapp.c
51librtemsbsp_a_SOURCES += ../shared/amba/ambapp_alloc.c
52librtemsbsp_a_SOURCES += ../shared/amba/ambapp_count.c
53librtemsbsp_a_SOURCES += ../shared/amba/ambapp_depth.c
54librtemsbsp_a_SOURCES += ../shared/amba/ambapp_find_by_idx.c
55librtemsbsp_a_SOURCES += ../shared/amba/ambapp_freq.c
56librtemsbsp_a_SOURCES += ../shared/amba/ambapp_parent.c
57librtemsbsp_a_SOURCES += ../shared/amba/ambapp_old.c
58librtemsbsp_a_SOURCES += ../shared/amba/ambapp_names.c
59librtemsbsp_a_SOURCES += ../shared/amba/ambapp_show.c
60librtemsbsp_a_SOURCES += ../shared/amba/ahbstat.c
61
62# Clock Driver and Timer Library
63librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/btimer/gptimer.c
64librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/btimer/tlib.c
65librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/shared/btimer/tlib_ckinit.c
66# non-Driver Manager Clock Implementation
67librtemsbsp_a_SOURCES +=../../../../../../bsps/sparc/leon3/clock/ckinit.c
68
69# console
70librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
71librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/console/console.c
72librtemsbsp_a_SOURCES += ../shared/uart/cons.c
73librtemsbsp_a_SOURCES += ../shared/uart/apbuart_cons.c
74# debugio
75librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/console/printk_support.c
76
77# IRQ
78librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/eirq.c
79librtemsbsp_a_SOURCES += ../shared/irq/genirq.c
80librtemsbsp_a_SOURCES += ../shared/irq/irq-shared.c
81librtemsbsp_a_SOURCES += ../shared/irq/bsp_isr_handler.c
82librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
83
84# PCI
85librtemsbsp_a_SOURCES += ../shared/pci/grpci.c
86librtemsbsp_a_SOURCES += ../shared/pci/grpci2.c
87librtemsbsp_a_SOURCES += ../shared/pci/grpci2dma.c
88librtemsbsp_a_SOURCES +=  ../shared/pci/pcif.c
89librtemsbsp_a_SOURCES +=  ../shared/pci/pci_memreg_sparc_le.c
90librtemsbsp_a_SOURCES +=  ../shared/pci/pci_memreg_sparc_be.c
91
92# PCI target devices
93librtemsbsp_a_SOURCES +=  ../shared/pci/gr_701.c
94librtemsbsp_a_SOURCES +=  ../shared/pci/gr_rasta_adcdac.c
95librtemsbsp_a_SOURCES +=  ../shared/pci/gr_rasta_io.c
96librtemsbsp_a_SOURCES +=  ../shared/pci/gr_rasta_spw_router.c
97librtemsbsp_a_SOURCES +=  ../shared/pci/gr_rasta_tmtc.c
98librtemsbsp_a_SOURCES +=  ../shared/pci/gr_tmtc_1553.c
99librtemsbsp_a_SOURCES +=  ../shared/pci/gr_leon4_n2x.c
100librtemsbsp_a_SOURCES +=  ../shared/pci/gr_cpci_gr740.c
101
102# B1553BRM
103librtemsbsp_a_SOURCES += ../shared/1553/b1553brm.c
104librtemsbsp_a_SOURCES += ../shared/1553/b1553rt.c
105
106# GR1553B
107librtemsbsp_a_SOURCES += ../shared/1553/gr1553b.c
108librtemsbsp_a_SOURCES += ../shared/1553/gr1553bc.c
109librtemsbsp_a_SOURCES += ../shared/1553/gr1553bm.c
110librtemsbsp_a_SOURCES += ../shared/1553/gr1553rt.c
111
112# CAN
113librtemsbsp_a_SOURCES += ../shared/can/occan.c
114librtemsbsp_a_SOURCES += ../shared/can/grcan.c
115
116# SpaceWire
117if !HAS_SMP
118librtemsbsp_a_SOURCES += ../shared/spw/grspw.c
119endif
120librtemsbsp_a_SOURCES += ../shared/spw/grspw_pkt.c
121librtemsbsp_a_SOURCES += ../shared/spw/grspw_router.c
122
123# UART
124librtemsbsp_a_SOURCES += ../shared/uart/apbuart_termios.c
125
126# I2CMST
127librtemsbsp_a_SOURCES += ../shared/i2c/i2cmst.c
128
129# SPI
130librtemsbsp_a_SOURCES += ../shared/spi/spictrl.c
131
132# TIME
133librtemsbsp_a_SOURCES += ../shared/time/spwcuc.c
134librtemsbsp_a_SOURCES += ../shared/time/grctm.c
135
136# GPIO
137librtemsbsp_a_SOURCES += ../shared/gpio/grgpio.c
138librtemsbsp_a_SOURCES += ../shared/gpio/gpiolib.c
139
140# PWM
141librtemsbsp_a_SOURCES += ../shared/pwm/grpwm.c
142
143# ADC and DAC
144librtemsbsp_a_SOURCES += ../shared/analog/gradcdac.c
145
146# Memory controllers
147librtemsbsp_a_SOURCES += ../shared/mem/mctrl.c
148# l2cache
149librtemsbsp_a_SOURCES += ../shared/l2c/l2c.c
150librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/cache.c
151# griommu
152librtemsbsp_a_SOURCES += ../shared/iommu/griommu.c
153# timer
154librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/btimer/btimer.c
155librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/btimer/watchdog.c
156
157# GR712
158librtemsbsp_a_SOURCES += ../shared/ascs/grascs.c
159librtemsbsp_a_SOURCES += ../shared/can/satcan.c
160librtemsbsp_a_SOURCES += ../shared/can/canmux.c
161librtemsbsp_a_SOURCES += ../shared/slink/grslink.c
162
163# TM/TC
164librtemsbsp_a_SOURCES += ../shared/tmtc/grtc.c
165librtemsbsp_a_SOURCES += ../shared/tmtc/grtm.c
166
167# MEMSCRUB
168librtemsbsp_a_SOURCES += ../shared/scrub/memscrub.c
169# L4STAT
170librtemsbsp_a_SOURCES += ../shared/stat/l4stat.c
171# Driver Manager
172librtemsbsp_a_SOURCES += ../shared/drvmgr/ambapp_bus.c
173librtemsbsp_a_SOURCES += ../shared/drvmgr/ambapp_bus_grlib.c
174librtemsbsp_a_SOURCES += ../shared/drvmgr/get_resarray_count.c
175
176if HAS_SMP
177librtemsbsp_a_SOURCES += ../../../../../../bsps/sparc/leon3/start/bspsmp.c
178endif
179
180if HAS_NETWORKING
181librtemsbsp_a_SOURCES += leon_smc91111/leon_smc91111.c
182librtemsbsp_a_SOURCES += leon_open_eth/leon_open_eth.c
183librtemsbsp_a_SOURCES += ../shared/net/greth.c
184librtemsbsp_a_SOURCES += ../shared/net/network_interface_add.c
185if !HAS_SMP
186librtemsbsp_a_SOURCES += leon_greth/leon_greth.c
187endif
188endif
189
190if HAS_MP
191# shmsupp
192librtemsbsp_a_SOURCES += shmsupp/addrconv.c
193librtemsbsp_a_SOURCES += shmsupp/getcfg.c
194librtemsbsp_a_SOURCES += shmsupp/lock.c
195librtemsbsp_a_SOURCES += shmsupp/mpisr.c
196endif
197
198
199include $(top_srcdir)/../../../../automake/local.am
200include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
201include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
202include $(srcdir)/../../../../../../bsps/sparc/leon3/headers.am
Note: See TracBrowser for help on using the repository browser.