source: rtems/c/src/lib/libbsp/sh/gensh1/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.5 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
[ec32100]12EXTRA_DIST += start/start.S
13start.$(OBJEXT): start/start.S
14        $(CPPASCOMPILE) -o $@ -c $<
[db3fa14]15project_lib_DATA = start.$(OBJEXT)
[d0d6a5c]16
[2afb22b]17project_lib_DATA += linkcmds
[7a5a3a41]18
[ec32100]19noinst_LIBRARIES = libbsp.a
[64eb0c7]20libbsp_a_SOURCES =
[e94666d]21
[ae554475]22SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen
23
24scitab.c: $(SHGEN)
25        $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@
26BUILT_SOURCES = scitab.c
[0011fbe]27CLEANFILES = scitab.c
[ae554475]28
[64eb0c7]29# startup
[ca4602e]30libbsp_a_SOURCES += \
[24d09194]31    ../../shared/bsppredriverhook.c ../shared/startup/bspstart.c \
[27b207a8]32    ../../shared/bspclean.c ../../shared/bspreset_loop.c \
[2858939a]33    ../../shared/bspgetworkarea.c \
[11a6c97]34    ../../shared/sbrk.c ../../shared/bootcard.c ../shared/bsphwinit.c \
[ca4895c]35    ../../shared/getentropy-cpucounter.c \
[1d0ee80e]36    ../../shared/gnatinstallhandler.c
[b850e7f]37libbsp_a_SOURCES += clock/ckinit.c
38libbsp_a_SOURCES += clock/delay.c
39libbsp_a_SOURCES += startup/cpu_asm.c startup/ispsh7032.c
40libbsp_a_SOURCES += timer/timer.c
[64eb0c7]41# scitab
42libbsp_a_SOURCES += scitab.c
43# console
44libbsp_a_SOURCES += ../../sh/shared/console.c
[b850e7f]45libbsp_a_SOURCES += console/sci.c
[64eb0c7]46# debugio
47libbsp_a_SOURCES += ../../shared/dummy_printk_support.c
[1d0ee80e]48
[2f91de2d]49# Cache
[4cf93658]50libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
[ae554475]51
[33a2faa]52EXTRA_DIST += times
[7a5a3a41]53
[c1ea6f3]54include $(top_srcdir)/../../../../automake/local.am
[2afb22b]55include $(srcdir)/../../../../../../bsps/sh/gensh1/headers.am
Note: See TracBrowser for help on using the repository browser.