source: rtems/c/src/lib/libbsp/arm/imx/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.3 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
9###############################################################################
10#                  Header                                                     #
11###############################################################################
12
13###############################################################################
14#                  Data                                                       #
15###############################################################################
16
17EXTRA_DIST += ../shared/start/start.S
18start.$(OBJEXT): ../shared/start/start.S
19        $(CPPASCOMPILE) -o $@ -c $<
20project_lib_DATA = start.$(OBJEXT)
21
22project_lib_DATA += linkcmds
23dist_project_lib_DATA += startup/linkcmds.imx7
24
25###############################################################################
26#                  LibBSP                                                     #
27###############################################################################
28
29noinst_LIBRARIES = libbsp.a
30
31libbsp_a_SOURCES =
32
33# Shared
34libbsp_a_SOURCES += ../../shared/bootcard.c
35libbsp_a_SOURCES += ../../shared/bspclean.c
36libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
37libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
38libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
39libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
40libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
41libbsp_a_SOURCES += ../../shared/sbrk.c
42libbsp_a_SOURCES += ../../shared/timerstub.c
43libbsp_a_SOURCES += ../../shared/src/bsp-fdt.c
44libbsp_a_SOURCES += ../../shared/src/stackalloc.c
45libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
46libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
47libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
48
49# Startup
50libbsp_a_SOURCES += startup/bspreset.c
51libbsp_a_SOURCES += startup/bspstart.c
52libbsp_a_SOURCES += startup/ccm.c
53libbsp_a_SOURCES += startup/imx_iomux.c
54if HAS_SMP
55libbsp_a_SOURCES += ../shared/arm-a9mpcore-smp.c
56libbsp_a_SOURCES += startup/bspsmp.c
57endif
58
59# IRQ
60libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
61libbsp_a_SOURCES += ../../shared/src/irq-generic.c
62libbsp_a_SOURCES += ../../shared/src/irq-info.c
63libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
64libbsp_a_SOURCES += ../../shared/src/irq-server.c
65libbsp_a_SOURCES += ../../shared/src/irq-shell.c
66libbsp_a_SOURCES += ../shared/arm-gic-irq.c
67
68# Console
69libbsp_a_SOURCES += ../../shared/console-termios.c
70libbsp_a_SOURCES += console/console-config.c
71
72# Clock
73libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
74libbsp_a_SOURCES += ../shared/arm-generic-timer-clock-config.c
75
76# Cache
77libbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
78
79# I2C
80libbsp_a_SOURCES += i2c/imx-i2c.c
81
82# SPI
83libbsp_a_SOURCES += spi/imx-ecspi.c
84
85# Start hooks
86libbsp_a_SOURCES += startup/bspstarthooks.c
87
88###############################################################################
89#                  Special Rules                                              #
90###############################################################################
91
92DISTCLEANFILES = include/bspopts.h
93
94include $(top_srcdir)/../../../../automake/local.am
95include $(srcdir)/../../../../../../bsps/arm/imx/headers.am
Note: See TracBrowser for help on using the repository browser.