source: rtems/c/src/lib/libbsp/riscv/riscv_generic/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: 2.3 KB
Line 
1##
2#
3# @brief Makefile of LibBSP for the RISCV/Spike simulator.
4#
5#
6ACLOCAL_AMFLAGS = -I ../../../../aclocal
7EXTRA_DIST =
8
9include $(top_srcdir)/../../../../automake/compile.am
10include $(top_srcdir)/../../bsp.am
11
12dist_project_lib_DATA = startup/bsp_specs
13
14###############################################################################
15#                  Header                                                     #
16###############################################################################
17
18###############################################################################
19#                  Data                                                       #
20###############################################################################
21
22EXTRA_DIST += start/start.S
23start.$(OBJEXT): start/start.S
24        $(CPPASCOMPILE) -o $@ -c $<
25project_lib_DATA = start.$(OBJEXT)
26
27project_lib_DATA += linkcmds
28
29###############################################################################
30#                  LibBSP                                                     #
31###############################################################################
32
33noinst_LIBRARIES = libbsp.a
34
35# Startup
36libbsp_a_SOURCES = ../../shared/bspreset.c
37libbsp_a_SOURCES += ../../shared/bspstart.c
38libbsp_a_SOURCES += startup/bsp_fatal_halt.c
39
40# Shared
41libbsp_a_SOURCES += ../../shared/bootcard.c
42libbsp_a_SOURCES += ../../shared/bspclean.c
43libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
44libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
45libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
46libbsp_a_SOURCES += ../../shared/sbrk.c
47libbsp_a_SOURCES += ../../shared/src/stackalloc.c
48libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
49
50# clock
51libbsp_a_SOURCES += clock/clockdrv.c ../../../shared/clockdrv_shell.h
52
53# Timer
54libbsp_a_SOURCES += timer/timer.c
55
56# console
57libbsp_a_SOURCES += ../../shared/console-polled.c
58
59# IRQ
60libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
61libbsp_a_SOURCES += ../../shared/src/irq-generic.c
62libbsp_a_SOURCES += ../../shared/src/irq-info.c
63libbsp_a_SOURCES += irq/irq.c
64
65# Cache
66libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
67
68# debugio
69libbsp_a_SOURCES += console/console-io.c
70
71DISTCLEANFILES = include/bspopts.h
72
73include $(top_srcdir)/../../../../automake/local.am
74include $(srcdir)/../../../../../../bsps/riscv/riscv_generic/headers.am
Note: See TracBrowser for help on using the repository browser.