source: rtems/c/src/lib/libbsp/m32c/m32cbsp/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.2 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
10noinst_PROGRAMS =
11
12
13EXTRA_DIST += start/start.S
14start.$(OBJEXT): start/start.S
15        $(CPPASCOMPILE) -o $@ -c $<
16project_lib_DATA = start.$(OBJEXT)
17
18project_lib_DATA += linkcmds
19
20startup_SOURCES = ../../shared/bspclean.c \
21    ../../shared/bsppredriverhook.c \
22    ../../shared/bspgetworkarea.c \
23    ../../shared/bspreset.c \
24    startup/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \
25    ../../shared/getentropy-cpucounter.c \
26    ../../shared/gnatinstallhandler.c startup/crtn.S
27clock_SOURCES = ../../shared/clock_driver_simidle.c
28console_SOURCES = ../../shared/console-polled.c console/console-io.c \
29   console/syscalls.S
30timer_SOURCES = timer/timer.c
31
32noinst_LIBRARIES = libbsp.a
33libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
34    $(timer_SOURCES)
35
36# Cache
37libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
38
39include $(top_srcdir)/../../../../automake/local.am
40include $(srcdir)/../../../../../../bsps/m32c/m32cbsp/headers.am
Note: See TracBrowser for help on using the repository browser.