source: rtems/c/src/lib/libbsp/sparc/leon2/Makefile.am @ 8b5778e

Last change on this file since 8b5778e was 8b5778e, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 12, 2018 at 5:37:36 AM

sparc: Move libcpu content to cpukit

This patch is a part of the BSP source reorganization.

Update #3285.

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