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

Last change on this file since 2717032d was 2717032d, checked in by Sebastian Huber <sebastian.huber@…>, on Dec 14, 2017 at 6:15:19 AM

bsps/arm: Fix move <libcpu/arm-cp15.h> to cpukit

Update #3254.

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