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

Last change on this file since 4cf93658 was 4cf93658, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 27, 2018 at 1:37:51 PM

bsps: Rework cache manager implementation

The previous cache manager support used a single souce file
(cache_manager.c) which included an implementation header (cache_.h).
This required the use of specialized include paths to find the right
header file. Change this to include a generic implementation header
(cacheimpl.h) in specialized source files.

Use the following directories and files:

  • bsps/shared/cache
  • bsps/@RTEMS_CPU@/shared/cache
  • bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY/start/cache.c

Update #3285.

  • Property mode set to 100644
File size: 3.5 KB
Line 
1##
2#
3# @file makefile.am
4#
5# @brief Makefile of LibBSP for the TMS570 boards.
6#
7
8ACLOCAL_AMFLAGS = -I ../../../../aclocal
9EXTRA_DIST =
10
11include $(top_srcdir)/../../../../automake/compile.am
12include $(top_srcdir)/../../bsp.am
13
14dist_project_lib_DATA = startup/bsp_specs
15
16# ----------------------------
17# ------  Headers
18# ----------------------------
19
20# ----------------------------
21# ------  Data
22# ----------------------------
23
24EXTRA_DIST += ../shared/start/start.S
25start.$(OBJEXT): ../shared/start/start.S
26        $(CPPASCOMPILE) -o $@ -c $<
27project_lib_DATA = start.$(OBJEXT)
28
29project_lib_DATA += linkcmds
30dist_project_lib_DATA += startup/linkcmds.tms570ls3137_hdk
31dist_project_lib_DATA += startup/linkcmds.tms570ls3137_hdk_intram
32dist_project_lib_DATA += startup/linkcmds.tms570ls3137_hdk_sdram
33dist_project_lib_DATA += startup/linkcmds.tms570ls3137_hdk_with_loader
34
35# ----------------------------
36# ------  LibBSP
37# ----------------------------
38
39noinst_LIBRARIES = libbsp.a
40
41libbsp_a_SOURCES =
42
43# Shared
44libbsp_a_SOURCES += ../../shared/bootcard.c
45libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
46libbsp_a_SOURCES += ../../shared/bspclean.c
47libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
48libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
49libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
50libbsp_a_SOURCES += ../../shared/sbrk.c
51libbsp_a_SOURCES += ../../shared/src/stackalloc.c
52libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
53libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
54libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
55
56# Startup
57libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
58libbsp_a_SOURCES += ../shared/startup/bsp-start-init-registers.S
59libbsp_a_SOURCES += startup/bspreset.c
60libbsp_a_SOURCES += startup/bspstart.c
61
62# POM
63libbsp_a_SOURCES += pom/tms570-pom.c
64
65# IRQ
66libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
67libbsp_a_SOURCES += ../../shared/src/irq-generic.c
68libbsp_a_SOURCES += ../../shared/src/irq-info.c
69libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
70libbsp_a_SOURCES += ../../shared/src/irq-server.c
71libbsp_a_SOURCES += ../../shared/src/irq-shell.c
72libbsp_a_SOURCES += irq/irq.c
73
74# Console
75libbsp_a_SOURCES += ../../shared/console-termios.c
76libbsp_a_SOURCES += console/printk-support.c
77libbsp_a_SOURCES += console/tms570-sci.c
78
79# Clock
80libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
81libbsp_a_SOURCES += clock/clock.c
82
83# RTC
84
85# GPIO
86libbsp_a_SOURCES += pinmux/pinmux.c
87
88# Benchmark Timer
89libbsp_a_SOURCES += ../../shared/timercpucounter.c
90
91# Misc
92libbsp_a_SOURCES += misc/cpucounterread.c
93
94# Watchdog
95
96# Cache
97libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
98
99if TMS570_USE_HWINIT_STARTUP
100libbsp_a_SOURCES += hwinit/tms570_sys_core.S
101libbsp_a_SOURCES += hwinit/fail_notification.c
102libbsp_a_SOURCES += hwinit/init_emif_sdram.c
103libbsp_a_SOURCES += hwinit/init_esm.c
104libbsp_a_SOURCES += hwinit/init_pinmux.c
105libbsp_a_SOURCES += hwinit/init_system.c
106libbsp_a_SOURCES += hwinit/tms570_selftest.c
107libbsp_a_SOURCES += hwinit/tms570_selftest_par_can.c
108libbsp_a_SOURCES += hwinit/tms570_selftest_par_mibspi.c
109libbsp_a_SOURCES += hwinit/tms570_selftest_par_std.c
110libbsp_a_SOURCES += hwinit/tms570_selftest_parity.c
111libbsp_a_SOURCES += hwinit/tms570_tcram_tests.c
112
113# Start hooks
114libbsp_a_SOURCES += hwinit/bspstarthooks-hwinit.c
115else
116# Start hooks
117libbsp_a_SOURCES += startup/bspstarthooks.c
118endif
119
120# ----------------------------
121# ------  Special Rules
122# ----------------------------
123
124DISTCLEANFILES = include/bspopts.h
125
126include $(top_srcdir)/../../../../automake/local.am
127include $(srcdir)/../../../../../../bsps/arm/tms570/headers.am
Note: See TracBrowser for help on using the repository browser.