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

Last change on this file since 43250167 was 43250167, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 25, 2018 at 8:36:52 AM

bsp/lpc32xx: Move source files to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

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