source: rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am @ 19260fb

4.115
Last change on this file since 19260fb was deccde3, checked in by Ralf Kirchner <ralf.kirchner@…>, on 02/26/14 at 08:17:23

bsp/lpc32xx: Add arm-errata.h and arm-release-id.h

  • Property mode set to 100644
File size: 6.1 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the LPC32XX boards.
6#
7
8ACLOCAL_AMFLAGS = -I ../../../../aclocal
9
10include $(top_srcdir)/../../../../automake/compile.am
11
12include_bspdir = $(includedir)/bsp
13include_libcpudir = $(includedir)/libcpu
14
15dist_project_lib_DATA = bsp_specs
16
17###############################################################################
18#                  Header                                                     #
19###############################################################################
20
21include_HEADERS = include/bsp.h
22include_HEADERS += include/tm27.h
23
24nodist_include_HEADERS = ../../shared/include/coverhd.h \
25        include/bspopts.h
26
27nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
28
29include_bsp_HEADERS =
30include_bsp_HEADERS += ../../shared/include/utility.h
31include_bsp_HEADERS += ../../shared/include/irq-generic.h
32include_bsp_HEADERS += ../../shared/include/irq-info.h
33include_bsp_HEADERS += ../../shared/include/stackalloc.h
34include_bsp_HEADERS += ../../shared/include/uart-output-char.h
35include_bsp_HEADERS += ../../shared/tod.h
36include_bsp_HEADERS += ../shared/include/start.h
37include_bsp_HEADERS += ../shared/include/arm-cp15-start.h
38include_bsp_HEADERS += ../shared/include/arm-errata.h
39include_bsp_HEADERS += ../shared/lpc/include/lpc-timer.h
40include_bsp_HEADERS += ../shared/lpc/include/lpc-dma.h
41include_bsp_HEADERS += ../shared/lpc/include/lpc-i2s.h
42include_bsp_HEADERS += ../shared/lpc/include/lpc-emc.h
43include_bsp_HEADERS += ../shared/lpc/include/lpc-lcd.h
44include_bsp_HEADERS += ../shared/include/arm-release-id.h
45include_bsp_HEADERS += include/irq.h
46include_bsp_HEADERS += include/mmu.h
47include_bsp_HEADERS += include/lpc32xx.h
48include_bsp_HEADERS += include/lpc-clock-config.h
49include_bsp_HEADERS += include/lpc-ethernet-config.h
50include_bsp_HEADERS += include/nand-mlc.h
51include_bsp_HEADERS += include/boot.h
52include_bsp_HEADERS += include/i2c.h
53include_bsp_HEADERS += include/emc.h
54
55include_libcpu_HEADERS = ../../../libcpu/arm/shared/include/arm-cp15.h
56
57###############################################################################
58#                  Data                                                       #
59###############################################################################
60
61noinst_LIBRARIES = libbspstart.a
62
63libbspstart_a_SOURCES = ../shared/start/start.S
64
65project_lib_DATA = start.$(OBJEXT)
66
67project_lib_DATA += startup/linkcmds
68project_lib_DATA += startup/linkcmds.lpc32xx
69
70EXTRA_DIST = startup/linkcmds.lpc32xx_phycore \
71        startup/linkcmds.lpc32xx_mzx_stage_1 \
72        startup/linkcmds.lpc32xx_mzx_stage_2 \
73        startup/linkcmds.lpc32xx_mzx
74
75###############################################################################
76#                  LibBSP                                                     #
77###############################################################################
78
79noinst_LIBRARIES += libbsp.a
80
81libbsp_a_SOURCES =
82libbsp_a_CPPFLAGS =
83libbsp_a_LIBADD =
84
85# Shared
86libbsp_a_SOURCES += ../../shared/bootcard.c
87libbsp_a_SOURCES += ../../shared/bspclean.c
88libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
89libbsp_a_SOURCES += ../../shared/bsplibc.c
90libbsp_a_SOURCES += ../../shared/bsppost.c
91libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
92libbsp_a_SOURCES += ../../shared/bsppretaskinghook.c
93libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
94libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
95libbsp_a_SOURCES += ../../shared/sbrk.c
96libbsp_a_SOURCES += ../../shared/src/stackalloc.c
97libbsp_a_SOURCES += ../../shared/src/uart-output-char.c
98libbsp_a_SOURCES += ../shared/abort/simple_abort.c
99libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
100libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
101
102# Startup
103libbsp_a_SOURCES += startup/bspreset.c
104libbsp_a_SOURCES += startup/bspstart.c
105
106# IRQ
107libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
108libbsp_a_SOURCES += ../../shared/src/irq-generic.c
109libbsp_a_SOURCES += ../../shared/src/irq-info.c
110libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
111libbsp_a_SOURCES += ../../shared/src/irq-server.c
112libbsp_a_SOURCES += ../../shared/src/irq-shell.c
113libbsp_a_SOURCES += irq/irq.c
114
115# Console
116libbsp_a_SOURCES += ../../shared/console.c \
117        ../../shared/console_select.c \
118        console/console-config.c \
119        console/hsu.c \
120        ../../shared/console_read.c \
121        ../../shared/console_write.c \
122        ../../shared/console_control.c
123
124# Clock
125libbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
126libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
127
128# RTC
129libbsp_a_SOURCES += ../../shared/tod.c \
130        rtc/rtc-config.c
131
132# Misc
133libbsp_a_SOURCES += misc/boot.c
134libbsp_a_SOURCES += misc/emc.c
135libbsp_a_SOURCES += misc/i2c.c
136libbsp_a_SOURCES += misc/nand-mlc.c
137libbsp_a_SOURCES += misc/nand-mlc-erase-block-safe.c
138libbsp_a_SOURCES += misc/nand-mlc-read-blocks.c
139libbsp_a_SOURCES += misc/nand-mlc-write-blocks.c
140libbsp_a_SOURCES += misc/restart.c
141libbsp_a_SOURCES += misc/system-clocks.c
142libbsp_a_SOURCES += misc/timer.c
143libbsp_a_SOURCES += misc/nand-select.c
144libbsp_a_SOURCES += misc/idle-thread.c
145
146# SSP
147
148# I2C
149
150# Cache
151libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
152libbsp_a_SOURCES += ../../../libcpu/arm/shared/include/cache_.h
153libbsp_a_CPPFLAGS += -I$(srcdir)/../../../libcpu/arm/shared/include
154
155# Start hooks
156libbsp_a_SOURCES += startup/bspstarthooks.c
157
158###############################################################################
159#                  Network                                                    #
160###############################################################################
161
162if HAS_NETWORKING
163
164noinst_PROGRAMS = network.rel
165
166network_rel_SOURCES = ../shared/lpc/network/lpc-ethernet.c
167network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
168network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
169
170libbsp_a_LIBADD += network.rel
171
172endif
173
174###############################################################################
175#                  Special Rules                                              #
176###############################################################################
177
178DISTCLEANFILES = include/bspopts.h
179
180include $(srcdir)/preinstall.am
181include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.