source: rtems/c/src/lib/libbsp/or1k/generic_or1k/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: 2.8 KB
Line 
1#
2# @file
3#
4# @brief Makefile of LibBSP for the generic_or1k BSP.
5#
6
7ACLOCAL_AMFLAGS = -I ../../../../aclocal
8EXTRA_DIST =
9
10include $(top_srcdir)/../../../../automake/compile.am
11include $(top_srcdir)/../../bsp.am
12
13dist_project_lib_DATA = startup/bsp_specs
14
15###############################################################################
16#                  Header                                                     #
17###############################################################################
18
19###############################################################################
20#                  Data                                                       #
21###############################################################################
22
23EXTRA_DIST += start/start.S
24start.$(OBJEXT): start/start.S
25        $(CPPASCOMPILE) -o $@ -c $<
26project_lib_DATA = start.$(OBJEXT)
27
28project_lib_DATA += linkcmds
29dist_project_lib_DATA += ../shared/startup/linkcmds.base
30
31###############################################################################
32#                  LibBSP                                                     #
33###############################################################################
34
35noinst_LIBRARIES = libbsp.a
36
37libbsp_a_SOURCES =
38libbsp_a_CPPFLAGS = $(AM_CPPFLAGS)
39libbsp_a_LIBADD =
40
41# Startup
42libbsp_a_SOURCES += ../../shared/bspreset.c
43libbsp_a_SOURCES += startup/bspstart.c
44
45# Shared
46libbsp_a_SOURCES += ../../shared/bootcard.c
47libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
48libbsp_a_SOURCES += ../../shared/bspclean.c
49libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
50libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
51libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
52libbsp_a_SOURCES += ../../shared/sbrk.c
53libbsp_a_SOURCES += ../../shared/src/stackalloc.c
54
55# Console
56libbsp_a_SOURCES += ../../shared/console.c
57libbsp_a_SOURCES += ../../shared/console_control.c
58libbsp_a_SOURCES += ../../shared/console_read.c
59libbsp_a_SOURCES += ../../shared/console_select.c
60libbsp_a_SOURCES += ../../shared/console_write.c
61libbsp_a_SOURCES += console/console-config.c
62libbsp_a_SOURCES += console/uart.c
63
64# Timer
65libbsp_a_SOURCES += timer/timer.c
66
67# clock
68libbsp_a_SOURCES += clock/clockdrv.c ../../../shared/clockdrv_shell.h
69
70# IRQ
71libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
72libbsp_a_SOURCES += ../../shared/src/irq-generic.c
73libbsp_a_SOURCES += ../../shared/src/irq-info.c
74libbsp_a_SOURCES += irq/irq.c
75
76# Cache
77libbsp_a_SOURCES += ../../../../../../bsps/or1k/shared/cache/cache.c
78
79###############################################################################
80#                  Special Rules                                              #
81###############################################################################
82
83DISTCLEANFILES = include/bspopts.h
84
85include $(top_srcdir)/../../../../automake/local.am
86include $(srcdir)/../../../../../../bsps/or1k/generic_or1k/headers.am
Note: See TracBrowser for help on using the repository browser.