source: rtems/c/src/lib/libcpu/sparc64/Makefile.am @ a4570829

5
Last change on this file since a4570829 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.7 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../aclocal
2
3include $(top_srcdir)/../../../automake/compile.am
4
5noinst_PROGRAMS =
6
7# NOTE: shared applies to targets meant to run with supervisor privilege,
8# i.e. sun4u or sun4v. Any targets (e.g. simulators) that cannot emulate
9# supervisor privilege should use their own score and sparc64-syscall.
10# The other shared code is probably usable, but should be defined separately.
11# See the example at the end of Makefile.am.
12if shared
13
14noinst_PROGRAMS += shared/shared-score.rel
15shared_shared_score_rel_SOURCES = shared/score/cpu.c shared/score/interrupt.S
16shared_shared_score_rel_CPPFLAGS = $(AM_CPPFLAGS)
17shared_shared_score_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
18
19noinst_PROGRAMS += shared/sparc64-syscall.rel
20shared_sparc64_syscall_rel_SOURCES = shared/syscall/sparc64-syscall.S \
21  shared/syscall/sparc64-syscall.h
22shared_sparc64_syscall_rel_CPPFLAGS = $(AM_CPPFLAGS)
23shared_sparc64_syscall_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
24endif
25
26### This is an example of how to define a separate score implementation.
27## NOTE: Unlike other CPUs, we install into a subdirectory to avoid
28##       file name conflicts (See sh CPU for simexampleilar approach)
29#include_sparc64dir = $(includedir)/sparc64
30#include_rtems_scoredir = $(includedir)/rtems/score
31#
32#if simexample
33#include_sparc64_HEADERS = 
34#include_rtems_score_HEADERS = $(include_rtems_scoredir)/sparc64.h \
35#                              $(include_rtems_scoredir)/cpu.h \
36#                              $(include_rtems_scoredir)/types.h
37
38## simexample/score
39#noinst_PROGRAMS += simexample/score.rel
40#simexample_score_rel_SOURCES =
41#simexample_score_rel_CPPFLAGS = $(AM_CPPFLAGS)
42#simexample_score_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
43#
44#endif
45### End of example.
46
47include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.