source: rtems/c/src/lib/libbsp/arm/xilinx-zynq/Makefile.am @ 64f7724

4.115
Last change on this file since 64f7724 was 50440c0, checked in by Sebastian Huber <sebastian.huber@…>, on Nov 19, 2014 at 2:30:24 PM

bsps/arm: Enable L2C for Cortex-A9 MPCore BSPs

  • Property mode set to 100644
File size: 5.1 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the Xilinx Zynq platform.
6#
7
8ACLOCAL_AMFLAGS = -I ../../../../aclocal
9
10include $(top_srcdir)/../../../../automake/compile.am
11
12include_bspdir = $(includedir)/bsp
13include_libcpudir = $(includedir)/libcpu
14
15dist_project_lib_DATA = bsp_specs
16
17###############################################################################
18#                  Header                                                     #
19###############################################################################
20
21include_HEADERS = include/bsp.h
22include_HEADERS += include/tm27.h
23
24nodist_include_HEADERS = ../../shared/include/coverhd.h \
25        include/bspopts.h
26
27nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
28
29include_bsp_HEADERS =
30include_bsp_HEADERS += ../../shared/include/utility.h
31include_bsp_HEADERS += ../../shared/include/irq-generic.h
32include_bsp_HEADERS += ../../shared/include/irq-info.h
33include_bsp_HEADERS += ../../shared/include/stackalloc.h
34include_bsp_HEADERS += ../shared/include/start.h
35include_bsp_HEADERS += ../shared/include/arm-a9mpcore-clock.h
36include_bsp_HEADERS += ../shared/include/arm-a9mpcore-irq.h
37include_bsp_HEADERS += ../shared/include/arm-a9mpcore-regs.h
38include_bsp_HEADERS += ../shared/include/arm-a9mpcore-start.h
39include_bsp_HEADERS += ../shared/include/arm-cp15-start.h
40include_bsp_HEADERS += ../shared/include/arm-errata.h
41include_bsp_HEADERS += ../shared/include/arm-gic.h
42include_bsp_HEADERS += ../shared/include/arm-gic-irq.h
43include_bsp_HEADERS += ../shared/include/arm-gic-regs.h
44include_bsp_HEADERS += ../shared/include/arm-gic-tm27.h
45include_bsp_HEADERS += ../shared/include/arm-release-id.h
46include_bsp_HEADERS += include/cadence-i2c.h
47include_bsp_HEADERS += include/cadence-i2c-regs.h
48include_bsp_HEADERS += include/i2c.h
49include_bsp_HEADERS += include/irq.h
50include_bsp_HEADERS += include/zynq-uart.h
51include_bsp_HEADERS += include/zynq-uart-regs.h
52
53include_libcpu_HEADERS = ../../../libcpu/arm/shared/include/arm-cp15.h
54
55###############################################################################
56#                  Data                                                       #
57###############################################################################
58
59noinst_LIBRARIES = libbspstart.a
60
61libbspstart_a_SOURCES = ../shared/start/start.S
62
63project_lib_DATA = start.$(OBJEXT)
64
65project_lib_DATA += startup/linkcmds
66
67###############################################################################
68#                  LibBSP                                                     #
69###############################################################################
70
71noinst_LIBRARIES += libbsp.a
72
73libbsp_a_SOURCES =
74libbsp_a_CPPFLAGS =
75libbsp_a_LIBADD =
76
77# Shared
78libbsp_a_SOURCES += ../../shared/bootcard.c
79libbsp_a_SOURCES += ../../shared/bspclean.c
80libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
81libbsp_a_SOURCES += ../../shared/bsplibc.c
82libbsp_a_SOURCES += ../../shared/bsppost.c
83libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
84libbsp_a_SOURCES += ../../shared/bsppretaskinghook.c
85libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
86libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
87libbsp_a_SOURCES += ../../shared/sbrk.c
88libbsp_a_SOURCES += ../../shared/timerstub.c
89libbsp_a_SOURCES += ../../shared/src/stackalloc.c
90libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
91libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
92libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
93
94# Startup
95libbsp_a_SOURCES += startup/bspreset.c
96libbsp_a_SOURCES += startup/bspstart.c
97if HAS_SMP
98libbsp_a_SOURCES += ../shared/arm-a9mpcore-smp.c
99libbsp_a_SOURCES += startup/bspsmp.c
100endif
101
102# IRQ
103libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
104libbsp_a_SOURCES += ../../shared/src/irq-generic.c
105libbsp_a_SOURCES += ../../shared/src/irq-info.c
106libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
107libbsp_a_SOURCES += ../../shared/src/irq-server.c
108libbsp_a_SOURCES += ../../shared/src/irq-shell.c
109libbsp_a_SOURCES += ../shared/arm-gic-irq.c
110
111# Console
112libbsp_a_SOURCES += ../../shared/console.c
113libbsp_a_SOURCES += ../../shared/console_control.c
114libbsp_a_SOURCES += ../../shared/console_read.c
115libbsp_a_SOURCES += ../../shared/console_select_simple.c
116libbsp_a_SOURCES += ../../shared/console_write.c
117libbsp_a_SOURCES += console/console-config.c
118libbsp_a_SOURCES += console/zynq-uart.c
119
120# Clock
121libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
122libbsp_a_SOURCES += ../shared/arm-a9mpcore-clock-config.c
123
124# I2C
125libbsp_a_SOURCES += i2c/cadence-i2c.c
126
127# Cache
128libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
129libbsp_a_SOURCES += ../shared/include/arm-cache-l1.h
130libbsp_a_SOURCES += ../shared/arm-l2c-310/cache_.h
131libbsp_a_CPPFLAGS += -I$(srcdir)/../shared/arm-l2c-310
132
133# Start hooks
134libbsp_a_SOURCES += startup/bspstarthooks.c startup/bspstartmmu.c
135
136###############################################################################
137#                  Special Rules                                              #
138###############################################################################
139
140DISTCLEANFILES = include/bspopts.h
141
142include $(srcdir)/preinstall.am
143include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.