source: rtems/c/src/lib/libbsp/arm/lpc176x/Makefile.am @ 8fbe2e6

4.115
Last change on this file since 8fbe2e6 was f59e64f2, checked in by Federico Casares <federico.casares@…>, on 09/09/14 at 13:48:21

arm/lpc176x: Adding "eth" linker script section.

  • Property mode set to 100644
File size: 4.8 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the LPC176x boards.
6#
7
8ACLOCAL_AMFLAGS = -I ../../../../aclocal
9
10include $(top_srcdir)/../../../../automake/compile.am
11
12include_bspdir = $(includedir)/bsp
13
14dist_project_lib_DATA = bsp_specs
15
16
17# ----------------------------
18# ------  Headers
19# ----------------------------
20
21include_HEADERS = include/bsp.h
22
23nodist_include_HEADERS = ../../shared/include/coverhd.h
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/tod.h
35include_bsp_HEADERS += ../shared/include/start.h
36include_bsp_HEADERS += ../shared/lpc/include/lpc-timer.h
37include_bsp_HEADERS += ../shared/lpc/include/lpc-i2s.h
38include_bsp_HEADERS += ../shared/lpc/include/lpc-dma.h
39include_bsp_HEADERS += ../shared/armv7m/include/armv7m-irq.h
40include_bsp_HEADERS += include/dma.h
41include_bsp_HEADERS += include/io-defs.h
42include_bsp_HEADERS += include/io.h
43include_bsp_HEADERS += include/common-types.h
44include_bsp_HEADERS += include/gpio-defs.h
45include_bsp_HEADERS += include/gpio.h
46include_bsp_HEADERS += include/timer-defs.h
47include_bsp_HEADERS += include/timer.h
48include_bsp_HEADERS += include/watchdog.h
49include_bsp_HEADERS += include/watchdog-defs.h
50include_bsp_HEADERS += include/irq.h
51include_bsp_HEADERS += include/lpc176x.h
52include_bsp_HEADERS += include/lpc-clock-config.h
53include_bsp_HEADERS += include/system-clocks.h
54
55include_HEADERS += ../../shared/include/tm27.h
56
57
58# ----------------------------
59# ------  Data
60# ----------------------------
61
62noinst_LIBRARIES = libbspstart.a
63
64libbspstart_a_SOURCES = ../shared/start/start.S
65
66project_lib_DATA = start.$(OBJEXT)
67project_lib_DATA += startup/linkcmds
68
69EXTRA_DIST =
70EXTRA_DIST += startup/linkcmds.lpc1768_mbed
71EXTRA_DIST += startup/linkcmds.lpc1768_mbed_ahb_ram
72EXTRA_DIST += startup/linkcmds.lpc1768_mbed_ahb_ram_eth
73
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/gnatinstallhandler.c
93libbsp_a_SOURCES += ../../shared/sbrk.c
94libbsp_a_SOURCES += ../../shared/src/stackalloc.c
95libbsp_a_SOURCES += ../../shared/src/uart-output-char.c
96
97# Startup
98libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
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 += ../shared/armv7m/irq/armv7m-irq.c
110libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq-dispatch.c
111libbsp_a_SOURCES += irq/irq.c
112
113# Console
114libbsp_a_SOURCES += ../../shared/console.c
115libbsp_a_SOURCES += ../../shared/console_control.c
116libbsp_a_SOURCES += ../../shared/console_read.c
117libbsp_a_SOURCES += ../../shared/console_select.c
118libbsp_a_SOURCES += ../../shared/console_write.c
119libbsp_a_SOURCES += console/console-config.c
120
121# Clock
122libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
123libbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
124libbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
125
126# RTC
127libbsp_a_SOURCES += ../../shared/tod.c \
128                        rtc/rtc-config.c
129
130# GPIO
131libbsp_a_SOURCES += gpio/gpio.c
132
133# Timer
134libbsp_a_SOURCES += timer/timer.c
135
136# Benchmark Timer
137libbsp_a_SOURCES += benchmark_timer/benchmark_timer.c
138
139# Misc
140libbsp_a_SOURCES += misc/system-clocks.c
141libbsp_a_SOURCES += misc/dma.c
142libbsp_a_SOURCES += misc/dma-copy.c
143libbsp_a_SOURCES += misc/bspidle.c
144libbsp_a_SOURCES += misc/io.c
145libbsp_a_SOURCES += misc/restart.c
146
147# Watchdog
148libbsp_a_SOURCES += watchdog/watchdog.c
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# ----------------------------
160# ------  Special Rules
161# ----------------------------
162
163DISTCLEANFILES = include/bspopts.h
164
165include $(srcdir)/preinstall.am
166include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.