source: rtems/c/src/lib/libbsp/arm/realview-pbx-a9/Makefile.am @ bb59269

Last change on this file since bb59269 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: 5.1 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the RealView PBX A9 board.
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-pl011.h
44include_bsp_HEADERS += ../shared/include/arm-pl011-regs.h
45include_bsp_HEADERS += ../shared/include/arm-pl050.h
46include_bsp_HEADERS += ../shared/include/arm-pl050-regs.h
47include_bsp_HEADERS += ../shared/include/arm-pl111-fb.h
48include_bsp_HEADERS += ../shared/include/arm-pl111-regs.h
49include_bsp_HEADERS += ../shared/include/arm-release-id.h
50include_bsp_HEADERS += include/irq.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
63project_lib_DATA += startup/linkcmds.realview_pbx_a9_qemu
64project_lib_DATA += startup/linkcmds.realview_pbx_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/getentropy-cpucounter.c
79libbsp_a_SOURCES += ../../shared/bspclean.c
80libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
81libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
82libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
83libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
84libbsp_a_SOURCES += ../../shared/sbrk.c
85libbsp_a_SOURCES += ../../shared/timerstub.c
86libbsp_a_SOURCES += ../../shared/src/stackalloc.c
87libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
88libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
89libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
90
91# Startup
92libbsp_a_SOURCES += startup/bspreset.c
93libbsp_a_SOURCES += startup/bspstart.c
94if HAS_SMP
95libbsp_a_SOURCES += ../shared/arm-a9mpcore-smp.c
96libbsp_a_SOURCES += startup/bspsmp.c
97endif
98
99# IRQ
100libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
101libbsp_a_SOURCES += ../../shared/src/irq-generic.c
102libbsp_a_SOURCES += ../../shared/src/irq-info.c
103libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
104libbsp_a_SOURCES += ../../shared/src/irq-server.c
105libbsp_a_SOURCES += ../../shared/src/irq-shell.c
106libbsp_a_SOURCES += ../shared/arm-gic-irq.c
107
108# Console
109libbsp_a_SOURCES += ../../shared/console-termios-init.c
110libbsp_a_SOURCES += ../../shared/console-termios.c
111libbsp_a_SOURCES += ../../shared/get-serial-mouse-ps2.c
112libbsp_a_SOURCES += ../shared/arm-pl011.c
113libbsp_a_SOURCES += ../shared/arm-pl050.c
114libbsp_a_SOURCES += console/console-config.c
115
116# Clock
117libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
118libbsp_a_SOURCES += ../shared/arm-a9mpcore-clock-config.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/armv467ar-basic-cache/cache_.h
124libbsp_a_CPPFLAGS += -I$(srcdir)/../shared/armv467ar-basic-cache
125
126# Start hooks
127libbsp_a_SOURCES += startup/bspstarthooks.c
128
129# Framebuffer
130libbsp_a_SOURCES += ../shared/arm-pl111-fb.c
131libbsp_a_SOURCES += startup/fb-config.c
132
133###############################################################################
134#                  Special Rules                                              #
135###############################################################################
136
137DISTCLEANFILES = include/bspopts.h
138
139include $(srcdir)/preinstall.am
140include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.