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

Last change on this file since 2717032d was 2717032d, checked in by Sebastian Huber <sebastian.huber@…>, on Dec 14, 2017 at 6:15:19 AM

bsps/arm: Fix move <libcpu/arm-cp15.h> to cpukit

Update #3254.

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