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

Last change on this file since 8df196f7 was 6626efe6, checked in by Pavel Pisa <pisa@…>, on Jun 20, 2016 at 4:55:49 PM

bsp/tms570: update pinmux to provide support for initialization lists and clear of alt outputs.

  • 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_HEADERS += include/tms570-pins.h
47include_bsp_HEADERS += include/tms570ls3137zwt-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 += ../../shared/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/bspclean.c
118libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
119libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
120libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
121libbsp_a_SOURCES += ../../shared/sbrk.c
122libbsp_a_SOURCES += ../../shared/src/stackalloc.c
123libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
124
125# Startup
126libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
127libbsp_a_SOURCES += ../shared/startup/bsp-start-init-registers.S
128libbsp_a_SOURCES += startup/bspreset.c
129libbsp_a_SOURCES += startup/bspstart.c
130
131# POM
132libbsp_a_SOURCES += pom/tms570-pom.c
133
134# IRQ
135libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
136libbsp_a_SOURCES += ../../shared/src/irq-generic.c
137libbsp_a_SOURCES += ../../shared/src/irq-info.c
138libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
139libbsp_a_SOURCES += ../../shared/src/irq-server.c
140libbsp_a_SOURCES += ../../shared/src/irq-shell.c
141libbsp_a_SOURCES += irq/irq.c
142
143# Console
144libbsp_a_SOURCES += ../../shared/console-termios.c
145libbsp_a_SOURCES += console/printk-support.c
146libbsp_a_SOURCES += console/tms570-sci.c
147
148# Clock
149libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
150libbsp_a_SOURCES += clock/clock.c
151libbsp_a_SOURCES += clock/benchmark_timer.c
152
153# RTC
154
155# GPIO
156libbsp_a_SOURCES += pinmux/pinmux.c
157# Timer
158
159# Benchmark Timer
160
161# Misc
162libbsp_a_SOURCES += misc/cpucounterread.c
163
164# Watchdog
165
166# Cache
167libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
168libbsp_a_SOURCES += ../../../libcpu/arm/shared/include/cache_.h
169libbsp_a_CPPFLAGS += -I$(srcdir)/../../../libcpu/arm/shared/include
170
171# Start hooks
172libbsp_a_SOURCES += startup/bspstarthooks.c
173
174# ----------------------------
175# ------  Special Rules
176# ----------------------------
177
178DISTCLEANFILES = include/bspopts.h
179
180include $(srcdir)/preinstall.am
181include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.