source: rtems/c/src/lib/libbsp/arm/raspberrypi/Makefile.am @ 05015dc1

Last change on this file since 05015dc1 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.8 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the raspberrypi 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
20noinst_HEADERS = console/font_data.h
21
22###############################################################################
23# Data                                                       #
24###############################################################################
25
26EXTRA_DIST += ../shared/start/start.S
27start.$(OBJEXT): ../shared/start/start.S
28        $(CPPASCOMPILE) -o $@ -c $<
29project_lib_DATA = start.$(OBJEXT)
30
31project_lib_DATA += linkcmds
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/bsppredriverhook.c
46libbsp_a_SOURCES += ../../shared/cpucounterread.c
47libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
48libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
49libbsp_a_SOURCES += ../../shared/sbrk.c
50libbsp_a_SOURCES += ../../shared/src/stackalloc.c
51libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
52libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
53if BSP_START_IN_HYP_SUPPORT
54libbsp_a_SOURCES += ../shared/startup/bsp-start-in-hyp-support.S
55endif
56
57# Startup
58libbsp_a_SOURCES += startup/bspstart.c
59libbsp_a_SOURCES += startup/cmdline.c
60libbsp_a_SOURCES += startup/bspgetworkarea.c
61if HAS_SMP
62libbsp_a_SOURCES += startup/bspsmp.c
63libbsp_a_SOURCES += startup/bspsmp_init.c
64endif
65
66# Restart
67libbsp_a_SOURCES += startup/bspreset.c
68
69# IRQ
70libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
71libbsp_a_SOURCES += ../../shared/src/irq-generic.c
72libbsp_a_SOURCES += ../../shared/src/irq-info.c
73libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
74libbsp_a_SOURCES += ../../shared/src/irq-server.c
75libbsp_a_SOURCES += ../../shared/src/irq-shell.c
76libbsp_a_SOURCES += irq/irq.c
77
78# Console
79libbsp_a_SOURCES += ../../shared/console.c
80libbsp_a_SOURCES += ../../shared/console_control.c
81libbsp_a_SOURCES += ../../shared/console_read.c
82libbsp_a_SOURCES += ../../shared/console_write.c
83libbsp_a_SOURCES += console/console-config.c
84libbsp_a_SOURCES += console/console_select.c
85libbsp_a_SOURCES += console/usart.c
86libbsp_a_SOURCES += console/fb.c
87libbsp_a_SOURCES += console/fbcons.c
88libbsp_a_SOURCES += console/outch.c
89
90# Mailbox
91libbsp_a_SOURCES += misc/mailbox.c
92
93# VideoCore
94libbsp_a_SOURCES += misc/vc.c
95
96# clock
97libbsp_a_SOURCES += clock/clockdrv.c ../../../shared/clockdrv_shell.h
98
99# Timer
100libbsp_a_SOURCES += misc/timer.c
101
102# GPIO
103libbsp_a_SOURCES += ../../shared/gpio.c
104libbsp_a_SOURCES += gpio/rpi-gpio.c
105
106# RTC
107
108# SSP
109
110# I2C
111libbsp_a_SOURCES += i2c/i2c.c
112
113# SPI
114libbsp_a_SOURCES += spi/spi.c
115
116# Cache
117libbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
118
119# Start hooks
120libbsp_a_SOURCES += startup/bspstarthooks.c
121
122# LIBMM
123libbsp_a_SOURCES += startup/mm_config_table.c
124libbsp_a_SOURCES += ../shared/mminit.c
125
126###############################################################################
127#                  Special Rules                                              #
128###############################################################################
129
130DISTCLEANFILES = include/bspopts.h
131
132include $(top_srcdir)/../../../../automake/local.am
133include $(srcdir)/../../../../../../bsps/arm/raspberrypi/headers.am
Note: See TracBrowser for help on using the repository browser.