source: rtems/c/src/lib/libbsp/arm/realview-pbx-a9/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: 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
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-pl011.h
45include_bsp_HEADERS += ../shared/include/arm-pl011-regs.h
46include_bsp_HEADERS += ../shared/include/arm-pl050.h
47include_bsp_HEADERS += ../shared/include/arm-pl050-regs.h
48include_bsp_HEADERS += ../shared/include/arm-pl111-fb.h
49include_bsp_HEADERS += ../shared/include/arm-pl111-regs.h
50include_bsp_HEADERS += ../shared/include/arm-release-id.h
51include_bsp_HEADERS += include/irq.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
64project_lib_DATA += startup/linkcmds.realview_pbx_a9_qemu
65project_lib_DATA += startup/linkcmds.realview_pbx_a9_qemu_smp
66
67###############################################################################
68#                  LibBSP                                                     #
69###############################################################################
70
71noinst_LIBRARIES += libbsp.a
72
73libbsp_a_SOURCES =
74libbsp_a_CPPFLAGS =
75libbsp_a_LIBADD =
76
77# Shared
78libbsp_a_SOURCES += ../../shared/bootcard.c
79libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
80libbsp_a_SOURCES += ../../shared/bspclean.c
81libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
82libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
83libbsp_a_SOURCES += ../../shared/cpucounterdiff.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/startup/bsp-start-memcpy.S
89libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
90libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
91
92# Startup
93libbsp_a_SOURCES += startup/bspreset.c
94libbsp_a_SOURCES += startup/bspstart.c
95if HAS_SMP
96libbsp_a_SOURCES += ../shared/arm-a9mpcore-smp.c
97libbsp_a_SOURCES += startup/bspsmp.c
98endif
99
100# IRQ
101libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
102libbsp_a_SOURCES += ../../shared/src/irq-generic.c
103libbsp_a_SOURCES += ../../shared/src/irq-info.c
104libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
105libbsp_a_SOURCES += ../../shared/src/irq-server.c
106libbsp_a_SOURCES += ../../shared/src/irq-shell.c
107libbsp_a_SOURCES += ../shared/arm-gic-irq.c
108
109# Console
110libbsp_a_SOURCES += ../../shared/console-termios-init.c
111libbsp_a_SOURCES += ../../shared/console-termios.c
112libbsp_a_SOURCES += ../../shared/get-serial-mouse-ps2.c
113libbsp_a_SOURCES += ../shared/arm-pl011.c
114libbsp_a_SOURCES += ../shared/arm-pl050.c
115libbsp_a_SOURCES += console/console-config.c
116
117# Clock
118libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
119libbsp_a_SOURCES += ../shared/arm-a9mpcore-clock-config.c
120
121# Cache
122libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
123libbsp_a_SOURCES += ../shared/include/arm-cache-l1.h
124libbsp_a_SOURCES += ../shared/armv467ar-basic-cache/cache_.h
125libbsp_a_CPPFLAGS += -I$(srcdir)/../shared/armv467ar-basic-cache
126
127# Start hooks
128libbsp_a_SOURCES += startup/bspstarthooks.c
129
130# Framebuffer
131libbsp_a_SOURCES += ../shared/arm-pl111-fb.c
132libbsp_a_SOURCES += startup/fb-config.c
133
134###############################################################################
135#                  Special Rules                                              #
136###############################################################################
137
138DISTCLEANFILES = include/bspopts.h
139
140include $(srcdir)/preinstall.am
141include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.