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

5
Last change on this file since 0a09ac58 was 0a09ac58, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 13, 2018 at 7:14:56 AM

bsps: Move stackalloc.c to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 3.1 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
27project_lib_LIBRARIES = librtemsbsp.a
28
29librtemsbsp_a_SOURCES =
30
31# Shared
32librtemsbsp_a_SOURCES += ../../shared/bspclean.c
33librtemsbsp_a_SOURCES += ../../shared/bspgetworkarea.c
34librtemsbsp_a_SOURCES += ../../shared/bsppredriverhook.c
35librtemsbsp_a_SOURCES += ../../shared/cpucounterdiff.c
36librtemsbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
37librtemsbsp_a_SOURCES += ../../shared/sbrk.c
38librtemsbsp_a_SOURCES += ../../shared/timerstub.c
39librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bsp-fdt.c
40librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
41librtemsbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
42librtemsbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
43librtemsbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
44
45# Startup
46librtemsbsp_a_SOURCES += startup/bspreset.c
47librtemsbsp_a_SOURCES += startup/bspstart.c
48librtemsbsp_a_SOURCES += startup/ccm.c
49librtemsbsp_a_SOURCES += startup/imx_iomux.c
50if HAS_SMP
51librtemsbsp_a_SOURCES += ../shared/arm-a9mpcore-smp.c
52librtemsbsp_a_SOURCES += startup/bspsmp.c
53endif
54
55# IRQ
56librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
57librtemsbsp_a_SOURCES += ../shared/arm-gic-irq.c
58
59# Console
60librtemsbsp_a_SOURCES += ../../shared/console-termios.c
61librtemsbsp_a_SOURCES += console/console-config.c
62
63# Clock
64librtemsbsp_a_SOURCES += ../shared/arm-generic-timer-clock-config.c
65
66# Cache
67librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
68
69# I2C
70librtemsbsp_a_SOURCES += i2c/imx-i2c.c
71
72# SPI
73librtemsbsp_a_SOURCES += spi/imx-ecspi.c
74
75# Start hooks
76librtemsbsp_a_SOURCES += startup/bspstarthooks.c
77
78###############################################################################
79#                  Special Rules                                              #
80###############################################################################
81
82
83include $(top_srcdir)/../../../../automake/local.am
84include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
85include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
86include $(srcdir)/../../../../../../bsps/arm/imx/headers.am
Note: See TracBrowser for help on using the repository browser.