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

5
Last change on this file since e58e29fd was e58e29fd, checked in by Sebastian Huber <sebastian.huber@…>, on 11/24/17 at 06:58:55

Remove coverhd.h

This header file contained timing overhead values which are hard to
maintain.

Update #3254.

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