source: rtems/c/src/lib/libbsp/epiphany/epiphany_sim/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 Epiphany 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
38
39# Shared
40libbsp_a_SOURCES += ../../shared/bootcard.c
41libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
42libbsp_a_SOURCES += ../../shared/bspclean.c
43libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
44libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
45libbsp_a_SOURCES += ../../shared/sbrk.c
46libbsp_a_SOURCES += ../../shared/src/stackalloc.c
47libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
48
49# clock
50libbsp_a_SOURCES += ../../shared/clock_driver_simidle.c
51
52# Timer
53libbsp_a_SOURCES += timer/timer.c
54
55# console
56libbsp_a_SOURCES += ../../shared/console-polled.c
57
58# IRQ
59libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
60libbsp_a_SOURCES += ../../shared/src/irq-generic.c
61libbsp_a_SOURCES += ../../shared/src/irq-info.c
62libbsp_a_SOURCES += irq/irq.c
63
64# Cache
65libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
66
67# debugio
68libbsp_a_SOURCES += console/console-io.c
69
70DISTCLEANFILES = include/bspopts.h
71
72include $(top_srcdir)/../../../../automake/local.am
73include $(srcdir)/../../../../../../bsps/epiphany/epiphany_sim/headers.am
Note: See TracBrowser for help on using the repository browser.