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

Last change on this file since 2d0bc83 was 2d0bc83, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 30, 2018 at 6:42:21 PM

build: Remove EXTRA_DIST

A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.

  • Property mode set to 100644
File size: 3.2 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4include $(top_srcdir)/../../bsp.am
5
6dist_project_lib_DATA = startup/bsp_specs
7
8###############################################################################
9#                  Header                                                     #
10###############################################################################
11
12###############################################################################
13#                  Data                                                       #
14###############################################################################
15
16start.$(OBJEXT): ../shared/start/start.S
17        $(CPPASCOMPILE) -o $@ -c $<
18project_lib_DATA = start.$(OBJEXT)
19
20project_lib_DATA += linkcmds
21dist_project_lib_DATA += startup/linkcmds.imx7
22
23###############################################################################
24#                  LibBSP                                                     #
25###############################################################################
26
27noinst_LIBRARIES = libbsp.a
28
29libbsp_a_SOURCES =
30
31# Shared
32libbsp_a_SOURCES += ../../shared/bootcard.c
33libbsp_a_SOURCES += ../../shared/bspclean.c
34libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
35libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
36libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
37libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
38libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
39libbsp_a_SOURCES += ../../shared/sbrk.c
40libbsp_a_SOURCES += ../../shared/timerstub.c
41libbsp_a_SOURCES += ../../shared/src/bsp-fdt.c
42libbsp_a_SOURCES += ../../shared/src/stackalloc.c
43libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
44libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
45libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
46
47# Startup
48libbsp_a_SOURCES += startup/bspreset.c
49libbsp_a_SOURCES += startup/bspstart.c
50libbsp_a_SOURCES += startup/ccm.c
51libbsp_a_SOURCES += startup/imx_iomux.c
52if HAS_SMP
53libbsp_a_SOURCES += ../shared/arm-a9mpcore-smp.c
54libbsp_a_SOURCES += startup/bspsmp.c
55endif
56
57# IRQ
58libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
59libbsp_a_SOURCES += ../../shared/src/irq-generic.c
60libbsp_a_SOURCES += ../../shared/src/irq-info.c
61libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
62libbsp_a_SOURCES += ../../shared/src/irq-server.c
63libbsp_a_SOURCES += ../../shared/src/irq-shell.c
64libbsp_a_SOURCES += ../shared/arm-gic-irq.c
65
66# Console
67libbsp_a_SOURCES += ../../shared/console-termios.c
68libbsp_a_SOURCES += console/console-config.c
69
70# Clock
71libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
72libbsp_a_SOURCES += ../shared/arm-generic-timer-clock-config.c
73
74# Cache
75libbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
76
77# I2C
78libbsp_a_SOURCES += i2c/imx-i2c.c
79
80# SPI
81libbsp_a_SOURCES += spi/imx-ecspi.c
82
83# Start hooks
84libbsp_a_SOURCES += startup/bspstarthooks.c
85
86###############################################################################
87#                  Special Rules                                              #
88###############################################################################
89
90DISTCLEANFILES = include/bspopts.h
91
92include $(top_srcdir)/../../../../automake/local.am
93include $(srcdir)/../../../../../../bsps/arm/imx/headers.am
Note: See TracBrowser for help on using the repository browser.