source: rtems/c/src/lib/libbsp/powerpc/t32mppc/Makefile.am @ ff3b9aa

Last change on this file since ff3b9aa was 7dbc43d, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 13, 2018 at 5:18:38 AM

bsps/powerpc: Move basic support to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 2.1 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
11EXTRA_DIST += README
12
13noinst_PROGRAMS =
14
15
16EXTRA_DIST += start/start.S
17start.$(OBJEXT): start/start.S
18        $(CPPASCOMPILE) -o $@ -c $<
19project_lib_DATA = start.$(OBJEXT)
20
21EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
22rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
23        $(CPPASCOMPILE) -o $@ -c $<
24project_lib_DATA += rtems_crti.$(OBJEXT)
25
26project_lib_DATA += linkcmds
27dist_project_lib_DATA += ../shared/startup/linkcmds.base
28dist_project_lib_DATA += startup/linkcmds.t32mppc
29
30noinst_LIBRARIES = libbsp.a
31libbsp_a_SOURCES =
32
33# Startup
34libbsp_a_SOURCES += \
35        ../../shared/bootcard.c \
36        ../../shared/getentropy-cpucounter.c \
37        ../../shared/bsppredriverhook.c \
38        ../../shared/sbrk.c \
39        ../../shared/gnatinstallhandler.c \
40        ../../shared/bspclean.c \
41        ../../shared/bspgetworkarea.c \
42        ../shared/src/ppc-exc-handler-table.c \
43        ../shared/src/tictac.c \
44        ../shared/src/bsp-start-zero.S \
45        startup/bspstart.c \
46        startup/bspreset.c
47
48# Clock
49libbsp_a_SOURCES += clock/clock-config.c
50
51# Timer
52libbsp_a_SOURCES += ../../shared/timerstub.c
53
54# IRQ
55libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
56libbsp_a_SOURCES += ../../shared/src/irq-generic.c
57libbsp_a_SOURCES += ../../shared/src/irq-info.c
58libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
59libbsp_a_SOURCES += ../../shared/src/irq-server.c
60libbsp_a_SOURCES += ../../shared/src/irq-shell.c
61libbsp_a_SOURCES += irq/irq.c
62
63# Console
64libbsp_a_SOURCES += ../../shared/console-termios.c
65libbsp_a_SOURCES += console/console.c
66
67libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
68
69libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel
70
71if HAS_SMP
72libbsp_a_SOURCES += ../../shared/bspsmp.c
73endif
74
75include $(top_srcdir)/../../../../automake/local.am
76include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
77include $(srcdir)/../../../../../../bsps/powerpc/t32mppc/headers.am
Note: See TracBrowser for help on using the repository browser.