source: rtems/c/src/lib/libbsp/powerpc/haleakala/Makefile.am @ 4cf93658

5
Last change on this file since 4cf93658 was 4cf93658, checked in by Sebastian Huber <sebastian.huber@…>, on 01/27/18 at 13:37:51

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.6 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
10
11
12EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
13rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
14        $(CPPASCOMPILE) -o $@ -c $<
15project_lib_DATA = rtems_crti.$(OBJEXT)
16
17project_lib_DATA += linkcmds
18
19noinst_LIBRARIES = libbsp.a
20libbsp_a_SOURCES =
21
22# startup
23libbsp_a_SOURCES += ../../shared/bspclean.c \
24    ../../shared/bspreset_loop.c \
25    startup/bspstart.c ../../shared/bootcard.c \
26    ../../shared/getentropy-cpucounter.c \
27    ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
28    ../../shared/sbrk.c \
29    ../../shared/gnatinstallhandler.c mmu/mmu_405.c mmu/mmu_405asm.S
30
31# dlentry
32libbsp_a_SOURCES += dlentry/dlentry.S
33
34# console
35libbsp_a_SOURCES += ../../powerpc/shared/console/uart.c \
36    ../../powerpc/shared/console/console.c
37
38# irq
39libbsp_a_SOURCES += irq/irq_init.c irq/irq.c
40
41if HAS_NETWORKING
42libbsp_a_SOURCES += network/network.c
43endif
44
45libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
46
47libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
48    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
49    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
50    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
51    ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \
52    ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel
53
54include $(top_srcdir)/../../../../automake/local.am
55include $(srcdir)/../../../../../../bsps/powerpc/haleakala/headers.am
Note: See TracBrowser for help on using the repository browser.