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

5
Last change on this file since 276afd2b was 276afd2b, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 23, 2018 at 7:48:52 AM

bsps: Move SPI drivers to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

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