source: rtems/c/src/lib/libbsp/powerpc/gen83xx/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.8 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
11noinst_PROGRAMS =
12
13
14EXTRA_DIST += start/start.S
15start.$(OBJEXT): start/start.S
16        $(CPPASCOMPILE) -o $@ -c $<
17project_lib_DATA = start.$(OBJEXT)
18
19EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
20rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
21        $(CPPASCOMPILE) -o $@ -c $<
22project_lib_DATA += rtems_crti.$(OBJEXT)
23
24project_lib_DATA += linkcmds
25dist_project_lib_DATA += ../shared/startup/linkcmds.base
26dist_project_lib_DATA += startup/linkcmds.br_uid
27dist_project_lib_DATA += startup/linkcmds.hsc_cm01
28dist_project_lib_DATA += startup/linkcmds.mpc8309som
29dist_project_lib_DATA += startup/linkcmds.mpc8313erdb
30dist_project_lib_DATA += startup/linkcmds.mpc8349eamds
31dist_project_lib_DATA += startup/linkcmds.mpc83xx
32
33noinst_LIBRARIES = libbsp.a
34libbsp_a_SOURCES =
35
36# startup
37libbsp_a_SOURCES += \
38        ../../shared/bootcard.c \
39        ../../shared/getentropy-cpucounter.c \
40        ../../shared/bsppredriverhook.c \
41        ../../shared/sbrk.c \
42        ../../shared/gnatinstallhandler.c \
43        ../shared/src/tictac.c \
44        startup/cpuinit.c \
45        ../shared/startup/bspidle.c \
46        startup/bspstart.c \
47        ../../shared/bspclean.c \
48        startup/bspreset.c \
49        startup/bsprestart.c \
50        ../../shared/bspgetworkarea.c \
51        ../../shared/src/bsp-uboot-board-info.c \
52        ../shared/uboot_getenv.c
53
54# clock
55libbsp_a_SOURCES += ../shared/clock/clock.c
56
57# irq
58libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
59libbsp_a_SOURCES += ../../shared/src/irq-generic.c
60libbsp_a_SOURCES += ../../shared/src/irq-info.c
61libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
62libbsp_a_SOURCES += ../../shared/src/irq-server.c
63libbsp_a_SOURCES += ../../shared/src/irq-shell.c
64libbsp_a_SOURCES += irq/irq.c
65
66# console
67libbsp_a_SOURCES += ../../shared/console-termios-init.c
68libbsp_a_SOURCES += ../../shared/console-termios.c
69libbsp_a_SOURCES += console/console-config.c
70
71# bsp_i2c
72libbsp_a_SOURCES += i2c/i2c_init.c
73# bsp_spi
74libbsp_a_SOURCES += spi/spi_init.c
75
76libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
77
78libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
79        ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
80        ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
81        ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel   \
82        ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel \
83        ../../../libcpu/@RTEMS_CPU@/mpc83xx/i2c.rel  \
84        ../../../libcpu/@RTEMS_CPU@/mpc83xx/spi.rel \
85        ../../../libcpu/@RTEMS_CPU@/mpc83xx/gtm.rel
86
87if HAS_NETWORKING
88libbsp_a_SOURCES += network/network.c
89libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/mpc83xx/tsec.rel
90endif
91
92EXTRA_DIST += README.mpc8349eamds
93
94include $(top_srcdir)/../../../../automake/local.am
95include $(srcdir)/../../../../../../bsps/powerpc/gen83xx/headers.am
Note: See TracBrowser for help on using the repository browser.