source: rtems/c/src/lib/libbsp/arm/rtl22xx/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.7 KB
RevLine 
[f4392b88]1ACLOCAL_AMFLAGS = -I ../../../../aclocal
[33a2faa]2EXTRA_DIST =
[f4392b88]3
4include $(top_srcdir)/../../../../automake/compile.am
[f3ce8f41]5include $(top_srcdir)/../../bsp.am
[f4392b88]6
[2afb22b]7dist_project_lib_DATA = startup/bsp_specs
[3416c44]8
[f4392b88]9DISTCLEANFILES = include/bspopts.h
10
11noinst_PROGRAMS =
12
13
[ec32100]14EXTRA_DIST += start/start.S
15start.$(OBJEXT): start/start.S
16        $(CPPASCOMPILE) -o $@ -c $<
[f4392b88]17project_lib_DATA = start.$(OBJEXT)
18
[2afb22b]19project_lib_DATA += linkcmds
[f4392b88]20
[ec32100]21noinst_LIBRARIES = libbsp.a
[64eb0c7]22libbsp_a_SOURCES =
[e94666d]23
[64eb0c7]24# startup
[ca4602e]25libbsp_a_SOURCES += \
[2858939a]26    ../../shared/bsppredriverhook.c \
[06ec900]27    ../../shared/bspgetworkarea.c startup/bspstart.c \
28    ../../shared/bspclean.c startup/bspreset.c \
[f560d0a]29    ../../shared/bootcard.c ../../shared/sbrk.c \
[ca4895c]30    ../../shared/getentropy-cpucounter.c \
[f560d0a]31    ../../shared/gnatinstallhandler.c
[24bf11e]32libbsp_a_SOURCES += ../../shared/cpucounterread.c
33libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
[7829710]34libbsp_a_SOURCES += timer/timer.c
35libbsp_a_SOURCES += clock/clockdrv.c
[64eb0c7]36# console
[bdd3b637]37libbsp_a_SOURCES += ../../shared/console.c \
38    ../../shared/console_select.c ../../shared/console_control.c \
39    ../../shared/console_read.c ../../shared/console_write.c
[336d67a]40# IRQ
[0f31fddc]41libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
42libbsp_a_SOURCES += ../../shared/src/irq-generic.c
43libbsp_a_SOURCES += ../../shared/src/irq-info.c
44libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
45libbsp_a_SOURCES += ../../shared/src/irq-server.c
46libbsp_a_SOURCES += ../../shared/src/irq-shell.c
[7829710]47libbsp_a_SOURCES += irq/irq.c
[64eb0c7]48# debugio
[309dbd0]49libbsp_a_SOURCES += console/uart.c
[f4392b88]50
[0b9fd991]51# Cache
[4cf93658]52libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
[0b9fd991]53
[f4392b88]54if HAS_NETWORKING
[d8d6a08]55libbsp_a_SOURCES += network/network.c
[1d0ee80e]56endif
[79a1352]57
[f4392b88]58include $(top_srcdir)/../../../../automake/local.am
[2afb22b]59include $(srcdir)/../../../../../../bsps/arm/rtl22xx/headers.am
Note: See TracBrowser for help on using the repository browser.