source: rtems/c/src/lib/libbsp/sparc64/niagara/Makefile.am @ 8b5778e

5
Last change on this file since 8b5778e 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: 1.9 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2EXTRA_DIST =
3
4include $(top_srcdir)/../../../../automake/compile.am
5include $(top_srcdir)/../../bsp.am
6
7dist_project_lib_DATA = startup/bsp_specs
8
9DISTCLEANFILES = include/bspopts.h
10noinst_PROGRAMS =
11
12
13
14EXTRA_DIST += ../shared/start/start.S
15start.$(OBJEXT): ../shared/start/start.S
16        $(CPPASCOMPILE) -o $@ -c $<
17project_lib_DATA = start.$(OBJEXT)
18
19dist_project_lib_DATA += ../shared/startup/linkcmds
20
21startup_SOURCES = startup/bspclean.c startup/m5op_sparc.S \
22    ../../shared/bsppredriverhook.c \
23    ../../shared/bootcard.c ../../shared/sbrk.c \
24    ../../shared/getentropy-cpucounter.c \
25    ../../shared/bspgetworkarea.c \
26    ../../shared/bspstart.c \
27    ../../shared/bspreset.c \
28    ../shared/startup/setvec.c \
29    ../../shared/gnatinstallhandler.c  \
30    ../shared/helenos/boot/genarch/balloc.c \
31    ../shared/helenos/boot/genarch/ofw.c \
32    ../shared/helenos/boot/genarch/ofw_tree.c \
33    ../shared/helenos/boot/generic/string.c \
34    ../shared/helenos/boot/sparc64/loader/ofwarch.c \
35    ../shared/helenos/boot/sparc64/loader/main.c \
36    ../shared/helenos/boot/sparc64/loader/ofwasm.S \
37    start/bspinit.S \
38    ../shared/asm/asm.S
39
40#clock_SOURCES = ../../shared/clock_driver_simidle.c
41clock_SOURCES = ../shared/clock/ckinit.c
42
43console_SOURCES = ../../shared/console.c  ../shared/console/conscfg.c \
44    ../../shared/console_select.c ../../shared/console_control.c \
45    ../../shared/console_read.c ../../shared/console_write.c
46
47timer_SOURCES = ../../shared/timerstub.c
48
49noinst_LIBRARIES = libbsp.a
50libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
51    $(timer_SOURCES)
52
53libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
54
55libbsp_a_LIBADD = \
56      ../../../libcpu/@RTEMS_CPU@/shared/shared-score.rel \
57      ../../../libcpu/@RTEMS_CPU@/shared/sparc64-syscall.rel
58
59include $(top_srcdir)/../../../../automake/local.am
60include $(srcdir)/../../../../../../bsps/sparc64/niagara/headers.am
Note: See TracBrowser for help on using the repository browser.