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

Last change on this file since e56090e was ca4602e, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 25, 2016 at 9:03:00 PM

Use linker set for libio initialization

Update #2408.

  • Property mode set to 100644
File size: 6.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 = ../../shared/include/coverhd.h
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_ti_hercules_HEADERS = include/ti_herc/reg_adc.h
47include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_ccmsr.h
48include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_crc.h
49include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_dcan.h
50include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_dcc.h
51include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_dma.h
52include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_dmm.h
53include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_efuse.h
54include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_emacc.h
55include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_emacm.h
56include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_emif.h
57include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_esm.h
58include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_flash.h
59include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_flex_ray.h
60include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_gio.h
61include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_htu.h
62include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_i2c.h
63include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_iomm.h
64include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_lin.h
65include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_mdio.h
66include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_n2het.h
67include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_pbist.h
68include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_pll.h
69include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_pmm.h
70include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_rti.h
71include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_rtp.h
72include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_sci.h
73include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_tcr.h
74include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_tcram.h
75include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_vim.h
76include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_pom.h
77include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_spi.h
78include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_stc.h
79include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_sys.h
80include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_sys2.h
81include_bsp_ti_hercules_HEADERS += include/ti_herc/reg_pcr.h
82
83include_HEADERS += ../../shared/include/tm27.h
84
85# ----------------------------
86# ------  Data
87# ----------------------------
88
89noinst_LIBRARIES = libbspstart.a
90
91libbspstart_a_SOURCES = ../shared/start/start.S
92
93project_lib_DATA = start.$(OBJEXT)
94project_lib_DATA += startup/linkcmds
95
96EXTRA_DIST =
97EXTRA_DIST += startup/linkcmds.tms570ls3137_hdk
98EXTRA_DIST += startup/linkcmds.tms570ls3137_hdk_with_loader
99EXTRA_DIST += startup/linkcmds.tms570ls3137_hdk_sdram
100EXTRA_DIST += startup/linkcmds.tms570ls3137_hdk_intram
101
102# ----------------------------
103# ------  LibBSP
104# ----------------------------
105
106noinst_LIBRARIES += libbsp.a
107
108libbsp_a_SOURCES =
109libbsp_a_CPPFLAGS =
110libbsp_a_LIBADD =
111
112# Shared
113libbsp_a_SOURCES += ../../shared/bootcard.c
114libbsp_a_SOURCES += ../../shared/bspclean.c
115libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
116libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
117libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
118libbsp_a_SOURCES += ../../shared/sbrk.c
119libbsp_a_SOURCES += ../../shared/src/stackalloc.c
120libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
121
122# Startup
123libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
124libbsp_a_SOURCES += ../shared/startup/bsp-start-init-registers.S
125libbsp_a_SOURCES += startup/bspreset.c
126libbsp_a_SOURCES += startup/bspstart.c
127
128# POM
129libbsp_a_SOURCES += pom/tms570-pom.c
130
131# IRQ
132libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
133libbsp_a_SOURCES += ../../shared/src/irq-generic.c
134libbsp_a_SOURCES += ../../shared/src/irq-info.c
135libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
136libbsp_a_SOURCES += ../../shared/src/irq-server.c
137libbsp_a_SOURCES += ../../shared/src/irq-shell.c
138libbsp_a_SOURCES += irq/irq.c
139
140# Console
141libbsp_a_SOURCES += ../../shared/console-termios.c
142libbsp_a_SOURCES += console/printk-support.c
143libbsp_a_SOURCES += console/tms570-sci.c
144
145# Clock
146libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
147libbsp_a_SOURCES += clock/clock.c
148libbsp_a_SOURCES += clock/benchmark_timer.c
149
150# RTC
151
152# GPIO
153libbsp_a_SOURCES += pinmux/pinmux.c
154# Timer
155
156# Benchmark Timer
157
158# Misc
159libbsp_a_SOURCES += misc/cpucounterread.c
160
161# Watchdog
162
163# Cache
164libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
165libbsp_a_SOURCES += ../../../libcpu/arm/shared/include/cache_.h
166libbsp_a_CPPFLAGS += -I$(srcdir)/../../../libcpu/arm/shared/include
167
168# Start hooks
169libbsp_a_SOURCES += startup/bspstarthooks.c
170
171# ----------------------------
172# ------  Special Rules
173# ----------------------------
174
175DISTCLEANFILES = include/bspopts.h
176
177include $(srcdir)/preinstall.am
178include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.