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

Last change on this file since 4bf2ce31 was 4bf2ce31, checked in by Sebastian Huber <sebastian.huber@…>, on Sep 26, 2017 at 5:31:29 AM

bsp/imx: Add register headers

Update #3090.

  • Property mode set to 100644
File size: 4.9 KB
RevLine 
[694c31f9]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
[4bf2ce31]44include_arm_freescale_imx_HEADERS += include/arm/freescale/imx/imx_ecspireg.h
[3ad3849a]45include_arm_freescale_imx_HEADERS += include/arm/freescale/imx/imx_gpcreg.h
[4bf2ce31]46include_arm_freescale_imx_HEADERS += include/arm/freescale/imx/imx_i2creg.h
[3ad3849a]47include_arm_freescale_imx_HEADERS += include/arm/freescale/imx/imx_srcreg.h
[694c31f9]48include_arm_freescale_imx_HEADERS += include/arm/freescale/imx/imx_uartreg.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/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
92if HAS_SMP
[29919242]93libbsp_a_SOURCES += ../shared/arm-a9mpcore-smp.c
[694c31f9]94libbsp_a_SOURCES += startup/bspsmp.c
95endif
96
97# IRQ
98libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
99libbsp_a_SOURCES += ../../shared/src/irq-generic.c
100libbsp_a_SOURCES += ../../shared/src/irq-info.c
101libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
102libbsp_a_SOURCES += ../../shared/src/irq-server.c
103libbsp_a_SOURCES += ../../shared/src/irq-shell.c
104libbsp_a_SOURCES += ../shared/arm-gic-irq.c
105
106# Console
107libbsp_a_SOURCES += ../../shared/console-termios.c
108libbsp_a_SOURCES += console/console-config.c
109
110# Clock
111libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
112libbsp_a_SOURCES += ../shared/arm-generic-timer-clock-config.c
113
114# Cache
115libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
116libbsp_a_SOURCES += ../shared/include/arm-cache-l1.h
117libbsp_a_SOURCES += ../shared/armv467ar-basic-cache/cache_.h
118libbsp_a_CPPFLAGS += -I$(srcdir)/../shared/armv467ar-basic-cache
119
120# Start hooks
121libbsp_a_SOURCES += startup/bspstarthooks.c
122
123###############################################################################
124#                  Special Rules                                              #
125###############################################################################
126
127DISTCLEANFILES = include/bspopts.h
128
129include $(srcdir)/preinstall.am
130include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.