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

Last change on this file since 4183b711 was 4183b711, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 25, 2018 at 8:33:35 AM

bsp/tms570: Move cpucounterread.c to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 4.6 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/shared/dev/cpucounter/cpucounterdiff.c
48librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
49librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
50
51# Startup
52librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
53librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-init-registers.S
54librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/bspreset.c
55librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/bspstart.c
56
57# POM
58librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/tms570-pom.c
59
60# IRQ
61librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
62librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/irq/irq.c
63
64# Console
65librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
66librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/console/printk-support.c
67librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/console/tms570-sci.c
68
69# Clock
70librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/tms570/clock/clock.c
71
72# RTC
73
74# GPIO
75librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/pinmux.c
76
77# Benchmark Timer
78librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-cpucounter.c
79
80# Misc
81librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/cpucounter/cpucounterread.c
82
83# Watchdog
84
85# Cache
86librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
87
88if TMS570_USE_HWINIT_STARTUP
89librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/tms570_sys_core.S
90librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/fail_notification.c
91librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/init_emif_sdram.c
92librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/init_esm.c
93librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/init_pinmux.c
94librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/init_system.c
95librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/tms570_selftest.c
96librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/tms570_selftest_par_can.c
97librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/tms570_selftest_par_mibspi.c
98librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/tms570_selftest_par_std.c
99librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/tms570_selftest_parity.c
100librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/tms570_tcram_tests.c
101
102# Start hooks
103librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/bspstarthooks-hwinit.c
104else
105# Start hooks
106librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/tms570/start/bspstarthooks.c
107endif
108
109# ----------------------------
110# ------  Special Rules
111# ----------------------------
112
113
114include $(top_srcdir)/../../../../automake/local.am
115include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
116include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
117include $(srcdir)/../../../../../../bsps/arm/tms570/headers.am
Note: See TracBrowser for help on using the repository browser.