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

5
Last change on this file since 0a09ac58 was 0a09ac58, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 13, 2018 at 7:14:56 AM

bsps: Move stackalloc.c to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 3.4 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
13dist_project_lib_DATA = startup/bsp_specs
14
15# ----------------------------
16# ------  Headers
17# ----------------------------
18
19# ----------------------------
20# ------  Data
21# ----------------------------
22
23start.$(OBJEXT): ../shared/start/start.S
24        $(CPPASCOMPILE) -o $@ -c $<
25project_lib_DATA = start.$(OBJEXT)
26
27project_lib_DATA += linkcmds
28dist_project_lib_DATA += startup/linkcmds.tms570ls3137_hdk
29dist_project_lib_DATA += startup/linkcmds.tms570ls3137_hdk_intram
30dist_project_lib_DATA += startup/linkcmds.tms570ls3137_hdk_sdram
31dist_project_lib_DATA += startup/linkcmds.tms570ls3137_hdk_with_loader
32
33# ----------------------------
34# ------  LibBSP
35# ----------------------------
36
37project_lib_LIBRARIES = librtemsbsp.a
38
39librtemsbsp_a_SOURCES =
40
41# Shared
42librtemsbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
43librtemsbsp_a_SOURCES += ../../shared/bspclean.c
44librtemsbsp_a_SOURCES += ../../shared/bspgetworkarea.c
45librtemsbsp_a_SOURCES += ../../shared/bsppredriverhook.c
46librtemsbsp_a_SOURCES += ../../shared/sbrk.c
47librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
48librtemsbsp_a_SOURCES += ../../shared/cpucounterdiff.c
49librtemsbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
50librtemsbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
51
52# Startup
53librtemsbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
54librtemsbsp_a_SOURCES += ../shared/startup/bsp-start-init-registers.S
55librtemsbsp_a_SOURCES += startup/bspreset.c
56librtemsbsp_a_SOURCES += startup/bspstart.c
57
58# POM
59librtemsbsp_a_SOURCES += pom/tms570-pom.c
60
61# IRQ
62librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
63librtemsbsp_a_SOURCES += irq/irq.c
64
65# Console
66librtemsbsp_a_SOURCES += ../../shared/console-termios.c
67librtemsbsp_a_SOURCES += console/printk-support.c
68librtemsbsp_a_SOURCES += console/tms570-sci.c
69
70# Clock
71librtemsbsp_a_SOURCES += clock/clock.c
72
73# RTC
74
75# GPIO
76librtemsbsp_a_SOURCES += pinmux/pinmux.c
77
78# Benchmark Timer
79librtemsbsp_a_SOURCES += ../../shared/timercpucounter.c
80
81# Misc
82librtemsbsp_a_SOURCES += misc/cpucounterread.c
83
84# Watchdog
85
86# Cache
87librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
88
89if TMS570_USE_HWINIT_STARTUP
90librtemsbsp_a_SOURCES += hwinit/tms570_sys_core.S
91librtemsbsp_a_SOURCES += hwinit/fail_notification.c
92librtemsbsp_a_SOURCES += hwinit/init_emif_sdram.c
93librtemsbsp_a_SOURCES += hwinit/init_esm.c
94librtemsbsp_a_SOURCES += hwinit/init_pinmux.c
95librtemsbsp_a_SOURCES += hwinit/init_system.c
96librtemsbsp_a_SOURCES += hwinit/tms570_selftest.c
97librtemsbsp_a_SOURCES += hwinit/tms570_selftest_par_can.c
98librtemsbsp_a_SOURCES += hwinit/tms570_selftest_par_mibspi.c
99librtemsbsp_a_SOURCES += hwinit/tms570_selftest_par_std.c
100librtemsbsp_a_SOURCES += hwinit/tms570_selftest_parity.c
101librtemsbsp_a_SOURCES += hwinit/tms570_tcram_tests.c
102
103# Start hooks
104librtemsbsp_a_SOURCES += hwinit/bspstarthooks-hwinit.c
105else
106# Start hooks
107librtemsbsp_a_SOURCES += startup/bspstarthooks.c
108endif
109
110# ----------------------------
111# ------  Special Rules
112# ----------------------------
113
114
115include $(top_srcdir)/../../../../automake/local.am
116include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
117include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
118include $(srcdir)/../../../../../../bsps/arm/tms570/headers.am
Note: See TracBrowser for help on using the repository browser.