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

Last change on this file since f3ce8f41 was f3ce8f41, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:00:02 AM

bsps: Include bsp.am in all BSP Makefile.am

Update #3254.

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