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

4.115
Last change on this file since 1485a58 was 1485a58, checked in by Christian Mauderer <Christian.Mauderer@…>, on Sep 18, 2013 at 1:44:42 PM

bsp/stm32f4: Add STM32F10XXX support.

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