source: rtems/c/src/lib/libbsp/arm/lpc176x/Makefile.am @ 6ec438e

4.115
Last change on this file since 6ec438e was 6ec438e, checked in by Sebastian Huber <sebastian.huber@…>, on 10/07/14 at 06:29:16

libchip/serial: Add alternative NS16550 driver

Use the Termios device API.

  • Property mode set to 100644
File size: 4.6 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/include/start.h
35include_bsp_HEADERS += ../shared/lpc/include/lpc-timer.h
36include_bsp_HEADERS += ../shared/lpc/include/lpc-i2s.h
37include_bsp_HEADERS += ../shared/lpc/include/lpc-dma.h
38include_bsp_HEADERS += ../shared/armv7m/include/armv7m-irq.h
39include_bsp_HEADERS += include/dma.h
40include_bsp_HEADERS += include/io-defs.h
41include_bsp_HEADERS += include/io.h
42include_bsp_HEADERS += include/common-types.h
43include_bsp_HEADERS += include/gpio-defs.h
44include_bsp_HEADERS += include/gpio.h
45include_bsp_HEADERS += include/timer-defs.h
46include_bsp_HEADERS += include/timer.h
47include_bsp_HEADERS += include/watchdog.h
48include_bsp_HEADERS += include/watchdog-defs.h
49include_bsp_HEADERS += include/irq.h
50include_bsp_HEADERS += include/lpc176x.h
51include_bsp_HEADERS += include/lpc-clock-config.h
52include_bsp_HEADERS += include/system-clocks.h
53
54include_HEADERS += ../../shared/include/tm27.h
55
56
57# ----------------------------
58# ------  Data
59# ----------------------------
60
61noinst_LIBRARIES = libbspstart.a
62
63libbspstart_a_SOURCES = ../shared/start/start.S
64
65project_lib_DATA = start.$(OBJEXT)
66project_lib_DATA += startup/linkcmds
67
68EXTRA_DIST =
69EXTRA_DIST += startup/linkcmds.lpc1768_mbed
70EXTRA_DIST += startup/linkcmds.lpc1768_mbed_ahb_ram
71EXTRA_DIST += startup/linkcmds.lpc1768_mbed_ahb_ram_eth
72
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/bspclean.c
87libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
88libbsp_a_SOURCES += ../../shared/bsplibc.c
89libbsp_a_SOURCES += ../../shared/bsppost.c
90libbsp_a_SOURCES += ../../shared/bsppredriverhook.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
95
96# Startup
97libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
98libbsp_a_SOURCES += startup/bspreset.c
99libbsp_a_SOURCES += startup/bspstart.c
100
101# IRQ
102libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
103libbsp_a_SOURCES += ../../shared/src/irq-generic.c
104libbsp_a_SOURCES += ../../shared/src/irq-info.c
105libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
106libbsp_a_SOURCES += ../../shared/src/irq-server.c
107libbsp_a_SOURCES += ../../shared/src/irq-shell.c
108libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq.c
109libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq-dispatch.c
110libbsp_a_SOURCES += irq/irq.c
111
112# Console
113libbsp_a_SOURCES += ../../shared/console-termios-init.c
114libbsp_a_SOURCES += ../../shared/console-termios.c
115libbsp_a_SOURCES += console/console-config.c
116
117# Clock
118libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
119libbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
120libbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
121
122# RTC
123libbsp_a_SOURCES += ../../shared/tod.c \
124                        rtc/rtc-config.c
125
126# GPIO
127libbsp_a_SOURCES += gpio/gpio.c
128
129# Timer
130libbsp_a_SOURCES += timer/timer.c
131
132# Benchmark Timer
133libbsp_a_SOURCES += benchmark_timer/benchmark_timer.c
134
135# Misc
136libbsp_a_SOURCES += misc/system-clocks.c
137libbsp_a_SOURCES += misc/dma.c
138libbsp_a_SOURCES += misc/dma-copy.c
139libbsp_a_SOURCES += misc/bspidle.c
140libbsp_a_SOURCES += misc/io.c
141libbsp_a_SOURCES += misc/restart.c
142
143# Watchdog
144libbsp_a_SOURCES += watchdog/watchdog.c
145
146# Cache
147libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
148libbsp_a_SOURCES += ../../../libcpu/arm/shared/include/cache_.h
149libbsp_a_CPPFLAGS += -I$(srcdir)/../../../libcpu/arm/shared/include
150
151# Start hooks
152libbsp_a_SOURCES += startup/bspstarthooks.c
153
154
155# ----------------------------
156# ------  Special Rules
157# ----------------------------
158
159DISTCLEANFILES = include/bspopts.h
160
161include $(srcdir)/preinstall.am
162include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.