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
RevLine 
[fe8bc62f]1ACLOCAL_AMFLAGS = -I ../../../../aclocal
[33a2faa]2EXTRA_DIST =
[94608578]3
[7a5a3a41]4include $(top_srcdir)/../../../../automake/compile.am
[f3ce8f41]5include $(top_srcdir)/../../bsp.am
[7a5a3a41]6
[2afb22b]7dist_project_lib_DATA = startup/bsp_specs
[c06b3fa]8
[db3fa14]9DISTCLEANFILES = include/bspopts.h
[2a7f9a28]10
[d0d6a5c]11
[33a2faa]12EXTRA_DIST += start/start.ram start/start.rom
[ec32100]13EXTRA_DIST += start/start.S
14start.$(OBJEXT): start/start.S
15        $(CPPASCOMPILE) -o $@ -c $<
[db3fa14]16project_lib_DATA = start.$(OBJEXT)
[7a5a3a41]17
[2afb22b]18project_lib_DATA += linkcmds
19dist_project_lib_DATA += startup/linkcmds.ram
20dist_project_lib_DATA += startup/linkcmds.rom
[0f14e45]21
[ec32100]22noinst_LIBRARIES = libbsp.a
[64eb0c7]23libbsp_a_SOURCES =
[e94666d]24
[0f14e45]25SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen
26
27scitab.c: $(SHGEN)
28        $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@
29BUILT_SOURCES = scitab.c
[0011fbe]30CLEANFILES = scitab.c
[0f14e45]31
[64eb0c7]32# startup
[ca4602e]33libbsp_a_SOURCES += startup/hw_init.c \
34    ../../shared/bsppredriverhook.c \
[2858939a]35    ../shared/startup/bspstart.c \
[0682df58]36    ../../shared/bspgetworkarea.c ../../shared/sbrk.c ../../shared/bootcard.c \
[ca4895c]37    ../../shared/getentropy-cpucounter.c \
[11a6c97]38    ../../shared/gnatinstallhandler.c ../../shared/bspclean.c \
39    ../shared/bsphwinit.c
[3dd381f]40libbsp_a_SOURCES += ../../shared/bspreset.c
[533e2c0]41libbsp_a_SOURCES += clock/ckinit.c
42libbsp_a_SOURCES += startup/cpu_asm.c startup/ispsh7045.c
43libbsp_a_SOURCES += timer/timer.c
[64eb0c7]44# scitab
45libbsp_a_SOURCES += scitab.c
46# console
47libbsp_a_SOURCES += ../../sh/shared/console.c console/config.c
[533e2c0]48libbsp_a_SOURCES += console/sci.c
49libbsp_a_SOURCES += console/sci_termios.c
[64eb0c7]50# debugio
51libbsp_a_SOURCES += ../../shared/dummy_printk_support.c
[0f14e45]52
[2f91de2d]53# Cache
[4cf93658]54libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
[7a5a3a41]55
[c1ea6f3]56include $(top_srcdir)/../../../../automake/local.am
[2afb22b]57include $(srcdir)/../../../../../../bsps/sh/gensh2/headers.am
Note: See TracBrowser for help on using the repository browser.