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

5
Last change on this file since d584269 was d584269, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 4, 2018 at 2:44:52 PM

bsps: Remove librtemsbsp.a wrapup

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 4.4 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
11include $(top_srcdir)/../../bsp.am
12
13dist_project_lib_DATA = startup/bsp_specs
14
15###############################################################################
16#                  Header                                                     #
17###############################################################################
18
19###############################################################################
20#                  Data                                                       #
21###############################################################################
22
23start.$(OBJEXT): ../shared/start/start.S
24        $(CPPASCOMPILE) -o $@ -c $<
25project_lib_DATA = start.$(OBJEXT)
26
27project_lib_DATA += linkcmds
28dist_project_lib_DATA += startup/linkcmds.lpc32xx
29dist_project_lib_DATA += startup/linkcmds.lpc32xx_phycore
30dist_project_lib_DATA += startup/linkcmds.lpc32xx_mzx_stage_1
31dist_project_lib_DATA += startup/linkcmds.lpc32xx_mzx_stage_2
32dist_project_lib_DATA += startup/linkcmds.lpc32xx_mzx
33
34###############################################################################
35#                  LibBSP                                                     #
36###############################################################################
37
38project_lib_LIBRARIES = librtemsbsp.a
39
40librtemsbsp_a_SOURCES =
41
42# Shared
43librtemsbsp_a_SOURCES += ../../shared/bootcard.c
44librtemsbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
45librtemsbsp_a_SOURCES += ../../shared/bspclean.c
46librtemsbsp_a_SOURCES += ../../shared/bspgetworkarea.c
47librtemsbsp_a_SOURCES += ../../shared/bsppredriverhook.c
48librtemsbsp_a_SOURCES += ../../shared/cpucounterdiff.c
49librtemsbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
50librtemsbsp_a_SOURCES += ../../shared/sbrk.c
51librtemsbsp_a_SOURCES += ../../shared/src/stackalloc.c
52librtemsbsp_a_SOURCES += ../../shared/src/uart-output-char.c
53librtemsbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
54librtemsbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
55
56# Startup
57librtemsbsp_a_SOURCES += startup/bspreset.c
58librtemsbsp_a_SOURCES += startup/bspstart.c
59
60# IRQ
61librtemsbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
62librtemsbsp_a_SOURCES += ../../shared/src/irq-generic.c
63librtemsbsp_a_SOURCES += ../../shared/src/irq-info.c
64librtemsbsp_a_SOURCES += ../../shared/src/irq-legacy.c
65librtemsbsp_a_SOURCES += ../../shared/src/irq-server.c
66librtemsbsp_a_SOURCES += ../../shared/src/irq-shell.c
67librtemsbsp_a_SOURCES += irq/irq.c
68
69# Console
70librtemsbsp_a_SOURCES += ../../shared/console-termios-init.c
71librtemsbsp_a_SOURCES += ../../shared/console-termios.c
72librtemsbsp_a_SOURCES += console/console-config.c
73librtemsbsp_a_SOURCES += console/hsu.c
74
75# Clock
76librtemsbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
77librtemsbsp_a_SOURCES += ../../shared/clockdrv_shell.h
78
79# RTC
80librtemsbsp_a_SOURCES += ../../shared/tod.c \
81        rtc/rtc-config.c
82
83# Misc
84librtemsbsp_a_SOURCES += misc/boot.c
85librtemsbsp_a_SOURCES += misc/emc.c
86librtemsbsp_a_SOURCES += misc/i2c.c
87librtemsbsp_a_SOURCES += misc/nand-mlc.c
88librtemsbsp_a_SOURCES += misc/nand-mlc-erase-block-safe.c
89librtemsbsp_a_SOURCES += misc/nand-mlc-read-blocks.c
90librtemsbsp_a_SOURCES += misc/nand-mlc-write-blocks.c
91librtemsbsp_a_SOURCES += misc/restart.c
92librtemsbsp_a_SOURCES += misc/system-clocks.c
93librtemsbsp_a_SOURCES += misc/timer.c
94librtemsbsp_a_SOURCES += misc/nand-select.c
95librtemsbsp_a_SOURCES += misc/idle-thread.c
96
97# SSP
98
99# I2C
100
101# Cache
102librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
103
104# Start hooks
105librtemsbsp_a_SOURCES += startup/bspstarthooks.c
106
107###############################################################################
108#                  Network                                                    #
109###############################################################################
110
111if HAS_NETWORKING
112librtemsbsp_a_SOURCES += ../shared/lpc/network/lpc-ethernet.c
113endif
114
115###############################################################################
116#                  Special Rules                                              #
117###############################################################################
118
119DISTCLEANFILES = include/bspopts.h
120
121include $(top_srcdir)/../../../../automake/local.am
122include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
123include $(srcdir)/../../../../../../bsps/arm/lpc32xx/headers.am
Note: See TracBrowser for help on using the repository browser.