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

Last change on this file since f3ce8f41 was f3ce8f41, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:00:02 AM

bsps: Include bsp.am in all BSP Makefile.am

Update #3254.

  • Property mode set to 100644
File size: 5.1 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4include $(top_srcdir)/../../bsp.am
5
6include_bspdir = $(includedir)/bsp
7
8###############################################################################
9#                  Data                                                       #
10###############################################################################
11
12dist_project_lib_DATA = bsp_specs
13
14noinst_LIBRARIES = libbspstart.a
15
16libbspstart_a_SOURCES = ../shared/start/start.S
17
18project_lib_DATA =
19project_lib_DATA += start.$(OBJEXT)
20project_lib_DATA += startup/linkcmds
21
22EXTRA_DIST = startup/linkcmds.stm32f4
23EXTRA_DIST += startup/linkcmds.stm32f105rc
24
25###############################################################################
26#                  Header                                                     #
27###############################################################################
28
29include_HEADERS =
30include_HEADERS += include/tm27.h
31include_HEADERS += include/bsp.h
32
33nodist_include_HEADERS =
34nodist_include_HEADERS += include/bspopts.h
35
36nodist_include_bsp_HEADERS =
37nodist_include_bsp_HEADERS += ../../shared/include/bootcard.h
38
39include_bsp_HEADERS =
40include_bsp_HEADERS += ../../shared/include/utility.h
41include_bsp_HEADERS += ../../shared/include/irq-generic.h
42include_bsp_HEADERS += ../../shared/include/irq-info.h
43include_bsp_HEADERS += ../../shared/include/stackalloc.h
44include_bsp_HEADERS += ../shared/include/start.h
45include_bsp_HEADERS += ../shared/armv7m/include/armv7m-irq.h
46include_bsp_HEADERS += include/irq.h
47include_bsp_HEADERS += include/usart.h
48include_bsp_HEADERS += include/stm32f4.h
49include_bsp_HEADERS += include/stm32f10xxx_gpio.h
50include_bsp_HEADERS += include/stm32f10xxx_rcc.h
51include_bsp_HEADERS += include/stm32f10xxx_exti.h
52include_bsp_HEADERS += include/stm32f4xxxx_adc.h
53include_bsp_HEADERS += include/stm32f4xxxx_exti.h
54include_bsp_HEADERS += include/stm32f4xxxx_gpio.h
55include_bsp_HEADERS += include/stm32f4xxxx_rcc.h
56include_bsp_HEADERS += include/stm32f4xxxx_pwr.h
57include_bsp_HEADERS += include/stm32f4xxxx_syscfg.h
58include_bsp_HEADERS += include/stm32f4xxxx_tim.h
59include_bsp_HEADERS += include/stm32f4xxxx_flash.h
60include_bsp_HEADERS += include/stm32f4xxxx_otgfs.h
61include_bsp_HEADERS += include/stm32_i2c.h
62include_bsp_HEADERS += include/i2c.h
63include_bsp_HEADERS += include/stm32_usart.h
64include_bsp_HEADERS += include/io.h
65include_bsp_HEADERS += include/rcc.h
66
67###############################################################################
68#                  LibBSP                                                     #
69###############################################################################
70
71noinst_LIBRARIES += libbsp.a
72
73libbsp_a_SOURCES =
74libbsp_a_CPPFLAGS =
75libbsp_a_LIBADD =
76
77# Shared
78libbsp_a_SOURCES += ../../shared/bootcard.c
79libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
80libbsp_a_SOURCES += ../../shared/bspclean.c
81libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
82libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
83libbsp_a_SOURCES += ../../shared/cpucounterread.c
84libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
85libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
86libbsp_a_SOURCES += ../../shared/sbrk.c
87libbsp_a_SOURCES += ../../shared/src/stackalloc.c
88
89# Startup
90libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
91libbsp_a_SOURCES += startup/bspstart.c
92libbsp_a_SOURCES += startup/bspstarthook.c
93libbsp_a_SOURCES += startup/bspreset.c
94libbsp_a_SOURCES += startup/io.c
95libbsp_a_SOURCES += startup/rcc.c
96libbsp_a_SOURCES += startup/start-config-io.c
97
98# IRQ
99libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
100libbsp_a_SOURCES += ../../shared/src/irq-generic.c
101libbsp_a_SOURCES += ../../shared/src/irq-info.c
102libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
103libbsp_a_SOURCES += ../../shared/src/irq-server.c
104libbsp_a_SOURCES += ../../shared/src/irq-shell.c
105libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq.c
106libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq-dispatch.c
107
108# Console
109libbsp_a_SOURCES += ../../shared/console.c
110libbsp_a_SOURCES += ../../shared/console_control.c
111libbsp_a_SOURCES += ../../shared/console_read.c
112libbsp_a_SOURCES += ../../shared/console_select.c
113libbsp_a_SOURCES += ../../shared/console_write.c
114libbsp_a_SOURCES += console/console-config.c
115libbsp_a_SOURCES += console/usart.c
116
117# I2C
118libbsp_a_SOURCES += i2c/i2c.c
119libbsp_a_SOURCES += i2c/i2c-config.c
120
121# Clock
122libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
123libbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
124
125# Timer
126libbsp_a_SOURCES += ../../shared/timerstub.c
127
128# Cache
129libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
130libbsp_a_SOURCES += ../../../libcpu/arm/shared/cache/cache_.h
131libbsp_a_CPPFLAGS += -I$(srcdir)/../../../libcpu/arm/shared/include
132
133###############################################################################
134#                  Special Rules                                              #
135###############################################################################
136
137DISTCLEANFILES = include/bspopts.h
138
139include $(srcdir)/preinstall.am
140include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.