source: rtems/c/src/lib/libbsp/arm/imx/Makefile.am @ ea4488ae

Last change on this file since ea4488ae was 29919242, checked in by Sebastian Huber <sebastian.huber@…>, on Sep 22, 2017 at 11:48:40 AM

bsp/imx: Add SMP support

Update #3090.

  • Property mode set to 100644
File size: 4.8 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4
5include_bspdir = $(includedir)/bsp
6include_libcpudir = $(includedir)/libcpu
7include_arm_freescale_imxdir = $(includedir)/arm/freescale/imx
8
9dist_project_lib_DATA = bsp_specs
10
11###############################################################################
12#                  Header                                                     #
13###############################################################################
14
15include_HEADERS = include/bsp.h
16include_HEADERS += include/tm27.h
17
18nodist_include_HEADERS = ../../shared/include/coverhd.h \
19        include/bspopts.h
20
21nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
22
23include_bsp_HEADERS =
24include_bsp_HEADERS += ../../shared/include/utility.h
25include_bsp_HEADERS += ../../shared/include/irq-generic.h
26include_bsp_HEADERS += ../../shared/include/irq-info.h
27include_bsp_HEADERS += ../../shared/include/stackalloc.h
28include_bsp_HEADERS += ../shared/include/start.h
29include_bsp_HEADERS += ../shared/include/arm-a9mpcore-regs.h
30include_bsp_HEADERS += ../shared/include/arm-a9mpcore-start.h
31include_bsp_HEADERS += ../shared/include/arm-cp15-start.h
32include_bsp_HEADERS += ../shared/include/arm-errata.h
33include_bsp_HEADERS += ../shared/include/arm-gic.h
34include_bsp_HEADERS += ../shared/include/arm-gic-irq.h
35include_bsp_HEADERS += ../shared/include/arm-gic-regs.h
36include_bsp_HEADERS += ../shared/include/arm-gic-tm27.h
37include_bsp_HEADERS += ../shared/include/arm-release-id.h
38include_bsp_HEADERS += include/irq.h
39
40include_libcpu_HEADERS = ../../../libcpu/arm/shared/include/arm-cp15.h
41
42include_arm_freescale_imx_HEADERS =
43include_arm_freescale_imx_HEADERS += include/arm/freescale/imx/imx_ccmvar.h
44include_arm_freescale_imx_HEADERS += include/arm/freescale/imx/imx_gpcreg.h
45include_arm_freescale_imx_HEADERS += include/arm/freescale/imx/imx_srcreg.h
46include_arm_freescale_imx_HEADERS += include/arm/freescale/imx/imx_uartreg.h
47
48###############################################################################
49#                  Data                                                       #
50###############################################################################
51
52noinst_LIBRARIES = libbspstart.a
53
54libbspstart_a_SOURCES = ../shared/start/start.S
55
56project_lib_DATA = start.$(OBJEXT)
57
58project_lib_DATA += startup/linkcmds
59project_lib_DATA += startup/linkcmds.imx7
60
61###############################################################################
62#                  LibBSP                                                     #
63###############################################################################
64
65noinst_LIBRARIES += libbsp.a
66
67libbsp_a_SOURCES =
68libbsp_a_CPPFLAGS =
69libbsp_a_LIBADD =
70
71# Shared
72libbsp_a_SOURCES += ../../shared/bootcard.c
73libbsp_a_SOURCES += ../../shared/bspclean.c
74libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
75libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
76libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
77libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
78libbsp_a_SOURCES += ../../shared/sbrk.c
79libbsp_a_SOURCES += ../../shared/timerstub.c
80libbsp_a_SOURCES += ../../shared/src/bsp-fdt.c
81libbsp_a_SOURCES += ../../shared/src/stackalloc.c
82libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
83libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
84libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
85
86# Startup
87libbsp_a_SOURCES += startup/bspreset.c
88libbsp_a_SOURCES += startup/bspstart.c
89libbsp_a_SOURCES += startup/ccm.c
90if HAS_SMP
91libbsp_a_SOURCES += ../shared/arm-a9mpcore-smp.c
92libbsp_a_SOURCES += startup/bspsmp.c
93endif
94
95# IRQ
96libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
97libbsp_a_SOURCES += ../../shared/src/irq-generic.c
98libbsp_a_SOURCES += ../../shared/src/irq-info.c
99libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
100libbsp_a_SOURCES += ../../shared/src/irq-server.c
101libbsp_a_SOURCES += ../../shared/src/irq-shell.c
102libbsp_a_SOURCES += ../shared/arm-gic-irq.c
103
104# Console
105libbsp_a_SOURCES += ../../shared/console-termios.c
106libbsp_a_SOURCES += console/console-config.c
107
108# Clock
109libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
110libbsp_a_SOURCES += ../shared/arm-generic-timer-clock-config.c
111
112# Cache
113libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
114libbsp_a_SOURCES += ../shared/include/arm-cache-l1.h
115libbsp_a_SOURCES += ../shared/armv467ar-basic-cache/cache_.h
116libbsp_a_CPPFLAGS += -I$(srcdir)/../shared/armv467ar-basic-cache
117
118# Start hooks
119libbsp_a_SOURCES += startup/bspstarthooks.c
120
121###############################################################################
122#                  Special Rules                                              #
123###############################################################################
124
125DISTCLEANFILES = include/bspopts.h
126
127include $(srcdir)/preinstall.am
128include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.