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

Last change on this file since e5d5767e was e5d5767e, checked in by Premysl Houdek <kom541000@…>, on Nov 12, 2015 at 10:11:28 PM

bsp/tms570: Pinmux support and EMAC pin definition added

Signed-off-by: Premysl Houdek <kom541000@…>

  • Property mode set to 100644
File size: 6.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
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_sdram
99EXTRA_DIST += startup/linkcmds.tms570ls3137_hdk_intram
100
101# ----------------------------
102# ------  LibBSP
103# ----------------------------
104
105noinst_LIBRARIES += libbsp.a
106
107libbsp_a_SOURCES =
108libbsp_a_CPPFLAGS =
109libbsp_a_LIBADD =
110
111# Shared
112libbsp_a_SOURCES += ../../shared/bootcard.c
113libbsp_a_SOURCES += ../../shared/bspclean.c
114libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
115libbsp_a_SOURCES += ../../shared/bsplibc.c
116libbsp_a_SOURCES += ../../shared/bsppost.c
117libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
118libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
119libbsp_a_SOURCES += ../../shared/sbrk.c
120libbsp_a_SOURCES += ../../shared/src/stackalloc.c
121libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
122
123# Startup
124libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
125libbsp_a_SOURCES += ../shared/startup/bsp-start-init-registers.S
126libbsp_a_SOURCES += ../../shared/bsppretaskinghook.c
127libbsp_a_SOURCES += startup/bspreset.c
128libbsp_a_SOURCES += startup/bspstart.c
129
130# POM
131libbsp_a_SOURCES += pom/tms570-pom.c
132
133# IRQ
134libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
135libbsp_a_SOURCES += ../../shared/src/irq-generic.c
136libbsp_a_SOURCES += ../../shared/src/irq-info.c
137libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
138libbsp_a_SOURCES += ../../shared/src/irq-server.c
139libbsp_a_SOURCES += ../../shared/src/irq-shell.c
140libbsp_a_SOURCES += irq/irq.c
141
142# Console
143libbsp_a_SOURCES += ../../shared/console-termios.c
144libbsp_a_SOURCES += console/printk-support.c
145libbsp_a_SOURCES += console/tms570-sci.c
146
147# Clock
148libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
149libbsp_a_SOURCES += clock/clock.c
150libbsp_a_SOURCES += clock/benchmark_timer.c
151
152# RTC
153
154# GPIO
155libbsp_a_SOURCES += pinmux/pinmux.c
156# Timer
157
158# Benchmark Timer
159
160# Misc
161libbsp_a_SOURCES += misc/cpucounterread.c
162
163# Watchdog
164
165# Cache
166libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
167libbsp_a_SOURCES += ../../../libcpu/arm/shared/include/cache_.h
168libbsp_a_CPPFLAGS += -I$(srcdir)/../../../libcpu/arm/shared/include
169
170# Start hooks
171libbsp_a_SOURCES += startup/bspstarthooks.c
172
173# ----------------------------
174# ------  Special Rules
175# ----------------------------
176
177DISTCLEANFILES = include/bspopts.h
178
179include $(srcdir)/preinstall.am
180include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.