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