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

Last change on this file was 0ee2125, checked in by Sebastian Huber <sebastian.huber@…>, on Jul 26, 2019 at 5:59:27 AM

bsps/arm: Move register init to start.S

This makes it easier to review changes in start.S.

Update #3773.

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