source: rtems/c/src/lib/libbsp/arm/rtl22xx/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.7 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
11noinst_PROGRAMS =
12
13
14EXTRA_DIST += start/start.S
15start.$(OBJEXT): start/start.S
16        $(CPPASCOMPILE) -o $@ -c $<
17project_lib_DATA = start.$(OBJEXT)
18
19project_lib_DATA += linkcmds
20
21noinst_LIBRARIES = libbsp.a
22libbsp_a_SOURCES =
23
24# startup
25libbsp_a_SOURCES += \
26    ../../shared/bsppredriverhook.c \
27    ../../shared/bspgetworkarea.c startup/bspstart.c \
28    ../../shared/bspclean.c startup/bspreset.c \
29    ../../shared/bootcard.c ../../shared/sbrk.c \
30    ../../shared/getentropy-cpucounter.c \
31    ../../shared/gnatinstallhandler.c
32libbsp_a_SOURCES += ../../shared/cpucounterread.c
33libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
34libbsp_a_SOURCES += timer/timer.c
35libbsp_a_SOURCES += clock/clockdrv.c
36# console
37libbsp_a_SOURCES += ../../shared/console.c \
38    ../../shared/console_select.c ../../shared/console_control.c \
39    ../../shared/console_read.c ../../shared/console_write.c
40# IRQ
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
47libbsp_a_SOURCES += irq/irq.c
48# debugio
49libbsp_a_SOURCES += console/uart.c
50
51# Cache
52libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
53
54if HAS_NETWORKING
55libbsp_a_SOURCES += network/network.c
56endif
57
58include $(top_srcdir)/../../../../automake/local.am
59include $(srcdir)/../../../../../../bsps/arm/rtl22xx/headers.am
Note: See TracBrowser for help on using the repository browser.