source: rtems/c/src/lib/libbsp/arm/csb337/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: 2.4 KB
RevLine 
[b759b04]1ACLOCAL_AMFLAGS = -I ../../../../aclocal
[33a2faa]2EXTRA_DIST =
[b759b04]3
4include $(top_srcdir)/../../../../automake/compile.am
[f3ce8f41]5include $(top_srcdir)/../../bsp.am
[b759b04]6
[2afb22b]7dist_project_lib_DATA = startup/bsp_specs
[b748dffe]8
[bb6ef078]9if ENABLE_LCD
10endif
[4cbf22a]11
[bb6ef078]12if ENABLE_UMON
13endif
[2b6993e]14
[4cbf22a]15DISTCLEANFILES = include/bspopts.h
16noinst_PROGRAMS =
[b759b04]17
18
[e7bde492]19if ENABLE_LCD
20endif
21
[ec32100]22EXTRA_DIST += start/start.S
23start.$(OBJEXT): start/start.S
24        $(CPPASCOMPILE) -o $@ -c $<
[4cbf22a]25project_lib_DATA = start.$(OBJEXT)
[b759b04]26
[2afb22b]27project_lib_DATA += linkcmds
28dist_project_lib_DATA += startup/linkcmds.csb337
29dist_project_lib_DATA += startup/linkcmds.csb637
30
[bb6ef078]31EXTRA_DIST += README
32EXTRA_DIST += README.kit637_v6
[b759b04]33
[ec32100]34noinst_LIBRARIES = libbsp.a
[e94666d]35
[64eb0c7]36# startup
[ca4602e]37libbsp_a_SOURCES = \
[127e726a]38    ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
[2858939a]39    startup/bspstart.c \
[34e9f2ac]40    ../../shared/bspclean.c startup/bspreset.c \
[3ab13d5]41    startup/memmap.c ../../shared/bootcard.c ../../shared/sbrk.c \
[ca4895c]42    ../../shared/getentropy-cpucounter.c \
[7b25525]43    ../../shared/gnatinstallhandler.c
[24bf11e]44libbsp_a_SOURCES += ../../shared/cpucounterread.c
45libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
[b748dffe]46libbsp_a_SOURCES += startup/pmc.c
47libbsp_a_SOURCES += clock/clock.c
48libbsp_a_SOURCES += timer/timer.c
[83e524e]49# console
[93b8c70]50libbsp_a_SOURCES += ../../shared/console.c console/uarts.c \
51    ../../shared/console_select.c  ../../shared/console_control.c \
52    ../../shared/console_read.c ../../shared/console_write.c
[b748dffe]53libbsp_a_SOURCES += console/dbgu.c
54libbsp_a_SOURCES += console/usart.c
[14cd67c]55# IRQ
[0f31fddc]56libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
57libbsp_a_SOURCES += ../../shared/src/irq-generic.c
58libbsp_a_SOURCES += ../../shared/src/irq-info.c
59libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
60libbsp_a_SOURCES += ../../shared/src/irq-server.c
61libbsp_a_SOURCES += ../../shared/src/irq-shell.c
[b748dffe]62libbsp_a_SOURCES += irq/irq.c
[e7bde492]63if ENABLE_LCD
64libbsp_a_SOURCES += console/sed1356.c console/fbcons.c
65endif
[2b6993e]66# umon
[bb6ef078]67if ENABLE_UMON
[2b6993e]68libbsp_a_SOURCES += ../../shared/umon/umonrtemsglue.c  \
69    ../../shared/umon/monlib.c ../../shared/umon/tfsDriver.c \
[737f8c4]70    ../../shared/umon/umoncons.c startup/umonsupp.c
[bb6ef078]71endif
72if ENABLE_UMON_CONSOLE
73libbsp_a_SOURCES += ../../shared/umon/umoncons.c
74endif
[a5ef8c53]75
[0b9fd991]76# Cache
[4cf93658]77libbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
[0b9fd991]78
[b759b04]79if HAS_NETWORKING
[d8d6a08]80libbsp_a_SOURCES += network/network.c
[b759b04]81endif
82
[b748dffe]83libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel
[b759b04]84
85include $(top_srcdir)/../../../../automake/local.am
[2afb22b]86include $(srcdir)/../../../../../../bsps/arm/csb337/headers.am
Note: See TracBrowser for help on using the repository browser.