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 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.4 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
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.
15
16
17DISTCLEANFILES = include/bspopts.h
18noinst_PROGRAMS =
19
20
21
22EXTRA_DIST += ../shared/start/start.S
23start.$(OBJEXT): ../shared/start/start.S
24        $(CPPASCOMPILE) -o $@ -c $<
25project_lib_DATA = start.$(OBJEXT)
26
27dist_project_lib_DATA += ../shared/startup/linkcmds
28
29startup_SOURCES = ../../shared/bspclean.c \
30    ../../shared/bspstart.c \
31    ../../shared/bootcard.c ../../shared/sbrk.c \
32    ../../shared/getentropy-cpucounter.c \
33    ../../shared/bspgetworkarea.c \
34    ../../shared/bsppredriverhook.c \
35    ../../shared/bspreset.c \
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
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
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
66libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
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
73include $(srcdir)/../../../../../../bsps/sparc64/usiii/headers.am
Note: See TracBrowser for help on using the repository browser.