source: rtems/c/src/lib/libbsp/arm/gdbarmsim/Makefile.am @ 4cf93658

5
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: 2.1 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 += ../shared/start/start.S
14start.$(OBJEXT): ../shared/start/start.S
15        $(CPPASCOMPILE) -o $@ -c $<
16project_lib_DATA = start.$(OBJEXT)
17
18project_lib_DATA += linkcmds
19
20noinst_LIBRARIES = libbsp.a
21libbsp_a_SOURCES =
22
23# startup
24libbsp_a_SOURCES += \
25    ../../shared/bspgetworkarea.c \
26    ../../shared/bsppredriverhook.c ../../shared/bspstart.c \
27    ../../shared/bspclean.c startup/bspreset.c ../../shared/bootcard.c \
28    ../../shared/getentropy-cpucounter.c \
29    ../../shared/sbrk.c ../../shared/gnatinstallhandler.c startup/syscalls.c
30libbsp_a_SOURCES += ../../shared/cpucounterread.c
31libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
32# console
33libbsp_a_SOURCES += ../../shared/console-polled.c console/console-io.c
34# clock
35libbsp_a_SOURCES += ../../shared/clock_driver_simidle.c
36# timer
37libbsp_a_SOURCES += ../../shared/timerstub.c
38# start hooks
39libbsp_a_SOURCES += startup/bspstarthooks.c
40libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
41
42# IRQ
43libbsp_a_SOURCES += irq/irq.c
44libbsp_a_SOURCES += irq/irq-dispatch.c
45libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
46libbsp_a_SOURCES += ../../shared/src/irq-generic.c
47libbsp_a_SOURCES += ../../shared/src/irq-info.c
48libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
49libbsp_a_SOURCES += ../../shared/src/irq-server.c
50libbsp_a_SOURCES += ../../shared/src/irq-shell.c
51
52# Cache
53libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
54
55#libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel \
56#    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
57#    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
58#    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel
59
60# Shared
61if shared
62libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
63libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
64endif
65
66include $(top_srcdir)/../../../../automake/local.am
67include $(srcdir)/../../../../../../bsps/arm/gdbarmsim/headers.am
Note: See TracBrowser for help on using the repository browser.