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

Last change on this file since f3ce8f41 was f3ce8f41, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:00:02 AM

bsps: Include bsp.am in all BSP Makefile.am

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