source: rtems/c/src/lib/libbsp/powerpc/qoriq/Makefile.am @ 11fe8c59

Last change on this file since 11fe8c59 was 11fe8c59, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 26, 2018 at 4:18:51 AM

bsps/powerpc: Move MMU support to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 3.2 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
26EXTRA_DIST += ../../powerpc/shared/start/rtems_crtn.S
27rtems_crtn.$(OBJEXT): ../../powerpc/shared/start/rtems_crtn.S
28        $(CPPASCOMPILE) -o $@ -c $<
29project_lib_DATA += rtems_crtn.$(OBJEXT)
30
31project_lib_DATA += linkcmds
32dist_project_lib_DATA += ../shared/startup/linkcmds.base
33dist_project_lib_DATA += startup/linkcmds.qoriq_core_0
34dist_project_lib_DATA += startup/linkcmds.qoriq_core_1
35dist_project_lib_DATA += startup/linkcmds.qoriq_e500
36dist_project_lib_DATA += startup/linkcmds.qoriq_e6500_32
37dist_project_lib_DATA += startup/linkcmds.qoriq_e6500_64
38
39noinst_LIBRARIES = libbsp.a
40libbsp_a_SOURCES =
41
42# Startup
43libbsp_a_SOURCES += \
44        ../../shared/bootcard.c \
45        ../../shared/getentropy-cpucounter.c \
46        ../../shared/sbrk.c \
47        ../../shared/gnatinstallhandler.c \
48        ../../shared/bspclean.c \
49        ../../shared/src/bsp-fdt.c \
50        ../shared/src/ppc-exc-handler-table.c \
51        ../shared/src/tictac.c \
52        ../shared/src/bsp-start-zero.S \
53        ../shared/startup/bspidle.c \
54        startup/epapr_hcalls.S \
55        startup/l1cache.S \
56        startup/l2cache.S \
57        startup/mmu.c \
58        startup/mmu-tlb1.S \
59        startup/mmu-config.c \
60        startup/portal.c \
61        startup/restart.S \
62        startup/bsppredriverhook.c \
63        startup/bspstart.c \
64        startup/bspreset.c \
65        startup/bsprestart.c
66
67# Clock
68libbsp_a_SOURCES += clock/clock-config.c \
69        ../../shared/clockdrv_shell.h
70
71# Timer
72libbsp_a_SOURCES += timer/timer.c
73
74# IRQ
75libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
76libbsp_a_SOURCES += ../../shared/src/irq-generic.c
77libbsp_a_SOURCES += ../../shared/src/irq-info.c
78libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
79libbsp_a_SOURCES += ../../shared/src/irq-server.c
80libbsp_a_SOURCES += ../../shared/src/irq-shell.c
81libbsp_a_SOURCES += irq/irq.c
82
83# Console
84libbsp_a_SOURCES += ../../shared/console-termios-init.c
85libbsp_a_SOURCES += ../../shared/console-termios.c
86libbsp_a_SOURCES += console/uart-bridge-master.c
87libbsp_a_SOURCES += console/uart-bridge-slave.c
88libbsp_a_SOURCES += console/console-config.c
89
90# RTC
91libbsp_a_SOURCES += ../../shared/tod.c \
92        rtc/rtc-config.c
93
94# MPCI
95libbsp_a_SOURCES += shmsupp/lock.S \
96        shmsupp/intercom.c \
97        shmsupp/intercom-mpci.c
98
99libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
100libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/e500-mmu.c
101
102if HAS_NETWORKING
103libbsp_a_SOURCES += network/network.c \
104        network/if_intercom.c
105libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/net/tsec.c
106endif
107
108if HAS_SMP
109libbsp_a_SOURCES += startup/bspsmp.c
110endif
111
112include $(top_srcdir)/../../../../automake/local.am
113include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
114include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
115include $(srcdir)/../../../../../../bsps/powerpc/qoriq/headers.am
Note: See TracBrowser for help on using the repository browser.