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

Last change on this file was 477bca2, checked in by Sebastian Huber <sebastian.huber@…>, on Oct 6, 2018 at 8:59:10 AM

build: Remove local.am

  • Property mode set to 100644
File size: 3.9 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 = ../../../../../../bsps/arm/stm32f4/start/bsp_specs
11
12start.$(OBJEXT): ../../../../../../bsps/arm/shared/start/start.S
13        $(CPPASCOMPILE) -o $@ -c $<
14project_lib_DATA = start.$(OBJEXT)
15
16project_lib_DATA += linkcmds
17dist_project_lib_DATA += ../../../../../../bsps/arm/stm32f4/start/linkcmds.stm32f105rc
18dist_project_lib_DATA += ../../../../../../bsps/arm/stm32f4/start/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 += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
34librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
35librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
36librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterfrequency.c
37librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterread.c
38librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
39librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
40
41# Startup
42librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
43librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/stm32f4/start/bspstart.c
44librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/stm32f4/start/bspstarthook.c
45librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/stm32f4/start/bspreset.c
46librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/stm32f4/start/io.c
47librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/stm32f4/start/rcc.c
48librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/stm32f4/start/start-config-io.c
49
50# IRQ
51librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
52librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/irq/irq-armv7m.c
53librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/irq/irq-dispatch-armv7m.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 += ../../../../../../bsps/arm/stm32f4/console/console-config.c
60librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/stm32f4/console/usart.c
61
62# I2C
63librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/stm32f4/i2c/i2c.c
64librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/stm32f4/i2c/i2c-config.c
65
66# Clock
67librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-armv7m.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 $(srcdir)/../../../../../../bsps/shared/irq-sources.am
81include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
82include $(srcdir)/../../../../../../bsps/arm/stm32f4/headers.am
Note: See TracBrowser for help on using the repository browser.