source: rtems/c/src/lib/libbsp/arm/tms570/Makefile.am @ f3ce8f41

Last change on this file since f3ce8f41 was f3ce8f41, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:00:02 AM

bsps: Include bsp.am in all BSP Makefile.am

Update #3254.

  • Property mode set to 100644
File size: 7.1 KB
Line 
1##
2#
3# @file makefile.am
4#
5# @brief Makefile of LibBSP for the TMS570 boards.
6#
7
8ACLOCAL_AMFLAGS = -I ../../../../aclocal
9
10include $(top_srcdir)/../../../../automake/compile.am
11include $(top_srcdir)/../../bsp.am
12
13include_bspdir = $(includedir)/bsp
14
15include_bsp_ti_herculesdir = $(includedir)/bsp/ti_herc
16
17dist_project_lib_DATA = bsp_specs
18
19# ----------------------------
20# ------  Headers
21# ----------------------------
22
23include_HEADERS = include/bsp.h
24
25nodist_include_HEADERS = include/bspopts.h
26
27nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
28
29include_bsp_HEADERS =
30include_bsp_HEADERS += ../../shared/include/utility.h
31include_bsp_HEADERS += ../../shared/include/irq-generic.h
32include_bsp_HEADERS += ../../shared/include/irq-info.h
33include_bsp_HEADERS += ../../shared/include/stackalloc.h
34include_bsp_HEADERS += ../../shared/include/uart-output-char.h
35include_bsp_HEADERS += ../shared/include/start.h
36include_bsp_HEADERS += include/tms570.h
37include_bsp_HEADERS += include/tms570-sci.h
38include_bsp_HEADERS += include/irq.h
39include_bsp_HEADERS += include/tms570-rti.h
40include_bsp_HEADERS += include/tms570-vim.h
41include_bsp_HEADERS += include/tms570-pom.h
42include_bsp_HEADERS += include/tms570-sci-driver.h
43include_bsp_HEADERS += include/system-clocks.h
44include_bsp_HEADERS += include/tms570-pinmux.h
45
46include_bsp_HEADERS += include/tms570-pins.h
47include_bsp_HEADERS += include/tms570ls3137zwt-pins.h
48include_bsp_HEADERS += include/tms570lc4357-pins.h
49
50include_bsp_ti_hercules_HEADERS = include/ti_herc/reg_adc.h
51include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_ccmsr.h
52include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_crc.h
53include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_dcan.h
54include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_dcc.h
55include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_dma.h
56include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_dmm.h
57include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_efuse.h
58include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_emacc.h
59include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_emacm.h
60include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_emif.h
61include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_esm.h
62include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_flash.h
63include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_flex_ray.h
64include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_gio.h
65include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_htu.h
66include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_i2c.h
67include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_iomm.h
68include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_lin.h
69include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_mdio.h
70include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_n2het.h
71include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_pbist.h
72include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_pll.h
73include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_pmm.h
74include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_rti.h
75include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_rtp.h
76include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_sci.h
77include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_tcr.h
78include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_tcram.h
79include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_vim.h
80include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_pom.h
81include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_spi.h
82include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_stc.h
83include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_sys.h
84include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_sys2.h
85include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_pcr.h
86
87include_HEADERS += include/tm27.h
88
89# ----------------------------
90# ------  Data
91# ----------------------------
92
93noinst_LIBRARIES = libbspstart.a
94
95libbspstart_a_SOURCES = ../shared/start/start.S
96
97project_lib_DATA = start.$(OBJEXT)
98project_lib_DATA += startup/linkcmds
99
100EXTRA_DIST =
101EXTRA_DIST += startup/linkcmds.tms570ls3137_hdk
102EXTRA_DIST += startup/linkcmds.tms570ls3137_hdk_with_loader
103EXTRA_DIST += startup/linkcmds.tms570ls3137_hdk_sdram
104EXTRA_DIST += startup/linkcmds.tms570ls3137_hdk_intram
105
106# ----------------------------
107# ------  LibBSP
108# ----------------------------
109
110noinst_LIBRARIES += libbsp.a
111
112libbsp_a_SOURCES =
113libbsp_a_CPPFLAGS =
114libbsp_a_LIBADD =
115
116# Shared
117libbsp_a_SOURCES += ../../shared/bootcard.c
118libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
119libbsp_a_SOURCES += ../../shared/bspclean.c
120libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
121libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
122libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
123libbsp_a_SOURCES += ../../shared/sbrk.c
124libbsp_a_SOURCES += ../../shared/src/stackalloc.c
125libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
126libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
127libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
128
129# Startup
130libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
131libbsp_a_SOURCES += ../shared/startup/bsp-start-init-registers.S
132libbsp_a_SOURCES += startup/bspreset.c
133libbsp_a_SOURCES += startup/bspstart.c
134
135# POM
136libbsp_a_SOURCES += pom/tms570-pom.c
137
138# IRQ
139libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
140libbsp_a_SOURCES += ../../shared/src/irq-generic.c
141libbsp_a_SOURCES += ../../shared/src/irq-info.c
142libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
143libbsp_a_SOURCES += ../../shared/src/irq-server.c
144libbsp_a_SOURCES += ../../shared/src/irq-shell.c
145libbsp_a_SOURCES += irq/irq.c
146
147# Console
148libbsp_a_SOURCES += ../../shared/console-termios.c
149libbsp_a_SOURCES += console/printk-support.c
150libbsp_a_SOURCES += console/tms570-sci.c
151
152# Clock
153libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
154libbsp_a_SOURCES += clock/clock.c
155
156# RTC
157
158# GPIO
159libbsp_a_SOURCES += pinmux/pinmux.c
160
161# Benchmark Timer
162libbsp_a_SOURCES += ../../shared/timercpucounter.c
163
164# Misc
165libbsp_a_SOURCES += misc/cpucounterread.c
166
167# Watchdog
168
169# Cache
170libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
171libbsp_a_SOURCES += ../../../libcpu/arm/shared/include/cache_.h
172libbsp_a_CPPFLAGS += -I$(srcdir)/../../../libcpu/arm/shared/include
173
174if TMS570_USE_HWINIT_STARTUP
175libbsp_a_SOURCES += hwinit/tms570_sys_core.S
176libbsp_a_SOURCES += hwinit/fail_notification.c
177libbsp_a_SOURCES += hwinit/init_emif_sdram.c
178libbsp_a_SOURCES += hwinit/init_esm.c
179libbsp_a_SOURCES += hwinit/init_pinmux.c
180libbsp_a_SOURCES += hwinit/init_system.c
181libbsp_a_SOURCES += hwinit/tms570_selftest.c
182libbsp_a_SOURCES += hwinit/tms570_selftest_par_can.c
183libbsp_a_SOURCES += hwinit/tms570_selftest_par_mibspi.c
184libbsp_a_SOURCES += hwinit/tms570_selftest_par_std.c
185libbsp_a_SOURCES += hwinit/tms570_selftest_parity.c
186libbsp_a_SOURCES += hwinit/tms570_tcram_tests.c
187
188include_bsp_HEADERS += hwinit/tms570_selftest_parity.h
189include_bsp_HEADERS += hwinit/tms570_hwinit.h
190include_bsp_HEADERS += hwinit/tms570_selftest.h
191
192# Start hooks
193libbsp_a_SOURCES += hwinit/bspstarthooks-hwinit.c
194else
195# Start hooks
196libbsp_a_SOURCES += startup/bspstarthooks.c
197endif
198
199# ----------------------------
200# ------  Special Rules
201# ----------------------------
202
203DISTCLEANFILES = include/bspopts.h
204
205include $(srcdir)/preinstall.am
206include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.