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

Last change on this file since 2d0bc83 was 2d0bc83, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 30, 2018 at 6:42:21 PM

build: Remove EXTRA_DIST

A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.

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