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

5
Last change on this file since 0a09ac58 was 0a09ac58, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 13, 2018 at 7:14:56 AM

bsps: Move stackalloc.c to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 4.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
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/getentropy-cpucounter.c
44librtemsbsp_a_SOURCES += ../../shared/bspclean.c
45librtemsbsp_a_SOURCES += ../../shared/bspgetworkarea.c
46librtemsbsp_a_SOURCES += ../../shared/bsppredriverhook.c
47librtemsbsp_a_SOURCES += ../../shared/cpucounterdiff.c
48librtemsbsp_a_SOURCES += ../../shared/sbrk.c
49librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
50librtemsbsp_a_SOURCES += ../../shared/src/uart-output-char.c
51librtemsbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
52librtemsbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
53
54# Startup
55librtemsbsp_a_SOURCES += startup/bspreset.c
56librtemsbsp_a_SOURCES += startup/bspstart.c
57
58# IRQ
59librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
60librtemsbsp_a_SOURCES += irq/irq.c
61
62# Console
63librtemsbsp_a_SOURCES += ../../shared/console-termios-init.c
64librtemsbsp_a_SOURCES += ../../shared/console-termios.c
65librtemsbsp_a_SOURCES += console/console-config.c
66librtemsbsp_a_SOURCES += console/hsu.c
67
68# Clock
69librtemsbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
70
71# RTC
72librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
73librtemsbsp_a_SOURCES += rtc/rtc-config.c
74
75# Misc
76librtemsbsp_a_SOURCES += misc/boot.c
77librtemsbsp_a_SOURCES += misc/emc.c
78librtemsbsp_a_SOURCES += misc/i2c.c
79librtemsbsp_a_SOURCES += misc/nand-mlc.c
80librtemsbsp_a_SOURCES += misc/nand-mlc-erase-block-safe.c
81librtemsbsp_a_SOURCES += misc/nand-mlc-read-blocks.c
82librtemsbsp_a_SOURCES += misc/nand-mlc-write-blocks.c
83librtemsbsp_a_SOURCES += misc/restart.c
84librtemsbsp_a_SOURCES += misc/system-clocks.c
85librtemsbsp_a_SOURCES += misc/timer.c
86librtemsbsp_a_SOURCES += misc/nand-select.c
87librtemsbsp_a_SOURCES += misc/idle-thread.c
88
89# SSP
90
91# I2C
92
93# Cache
94librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
95
96# Start hooks
97librtemsbsp_a_SOURCES += startup/bspstarthooks.c
98
99###############################################################################
100#                  Network                                                    #
101###############################################################################
102
103if HAS_NETWORKING
104librtemsbsp_a_SOURCES += ../shared/lpc/network/lpc-ethernet.c
105endif
106
107###############################################################################
108#                  Special Rules                                              #
109###############################################################################
110
111
112include $(top_srcdir)/../../../../automake/local.am
113include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
114include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
115include $(srcdir)/../../../../../../bsps/arm/lpc32xx/headers.am
Note: See TracBrowser for help on using the repository browser.