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

Last change on this file since 4cf93658 was 4cf93658, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 27, 2018 at 1:37:51 PM

bsps: Rework cache manager implementation

The previous cache manager support used a single souce file
(cache_manager.c) which included an implementation header (cache_.h).
This required the use of specialized include paths to find the right
header file. Change this to include a generic implementation header
(cacheimpl.h) in specialized source files.

Use the following directories and files:

  • bsps/shared/cache
  • bsps/@RTEMS_CPU@/shared/cache
  • bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY/start/cache.c

Update #3285.

  • Property mode set to 100644
File size: 3.5 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the RealView PBX A9 board.
6#
7
8ACLOCAL_AMFLAGS = -I ../../../../aclocal
9EXTRA_DIST =
10
11include $(top_srcdir)/../../../../automake/compile.am
12include $(top_srcdir)/../../bsp.am
13
14dist_project_lib_DATA = startup/bsp_specs
15
16###############################################################################
17#                  Header                                                     #
18###############################################################################
19
20###############################################################################
21#                  Data                                                       #
22###############################################################################
23
24EXTRA_DIST += ../shared/start/start.S
25start.$(OBJEXT): ../shared/start/start.S
26        $(CPPASCOMPILE) -o $@ -c $<
27project_lib_DATA = start.$(OBJEXT)
28
29project_lib_DATA += linkcmds
30dist_project_lib_DATA += startup/linkcmds.realview_pbx_a9_qemu
31dist_project_lib_DATA += startup/linkcmds.realview_pbx_a9_qemu_smp
32
33###############################################################################
34#                  LibBSP                                                     #
35###############################################################################
36
37noinst_LIBRARIES = libbsp.a
38
39libbsp_a_SOURCES =
40
41# Shared
42libbsp_a_SOURCES += ../../shared/bootcard.c
43libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
44libbsp_a_SOURCES += ../../shared/bspclean.c
45libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
46libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
47libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
48libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
49libbsp_a_SOURCES += ../../shared/sbrk.c
50libbsp_a_SOURCES += ../../shared/timerstub.c
51libbsp_a_SOURCES += ../../shared/src/stackalloc.c
52libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
53libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
54libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
55
56# Startup
57libbsp_a_SOURCES += startup/bspreset.c
58libbsp_a_SOURCES += startup/bspstart.c
59if HAS_SMP
60libbsp_a_SOURCES += ../shared/arm-a9mpcore-smp.c
61libbsp_a_SOURCES += startup/bspsmp.c
62endif
63
64# IRQ
65libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
66libbsp_a_SOURCES += ../../shared/src/irq-generic.c
67libbsp_a_SOURCES += ../../shared/src/irq-info.c
68libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
69libbsp_a_SOURCES += ../../shared/src/irq-server.c
70libbsp_a_SOURCES += ../../shared/src/irq-shell.c
71libbsp_a_SOURCES += ../shared/arm-gic-irq.c
72
73# Console
74libbsp_a_SOURCES += ../../shared/console-termios-init.c
75libbsp_a_SOURCES += ../../shared/console-termios.c
76libbsp_a_SOURCES += ../../shared/get-serial-mouse-ps2.c
77libbsp_a_SOURCES += ../shared/arm-pl011.c
78libbsp_a_SOURCES += ../shared/arm-pl050.c
79libbsp_a_SOURCES += console/console-config.c
80
81# Clock
82libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
83libbsp_a_SOURCES += ../shared/arm-a9mpcore-clock-config.c
84
85# Cache
86libbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
87
88# Start hooks
89libbsp_a_SOURCES += startup/bspstarthooks.c
90
91# Framebuffer
92libbsp_a_SOURCES += ../shared/arm-pl111-fb.c
93libbsp_a_SOURCES += startup/fb-config.c
94
95###############################################################################
96#                  Special Rules                                              #
97###############################################################################
98
99DISTCLEANFILES = include/bspopts.h
100
101include $(top_srcdir)/../../../../automake/local.am
102include $(srcdir)/../../../../../../bsps/arm/realview-pbx-a9/headers.am
Note: See TracBrowser for help on using the repository browser.