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

Last change on this file since 2717032d was 2717032d, checked in by Sebastian Huber <sebastian.huber@…>, on Dec 14, 2017 at 6:15:19 AM

bsps/arm: Fix move <libcpu/arm-cp15.h> to cpukit

Update #3254.

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