source: rtems/c/src/lib/libbsp/sh/gensh4/Makefile.am @ 4cf93658

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: 1.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
9DISTCLEANFILES = include/bspopts.h
10
11EXTRA_DIST += start/start.S
12start.$(OBJEXT): start/start.S
13        $(CPPASCOMPILE) -o $@ -c $<
14project_lib_DATA = start.$(OBJEXT)
15
16project_lib_DATA += linkcmds
17dist_project_lib_DATA += startup/linkcmds.rom
18dist_project_lib_DATA += startup/linkcmds.rom2ram
19
20noinst_LIBRARIES = libbsp.a
21libbsp_a_SOURCES =
22
23# startup
24libbsp_a_SOURCES += \
25    ../../shared/bsppredriverhook.c ../shared/startup/bspstart.c \
26    ../../shared/bspgetworkarea.c \
27    ../../shared/bspclean.c ../../shared/sbrk.c ../../shared/bootcard.c \
28    ../../shared/getentropy-cpucounter.c \
29    ../../shared/gnatinstallhandler.c ../shared/bsphwinit.c
30libbsp_a_SOURCES += ../../shared/bspreset.c
31libbsp_a_SOURCES += startup/cpu_asm.c startup/ispsh7750.c
32libbsp_a_SOURCES += clock/ckinit.c
33libbsp_a_SOURCES += timer/timer.c
34# console
35libbsp_a_SOURCES += console/console.c ../../shared/dummy_printk_support.c
36libbsp_a_SOURCES += console/sh4uart.c
37# hw_init
38libbsp_a_SOURCES += hw_init/hw_init.c
39
40# Cache
41libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
42
43EXTRA_DIST += times
44
45include $(top_srcdir)/../../../../automake/local.am
46include $(srcdir)/../../../../../../bsps/sh/gensh4/headers.am
Note: See TracBrowser for help on using the repository browser.