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

Last change on this file since 2d0bc83 was 2d0bc83, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 30, 2018 at 6:42:21 PM

build: Remove EXTRA_DIST

A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.

  • 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
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
37noinst_LIBRARIES = libbsp.a
38
39libbsp_a_SOURCES =
40
41# Shared
42libbsp_a_SOURCES += ../../shared/bootcard.c
43libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
44libbsp_a_SOURCES += ../../shared/bspclean.c
45libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
46libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
47libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
48libbsp_a_SOURCES += ../../shared/sbrk.c
49libbsp_a_SOURCES += ../../shared/src/stackalloc.c
50libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
51libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
52libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
53
54# Startup
55libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
56libbsp_a_SOURCES += ../shared/startup/bsp-start-init-registers.S
57libbsp_a_SOURCES += startup/bspreset.c
58libbsp_a_SOURCES += startup/bspstart.c
59
60# POM
61libbsp_a_SOURCES += pom/tms570-pom.c
62
63# IRQ
64libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
65libbsp_a_SOURCES += ../../shared/src/irq-generic.c
66libbsp_a_SOURCES += ../../shared/src/irq-info.c
67libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
68libbsp_a_SOURCES += ../../shared/src/irq-server.c
69libbsp_a_SOURCES += ../../shared/src/irq-shell.c
70libbsp_a_SOURCES += irq/irq.c
71
72# Console
73libbsp_a_SOURCES += ../../shared/console-termios.c
74libbsp_a_SOURCES += console/printk-support.c
75libbsp_a_SOURCES += console/tms570-sci.c
76
77# Clock
78libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
79libbsp_a_SOURCES += clock/clock.c
80
81# RTC
82
83# GPIO
84libbsp_a_SOURCES += pinmux/pinmux.c
85
86# Benchmark Timer
87libbsp_a_SOURCES += ../../shared/timercpucounter.c
88
89# Misc
90libbsp_a_SOURCES += misc/cpucounterread.c
91
92# Watchdog
93
94# Cache
95libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
96
97if TMS570_USE_HWINIT_STARTUP
98libbsp_a_SOURCES += hwinit/tms570_sys_core.S
99libbsp_a_SOURCES += hwinit/fail_notification.c
100libbsp_a_SOURCES += hwinit/init_emif_sdram.c
101libbsp_a_SOURCES += hwinit/init_esm.c
102libbsp_a_SOURCES += hwinit/init_pinmux.c
103libbsp_a_SOURCES += hwinit/init_system.c
104libbsp_a_SOURCES += hwinit/tms570_selftest.c
105libbsp_a_SOURCES += hwinit/tms570_selftest_par_can.c
106libbsp_a_SOURCES += hwinit/tms570_selftest_par_mibspi.c
107libbsp_a_SOURCES += hwinit/tms570_selftest_par_std.c
108libbsp_a_SOURCES += hwinit/tms570_selftest_parity.c
109libbsp_a_SOURCES += hwinit/tms570_tcram_tests.c
110
111# Start hooks
112libbsp_a_SOURCES += hwinit/bspstarthooks-hwinit.c
113else
114# Start hooks
115libbsp_a_SOURCES += startup/bspstarthooks.c
116endif
117
118# ----------------------------
119# ------  Special Rules
120# ----------------------------
121
122DISTCLEANFILES = include/bspopts.h
123
124include $(top_srcdir)/../../../../automake/local.am
125include $(srcdir)/../../../../../../bsps/arm/tms570/headers.am
Note: See TracBrowser for help on using the repository browser.