source: rtems/c/src/lib/libbsp/arm/stm32f4/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: 3.4 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2EXTRA_DIST =
3
4include $(top_srcdir)/../../../../automake/compile.am
5include $(top_srcdir)/../../bsp.am
6
7###############################################################################
8#                  Data                                                       #
9###############################################################################
10
11dist_project_lib_DATA = startup/bsp_specs
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
19dist_project_lib_DATA += startup/linkcmds.stm32f105rc
20dist_project_lib_DATA += startup/linkcmds.stm32f4
21
22###############################################################################
23#                  Header                                                     #
24###############################################################################
25
26###############################################################################
27#                  LibBSP                                                     #
28###############################################################################
29
30noinst_LIBRARIES = libbsp.a
31
32libbsp_a_SOURCES =
33
34# Shared
35libbsp_a_SOURCES += ../../shared/bootcard.c
36libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
37libbsp_a_SOURCES += ../../shared/bspclean.c
38libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
39libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
40libbsp_a_SOURCES += ../../shared/cpucounterread.c
41libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
42libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
43libbsp_a_SOURCES += ../../shared/sbrk.c
44libbsp_a_SOURCES += ../../shared/src/stackalloc.c
45
46# Startup
47libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
48libbsp_a_SOURCES += startup/bspstart.c
49libbsp_a_SOURCES += startup/bspstarthook.c
50libbsp_a_SOURCES += startup/bspreset.c
51libbsp_a_SOURCES += startup/io.c
52libbsp_a_SOURCES += startup/rcc.c
53libbsp_a_SOURCES += startup/start-config-io.c
54
55# IRQ
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
62libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq.c
63libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq-dispatch.c
64
65# Console
66libbsp_a_SOURCES += ../../shared/console.c
67libbsp_a_SOURCES += ../../shared/console_control.c
68libbsp_a_SOURCES += ../../shared/console_read.c
69libbsp_a_SOURCES += ../../shared/console_select.c
70libbsp_a_SOURCES += ../../shared/console_write.c
71libbsp_a_SOURCES += console/console-config.c
72libbsp_a_SOURCES += console/usart.c
73
74# I2C
75libbsp_a_SOURCES += i2c/i2c.c
76libbsp_a_SOURCES += i2c/i2c-config.c
77
78# Clock
79libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
80libbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
81
82# Timer
83libbsp_a_SOURCES += ../../shared/timerstub.c
84
85# Cache
86libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
87
88###############################################################################
89#                  Special Rules                                              #
90###############################################################################
91
92DISTCLEANFILES = include/bspopts.h
93
94include $(top_srcdir)/../../../../automake/local.am
95include $(srcdir)/../../../../../../bsps/arm/stm32f4/headers.am
Note: See TracBrowser for help on using the repository browser.