source: rtems/c/src/lib/libbsp/sh/gensh2/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: 1.6 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
10
11
12EXTRA_DIST += start/start.ram start/start.rom
13EXTRA_DIST += start/start.S
14start.$(OBJEXT): start/start.S
15        $(CPPASCOMPILE) -o $@ -c $<
16project_lib_DATA = start.$(OBJEXT)
17
18project_lib_DATA += linkcmds
19dist_project_lib_DATA += startup/linkcmds.ram
20dist_project_lib_DATA += startup/linkcmds.rom
21
22noinst_LIBRARIES = libbsp.a
23libbsp_a_SOURCES =
24
25SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen
26
27scitab.c: $(SHGEN)
28        $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@
29BUILT_SOURCES = scitab.c
30CLEANFILES = scitab.c
31
32# startup
33libbsp_a_SOURCES += startup/hw_init.c \
34    ../../shared/bsppredriverhook.c \
35    ../shared/startup/bspstart.c \
36    ../../shared/bspgetworkarea.c ../../shared/sbrk.c ../../shared/bootcard.c \
37    ../../shared/getentropy-cpucounter.c \
38    ../../shared/gnatinstallhandler.c ../../shared/bspclean.c \
39    ../shared/bsphwinit.c
40libbsp_a_SOURCES += ../../shared/bspreset.c
41libbsp_a_SOURCES += clock/ckinit.c
42libbsp_a_SOURCES += startup/cpu_asm.c startup/ispsh7045.c
43libbsp_a_SOURCES += timer/timer.c
44# scitab
45libbsp_a_SOURCES += scitab.c
46# console
47libbsp_a_SOURCES += ../../sh/shared/console.c console/config.c
48libbsp_a_SOURCES += console/sci.c
49libbsp_a_SOURCES += console/sci_termios.c
50# debugio
51libbsp_a_SOURCES += ../../shared/dummy_printk_support.c
52
53# Cache
54libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
55
56include $(top_srcdir)/../../../../automake/local.am
57include $(srcdir)/../../../../../../bsps/sh/gensh2/headers.am
Note: See TracBrowser for help on using the repository browser.