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

4.115
Last change on this file since ffc862c was ffc862c, checked in by Sebastian Huber <sebastian.huber@…>, on Sep 17, 2013 at 11:08:49 AM

bsp/realview-pbx-a9: Add NULL pointer protection

Qemu Git version 8641136c54d216edb5bb8ef723c754039b4c5cf3 or later is
required.

  • Property mode set to 100644
File size: 5.3 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
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 += ../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 += include/irq.h
51
52include_libcpu_HEADERS = ../../../libcpu/arm/shared/include/arm-cp15.h
53
54###############################################################################
55#                  Data                                                       #
56###############################################################################
57
58noinst_LIBRARIES = libbspstart.a
59
60libbspstart_a_SOURCES = ../shared/start/start.S
61
62project_lib_DATA = start.$(OBJEXT)
63
64project_lib_DATA += startup/linkcmds
65project_lib_DATA += startup/linkcmds.realview_pbx_a9_qemu
66project_lib_DATA += startup/linkcmds.realview_pbx_a9_qemu_smp
67
68###############################################################################
69#                  LibBSP                                                     #
70###############################################################################
71
72noinst_LIBRARIES += libbsp.a
73
74libbsp_a_SOURCES =
75libbsp_a_CPPFLAGS =
76libbsp_a_LIBADD =
77
78# Shared
79libbsp_a_SOURCES += ../../shared/bootcard.c
80libbsp_a_SOURCES += ../../shared/bspclean.c
81libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
82libbsp_a_SOURCES += ../../shared/bsplibc.c
83libbsp_a_SOURCES += ../../shared/bsppost.c
84libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
85libbsp_a_SOURCES += ../../shared/bsppretaskinghook.c
86libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
87libbsp_a_SOURCES += ../../shared/sbrk.c
88libbsp_a_SOURCES += ../../shared/timerstub.c
89libbsp_a_SOURCES += ../../shared/src/stackalloc.c
90libbsp_a_SOURCES += ../shared/abort/simple_abort.c
91libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
92libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
93libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
94
95# Startup
96libbsp_a_SOURCES += startup/bspreset.c
97libbsp_a_SOURCES += startup/bspstart.c
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.c
110libbsp_a_SOURCES += ../../shared/console_control.c
111libbsp_a_SOURCES += ../../shared/console_read.c
112libbsp_a_SOURCES += ../../shared/console_select.c
113libbsp_a_SOURCES += ../../shared/console_write.c
114libbsp_a_SOURCES += ../../shared/console-output-char.c
115libbsp_a_SOURCES += ../../shared/get-serial-mouse-ps2.c
116libbsp_a_SOURCES += ../shared/arm-pl011.c
117libbsp_a_SOURCES += ../shared/arm-pl050.c
118libbsp_a_SOURCES += console/console-config.c
119
120# Clock
121libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
122libbsp_a_SOURCES += ../shared/arm-a9mpcore-clock-config.c
123
124# Cache
125libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
126libbsp_a_SOURCES += ../../../libcpu/arm/shared/include/cache_.h
127libbsp_a_CPPFLAGS += -I$(srcdir)/../../../libcpu/arm/shared/include
128
129# Start hooks
130libbsp_a_SOURCES += startup/bspstarthooks.c
131
132# Framebuffer
133libbsp_a_SOURCES += ../shared/arm-pl111-fb.c
134libbsp_a_SOURCES += startup/fb-config.c
135
136if HAS_SMP
137libbsp_a_SOURCES += ../shared/arm-a9mpcore-smp.c
138endif
139
140###############################################################################
141#                  Special Rules                                              #
142###############################################################################
143
144DISTCLEANFILES = include/bspopts.h
145
146include $(srcdir)/preinstall.am
147include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.