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

Last change on this file since 33a2faa was 33a2faa, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:04:06 AM

bsps: Add EXTRA_DIST to all BSP Makefile.am

This makes it possible to easily use

EXTRA_DIST += foobar

in fragments.

Update #3254.

  • Property mode set to 100644
File size: 4.8 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the Xilinx Zynq platform.
6#
7
8ACLOCAL_AMFLAGS = -I ../../../../aclocal
9EXTRA_DIST =
10
11include $(top_srcdir)/../../../../automake/compile.am
12include $(top_srcdir)/../../bsp.am
13
14include_bspdir = $(includedir)/bsp
15
16dist_project_lib_DATA = bsp_specs
17
18###############################################################################
19#                  Header                                                     #
20###############################################################################
21
22include_HEADERS = include/bsp.h
23include_HEADERS += include/tm27.h
24
25nodist_include_HEADERS = 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
53###############################################################################
54#                  Data                                                       #
55###############################################################################
56
57noinst_LIBRARIES = libbspstart.a
58
59libbspstart_a_SOURCES = ../shared/start/start.S
60
61project_lib_DATA = start.$(OBJEXT)
62
63project_lib_DATA += startup/linkcmds
64
65###############################################################################
66#                  LibBSP                                                     #
67###############################################################################
68
69noinst_LIBRARIES += libbsp.a
70
71libbsp_a_SOURCES =
72libbsp_a_CPPFLAGS =
73libbsp_a_LIBADD =
74
75# Shared
76libbsp_a_SOURCES += ../../shared/bootcard.c
77libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
78libbsp_a_SOURCES += ../../shared/bspclean.c
79libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
80libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
81libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
82libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
83libbsp_a_SOURCES += ../../shared/sbrk.c
84libbsp_a_SOURCES += ../../shared/timerstub.c
85libbsp_a_SOURCES += ../../shared/src/stackalloc.c
86libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
87libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
88libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
89
90# Startup
91libbsp_a_SOURCES += startup/bspreset.c
92libbsp_a_SOURCES += startup/bspstart.c
93if HAS_SMP
94libbsp_a_SOURCES += ../shared/arm-a9mpcore-smp.c
95libbsp_a_SOURCES += startup/bspsmp.c
96endif
97
98# IRQ
99libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
100libbsp_a_SOURCES += ../../shared/src/irq-generic.c
101libbsp_a_SOURCES += ../../shared/src/irq-info.c
102libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
103libbsp_a_SOURCES += ../../shared/src/irq-server.c
104libbsp_a_SOURCES += ../../shared/src/irq-shell.c
105libbsp_a_SOURCES += ../shared/arm-gic-irq.c
106
107# Console
108libbsp_a_SOURCES += ../../shared/console-termios.c
109libbsp_a_SOURCES += console/console-config.c
110libbsp_a_SOURCES += console/debug-console.c
111libbsp_a_SOURCES += console/zynq-uart.c
112
113# Clock
114libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
115libbsp_a_SOURCES += ../shared/arm-a9mpcore-clock-config.c
116
117# I2C
118libbsp_a_SOURCES += i2c/cadence-i2c.c
119
120# Cache
121libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
122libbsp_a_SOURCES += ../shared/include/arm-cache-l1.h
123libbsp_a_SOURCES += ../shared/arm-l2c-310/cache_.h
124libbsp_a_CPPFLAGS += -I$(srcdir)/../shared/arm-l2c-310
125
126# Start hooks
127libbsp_a_SOURCES += startup/bspstarthooks.c startup/bspstartmmu.c
128
129###############################################################################
130#                  Special Rules                                              #
131###############################################################################
132
133DISTCLEANFILES = include/bspopts.h
134
135include $(srcdir)/preinstall.am
136include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.