source: rtems/c/src/lib/libbsp/arm/stm32f4/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.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 += ../../shared/bspclean.c
35librtemsbsp_a_SOURCES += ../../shared/bspgetworkarea.c
36librtemsbsp_a_SOURCES += ../../shared/bsppredriverhook.c
37librtemsbsp_a_SOURCES += ../../shared/cpucounterread.c
38librtemsbsp_a_SOURCES += ../../shared/cpucounterdiff.c
39librtemsbsp_a_SOURCES += ../../shared/sbrk.c
40librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
41
42# Startup
43librtemsbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
44librtemsbsp_a_SOURCES += startup/bspstart.c
45librtemsbsp_a_SOURCES += startup/bspstarthook.c
46librtemsbsp_a_SOURCES += startup/bspreset.c
47librtemsbsp_a_SOURCES += startup/io.c
48librtemsbsp_a_SOURCES += startup/rcc.c
49librtemsbsp_a_SOURCES += startup/start-config-io.c
50
51# IRQ
52librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
53librtemsbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq.c
54librtemsbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq-dispatch.c
55
56# Console
57librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
58librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
59librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
60librtemsbsp_a_SOURCES += console/console-config.c
61librtemsbsp_a_SOURCES += console/usart.c
62
63# I2C
64librtemsbsp_a_SOURCES += i2c/i2c.c
65librtemsbsp_a_SOURCES += i2c/i2c-config.c
66
67# Clock
68librtemsbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
69
70# Timer
71librtemsbsp_a_SOURCES += ../../shared/timerstub.c
72
73# Cache
74librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
75
76###############################################################################
77#                  Special Rules                                              #
78###############################################################################
79
80
81include $(top_srcdir)/../../../../automake/local.am
82include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
83include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
84include $(srcdir)/../../../../../../bsps/arm/stm32f4/headers.am
Note: See TracBrowser for help on using the repository browser.