source: rtems/c/src/lib/libbsp/powerpc/qoriq/Makefile.am @ 0db7c55

5
Last change on this file since 0db7c55 was 0db7c55, checked in by Sebastian Huber <sebastian.huber@…>, on 07/27/17 at 13:36:11

bsp/qoriq: New BSP names

Due to the FDT support we can now reduce the BSP variants. Use the
processor core to define the BSP variants.

Update #3082.
Update #3085.

  • Property mode set to 100644
File size: 3.2 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4
5include_bspdir = $(includedir)/bsp
6
7dist_project_lib_DATA = bsp_specs
8
9include_HEADERS = include/bsp.h
10include_HEADERS += include/tm27.h
11
12nodist_include_HEADERS = include/bspopts.h
13DISTCLEANFILES = include/bspopts.h
14
15EXTRA_DIST = README
16
17noinst_PROGRAMS =
18
19include_HEADERS += ../../shared/include/coverhd.h
20
21include_bsp_HEADERS = include/irq.h \
22        ../../shared/include/irq-generic.h \
23        ../../shared/include/irq-info.h \
24        ../../shared/include/bootcard.h \
25        ../../shared/include/utility.h \
26        ../shared/include/start.h \
27        ../shared/include/tictac.h \
28        ../shared/include/linker-symbols.h \
29        include/tsec-config.h \
30        include/mmu.h \
31        include/intercom.h \
32        include/uart-bridge.h \
33        include/qoriq.h
34
35noinst_LIBRARIES = libbspstart.a
36libbspstart_a_SOURCES = start/start.S
37project_lib_DATA = start.$(OBJEXT)
38
39libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S
40project_lib_DATA += rtems_crti.$(OBJEXT)
41
42dist_project_lib_DATA += startup/linkcmds \
43        ../shared/startup/linkcmds.base \
44        startup/linkcmds.qoriq_core_0 \
45        startup/linkcmds.qoriq_core_1 \
46        startup/linkcmds.qoriq_e500 \
47        startup/linkcmds.qoriq_e6500_32
48
49noinst_LIBRARIES += libbsp.a
50libbsp_a_SOURCES =
51
52# Startup
53libbsp_a_SOURCES += \
54        ../../shared/bootcard.c \
55        ../../shared/sbrk.c \
56        ../../shared/gnatinstallhandler.c \
57        ../../shared/bspclean.c \
58        ../../shared/src/bsp-fdt.c \
59        ../shared/src/ppc-exc-handler-table.c \
60        ../shared/src/tictac.c \
61        ../shared/src/bsp-start-zero.S \
62        ../shared/startup/bspidle.c \
63        startup/l1cache.S \
64        startup/l2cache.S \
65        startup/mmu.c \
66        startup/mmu-tlb1.S \
67        startup/mmu-config.c \
68        startup/portal.c \
69        startup/restart.S \
70        startup/bsppredriverhook.c \
71        startup/bspstart.c \
72        startup/bspreset.c \
73        startup/bsprestart.c
74
75# Clock
76libbsp_a_SOURCES += clock/clock-config.c \
77        ../../shared/clockdrv_shell.h
78
79# Timer
80libbsp_a_SOURCES += timer/timer.c
81
82# IRQ
83libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
84libbsp_a_SOURCES += ../../shared/src/irq-generic.c
85libbsp_a_SOURCES += ../../shared/src/irq-info.c
86libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
87libbsp_a_SOURCES += ../../shared/src/irq-server.c
88libbsp_a_SOURCES += ../../shared/src/irq-shell.c
89libbsp_a_SOURCES += irq/irq.c
90
91# Console
92libbsp_a_SOURCES += ../../shared/console-termios-init.c
93libbsp_a_SOURCES += ../../shared/console-termios.c
94libbsp_a_SOURCES += console/uart-bridge-master.c
95libbsp_a_SOURCES += console/uart-bridge-slave.c
96libbsp_a_SOURCES += console/console-config.c
97
98# RTC
99libbsp_a_SOURCES += ../../shared/tod.c \
100        rtc/rtc-config.c
101
102# MPCI
103libbsp_a_SOURCES += shmsupp/lock.S \
104        shmsupp/intercom.c \
105        shmsupp/intercom-mpci.c
106
107libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
108        ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
109        ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
110        ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
111        ../../../libcpu/@RTEMS_CPU@/e500/mmu.rel
112
113if HAS_NETWORKING
114libbsp_a_SOURCES += network/network.c \
115        network/if_intercom.c
116libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/tsec.rel
117endif
118
119if HAS_SMP
120libbsp_a_SOURCES += startup/bspsmp.c
121endif
122
123include $(srcdir)/preinstall.am
124include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.