source: rtems/c/src/lib/libbsp/sparc64/usiii/Makefile.am @ 4cf93658

5
Last change on this file since 4cf93658 was 4cf93658, checked in by Sebastian Huber <sebastian.huber@…>, on 01/27/18 at 13:37:51

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.4 KB
RevLine 
[df970844]1ACLOCAL_AMFLAGS = -I ../../../../aclocal
[33a2faa]2EXTRA_DIST =
[df970844]3
4include $(top_srcdir)/../../../../automake/compile.am
5include $(top_srcdir)/../../bsp.am
6
[2afb22b]7dist_project_lib_DATA = startup/bsp_specs
[df970844]8
9## these are the include files used by the boot process from HelenOS Sparc64
10## These include files mimic the HelenOS kernel include layout, which
11## in HelenOS-0.4.2 is more complicated than the boot include dirs.
12
13# assumed by the HelenOS sources to be in the root includedir. We place them
14# in a kernel include directory.
[2afb22b]15
16
[df970844]17DISTCLEANFILES = include/bspopts.h
18noinst_PROGRAMS =
19
20
21
[33a2faa]22EXTRA_DIST += ../shared/start/start.S
[df970844]23start.$(OBJEXT): ../shared/start/start.S
24        $(CPPASCOMPILE) -o $@ -c $<
25project_lib_DATA = start.$(OBJEXT)
26
27dist_project_lib_DATA += ../shared/startup/linkcmds
28
[ca4602e]29startup_SOURCES = ../../shared/bspclean.c \
[2858939a]30    ../../shared/bspstart.c \
[df970844]31    ../../shared/bootcard.c ../../shared/sbrk.c \
[ca4895c]32    ../../shared/getentropy-cpucounter.c \
[47a3cd8]33    ../../shared/bspgetworkarea.c \
[2d7029d5]34    ../../shared/bsppredriverhook.c \
[3dd381f]35    ../../shared/bspreset.c \
[df970844]36    ../shared/startup/setvec.c \
37    ../../shared/gnatinstallhandler.c  \
38    ../shared/helenos/boot/genarch/balloc.c \
39    ../shared/helenos/boot/genarch/ofw.c \
40    ../shared/helenos/boot/genarch/ofw_tree.c \
41    ../shared/helenos/boot/generic/string.c \
42    ../shared/helenos/boot/sparc64/loader/ofwarch.c \
43    ../shared/helenos/boot/sparc64/loader/main.c \
44    ../shared/helenos/boot/sparc64/loader/ofwasm.S \
45    ../shared/asm/asm.S \
46    start/bspinit.S
47
48mmu_SOURCES = \
49    ../shared/helenos/kernel/sparc64/src/cache.S \
50    ../shared/helenos/kernel/sparc64/src/sun4u/takemmu.S \
51    ../shared/start/trap_table.S
52
53#clock_SOURCES = ../../shared/clock_driver_simidle.c
54clock_SOURCES = ../shared/clock/ckinit.c
55
[1aa561d]56console_SOURCES = ../../shared/console.c  ../shared/console/conscfg.c \
57    ../../shared/console_select.c  ../../shared/console_control.c \
58    ../../shared/console_read.c ../../shared/console_write.c
[df970844]59
60timer_SOURCES = ../../shared/timerstub.c
61
62noinst_LIBRARIES = libbsp.a
63libbsp_a_SOURCES = $(startup_SOURCES) $(mmu_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
64    $(timer_SOURCES)
65
[4cf93658]66libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
[df970844]67
68libbsp_a_LIBADD = \
69      ../../../libcpu/@RTEMS_CPU@/shared/shared-score.rel \
70      ../../../libcpu/@RTEMS_CPU@/shared/sparc64-syscall.rel
71
72include $(top_srcdir)/../../../../automake/local.am
[2afb22b]73include $(srcdir)/../../../../../../bsps/sparc64/usiii/headers.am
Note: See TracBrowser for help on using the repository browser.