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

4.11
Last change on this file since bdd6082 was bdd6082, checked in by Sebastian Huber <sebastian.huber@…>, on Sep 18, 2014 at 9:07:41 AM

bsps: Fix build error

Fix build error introduced in f535fe5311978af53635c2da8e5cb10ef9d78802.

  • Property mode set to 100644
File size: 4.8 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/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_gpio.h
53include_bsp_HEADERS += include/stm32f4xxxx_rcc.h
54include_bsp_HEADERS += include/stm32_i2c.h
55include_bsp_HEADERS += include/i2c.h
56include_bsp_HEADERS += include/stm32_usart.h
57include_bsp_HEADERS += include/io.h
58include_bsp_HEADERS += include/rcc.h
59
60###############################################################################
61#                  LibBSP                                                     #
62###############################################################################
63
64noinst_LIBRARIES += libbsp.a
65
66libbsp_a_SOURCES =
67libbsp_a_CPPFLAGS =
68libbsp_a_LIBADD =
69
70# Shared
71libbsp_a_SOURCES += ../../shared/bootcard.c
72libbsp_a_SOURCES += ../../shared/bspclean.c
73libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
74libbsp_a_SOURCES += ../../shared/bsplibc.c
75libbsp_a_SOURCES += ../../shared/bsppost.c
76libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
77libbsp_a_SOURCES += ../../shared/bsppretaskinghook.c
78libbsp_a_SOURCES += ../../shared/cpucounterread.c
79libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
80libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
81libbsp_a_SOURCES += ../../shared/sbrk.c
82libbsp_a_SOURCES += ../../shared/src/stackalloc.c
83
84# Startup
85libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
86libbsp_a_SOURCES += startup/bspstart.c
87libbsp_a_SOURCES += startup/bspstarthook.c
88libbsp_a_SOURCES += startup/bspreset.c
89libbsp_a_SOURCES += startup/io.c
90libbsp_a_SOURCES += startup/rcc.c
91libbsp_a_SOURCES += startup/start-config-io.c
92
93# IRQ
94libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
95libbsp_a_SOURCES += ../../shared/src/irq-generic.c
96libbsp_a_SOURCES += ../../shared/src/irq-info.c
97libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
98libbsp_a_SOURCES += ../../shared/src/irq-server.c
99libbsp_a_SOURCES += ../../shared/src/irq-shell.c
100libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq.c
101libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq-dispatch.c
102
103# Console
104libbsp_a_SOURCES += ../../shared/console.c
105libbsp_a_SOURCES += ../../shared/console_control.c
106libbsp_a_SOURCES += ../../shared/console_read.c
107libbsp_a_SOURCES += ../../shared/console_select.c
108libbsp_a_SOURCES += ../../shared/console_write.c
109libbsp_a_SOURCES += console/console-config.c
110libbsp_a_SOURCES += console/usart.c
111
112# I2C
113libbsp_a_SOURCES += i2c/i2c.c
114libbsp_a_SOURCES += i2c/i2c-config.c
115
116# Clock
117libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
118libbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
119
120# Timer
121libbsp_a_SOURCES += ../../shared/timerstub.c
122
123# Cache
124libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
125libbsp_a_SOURCES += ../../../libcpu/arm/shared/cache/cache_.h
126libbsp_a_CPPFLAGS += -I$(srcdir)/../../../libcpu/arm/shared/include
127
128###############################################################################
129#                  Special Rules                                              #
130###############################################################################
131
132DISTCLEANFILES = include/bspopts.h
133
134include $(srcdir)/preinstall.am
135include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.