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

4.11
Last change on this file since db42c079 was db42c079, checked in by Sebastian Huber <sebastian.huber@…>, on May 31, 2013 at 11:59:47 AM

bsps/arm: Add SMP support

  • 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
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/tod.h
35include_bsp_HEADERS += ../shared/include/start.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-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 += include/irq.h
45include_bsp_HEADERS += include/zynq-uart.h
46include_bsp_HEADERS += include/zynq-uart-regs.h
47
48include_libcpu_HEADERS = ../../../libcpu/arm/shared/include/arm-cp15.h
49
50###############################################################################
51#                  Data                                                       #
52###############################################################################
53
54noinst_LIBRARIES = libbspstart.a
55
56libbspstart_a_SOURCES = ../shared/start/start.S
57
58project_lib_DATA = start.$(OBJEXT)
59
60project_lib_DATA += startup/linkcmds
61
62EXTRA_DIST =
63EXTRA_DIST += startup/linkcmds.xilinx_zynq_a9_qemu
64EXTRA_DIST += startup/linkcmds.xilinx_zynq_a9_qemu_smp
65
66###############################################################################
67#                  LibBSP                                                     #
68###############################################################################
69
70noinst_LIBRARIES += libbsp.a
71
72libbsp_a_SOURCES =
73libbsp_a_CPPFLAGS =
74libbsp_a_LIBADD =
75
76# Shared
77libbsp_a_SOURCES += ../../shared/bootcard.c
78libbsp_a_SOURCES += ../../shared/bspclean.c
79libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
80libbsp_a_SOURCES += ../../shared/bsplibc.c
81libbsp_a_SOURCES += ../../shared/bsppost.c
82libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
83libbsp_a_SOURCES += ../../shared/bsppretaskinghook.c
84libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
85libbsp_a_SOURCES += ../../shared/sbrk.c
86libbsp_a_SOURCES += ../../shared/timerstub.c
87libbsp_a_SOURCES += ../../shared/src/stackalloc.c
88libbsp_a_SOURCES += ../shared/abort/simple_abort.c
89libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
90libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
91libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
92
93# Startup
94libbsp_a_SOURCES += startup/bspreset.c
95libbsp_a_SOURCES += startup/bspstart.c
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.c
108libbsp_a_SOURCES += ../../shared/console_control.c
109libbsp_a_SOURCES += ../../shared/console_read.c
110libbsp_a_SOURCES += ../../shared/console_select.c
111libbsp_a_SOURCES += ../../shared/console_write.c
112libbsp_a_SOURCES += console/console-config.c
113libbsp_a_SOURCES += console/zynq-uart.c
114
115# Clock
116libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
117libbsp_a_SOURCES += ../shared/arm-a9mpcore-clock-config.c
118
119# Cache
120libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
121libbsp_a_SOURCES += ../../../libcpu/arm/shared/include/cache_.h
122libbsp_a_CPPFLAGS += -I$(srcdir)/../../../libcpu/arm/shared/include
123
124# Start hooks
125libbsp_a_SOURCES += startup/bspstarthooks.c
126
127if HAS_SMP
128libbsp_a_SOURCES += ../shared/arm-a9mpcore-smp.c
129endif
130
131###############################################################################
132#                  Special Rules                                              #
133###############################################################################
134
135DISTCLEANFILES = include/bspopts.h
136
137include $(srcdir)/preinstall.am
138include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.