source: rtems/c/src/lib/libbsp/arm/stm32f4/Makefile.am @ d6fb37a

5
Last change on this file since d6fb37a was d6fb37a, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 19, 2018 at 4:17:52 AM

bsps: Move shared btimer support to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

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