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