source: rtems/c/src/lib/libbsp/arm/edb7312/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.8 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
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
22# startup
23libbsp_a_SOURCES += \
24    ../../shared/bspgetworkarea.c \
25    ../../shared/bsppredriverhook.c startup/bspstart.c \
26    ../../shared/bspclean.c ../../shared/bootcard.c ../../shared/sbrk.c \
27    ../../shared/getentropy-cpucounter.c \
28    startup/bspreset.c ../../shared/gnatinstallhandler.c
29libbsp_a_SOURCES += ../../shared/cpucounterread.c
30libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
31
32# clock
33libbsp_a_SOURCES += clock/clockdrv.c
34libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
35# console
36libbsp_a_SOURCES += console/uart.c ../../shared/console.c \
37    ../../shared/console_select.c  ../../shared/console_control.c \
38    ../../shared/console_read.c ../../shared/console_write.c
39# timer
40libbsp_a_SOURCES += timer/timer.c
41
42# irq
43libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
44libbsp_a_SOURCES += ../../shared/src/irq-generic.c
45libbsp_a_SOURCES += ../../shared/src/irq-info.c
46libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
47libbsp_a_SOURCES += ../../shared/src/irq-server.c
48libbsp_a_SOURCES += ../../shared/src/irq-shell.c
49libbsp_a_SOURCES += irq/irq.c
50libbsp_a_SOURCES += irq/bsp_irq_asm.S
51
52# Cache
53libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
54
55if HAS_NETWORKING
56libbsp_a_SOURCES += network/network.c
57endif
58
59include $(top_srcdir)/../../../../automake/local.am
60include $(srcdir)/../../../../../../bsps/arm/edb7312/headers.am
Note: See TracBrowser for help on using the repository browser.