source: rtems/c/src/lib/libbsp/arm/lpc24xx/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: 5.2 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the LPC24XX 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.lpc17xx_ea_ram
29dist_project_lib_DATA += startup/linkcmds.lpc17xx_ea_rom_int
30dist_project_lib_DATA += startup/linkcmds.lpc17xx_plx800_ram
31dist_project_lib_DATA += startup/linkcmds.lpc17xx_plx800_rom_int
32dist_project_lib_DATA += startup/linkcmds.lpc2362
33dist_project_lib_DATA += startup/linkcmds.lpc23xx_tli800
34dist_project_lib_DATA += startup/linkcmds.lpc24xx_ea
35dist_project_lib_DATA += startup/linkcmds.lpc24xx_ncs_ram
36dist_project_lib_DATA += startup/linkcmds.lpc24xx_ncs_rom_ext
37dist_project_lib_DATA += startup/linkcmds.lpc24xx_ncs_rom_int
38dist_project_lib_DATA += startup/linkcmds.lpc24xx_plx800_ram
39dist_project_lib_DATA += startup/linkcmds.lpc24xx_plx800_rom_int
40dist_project_lib_DATA += startup/linkcmds.lpc40xx_ea_ram
41dist_project_lib_DATA += startup/linkcmds.lpc40xx_ea_rom_int
42
43###############################################################################
44#                  LibBSP                                                     #
45###############################################################################
46
47project_lib_LIBRARIES = librtemsbsp.a
48
49librtemsbsp_a_SOURCES =
50
51# Shared
52librtemsbsp_a_SOURCES += ../../shared/bootcard.c \
53        ../../shared/getentropy-cpucounter.c \
54        ../../shared/bspclean.c \
55        ../../shared/bspgetworkarea.c \
56        ../../shared/bsppredriverhook.c \
57        ../../shared/gnatinstallhandler.c \
58        ../../shared/sbrk.c \
59        ../../shared/src/stackalloc.c \
60        ../../shared/src/uart-output-char.c
61librtemsbsp_a_SOURCES += ../../shared/cpucounterdiff.c
62
63# Startup
64librtemsbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
65librtemsbsp_a_SOURCES += ../shared/armv7m/startup/bspreset.c
66librtemsbsp_a_SOURCES += startup/bspreset-armv4.c
67librtemsbsp_a_SOURCES += startup/bspstart.c
68
69# IRQ
70librtemsbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
71librtemsbsp_a_SOURCES += ../../shared/src/irq-generic.c
72librtemsbsp_a_SOURCES += ../../shared/src/irq-info.c
73librtemsbsp_a_SOURCES += ../../shared/src/irq-legacy.c
74librtemsbsp_a_SOURCES += ../../shared/src/irq-server.c
75librtemsbsp_a_SOURCES += ../../shared/src/irq-shell.c
76librtemsbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq.c
77librtemsbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq-dispatch.c
78librtemsbsp_a_SOURCES += irq/irq.c
79librtemsbsp_a_SOURCES += irq/irq-dispatch.c
80
81# Console
82librtemsbsp_a_SOURCES += ../../shared/console-termios-init.c
83librtemsbsp_a_SOURCES += ../../shared/console-termios.c
84librtemsbsp_a_SOURCES += console/console-config.c
85librtemsbsp_a_SOURCES += console/uart-probe-1.c
86librtemsbsp_a_SOURCES += console/uart-probe-2.c
87librtemsbsp_a_SOURCES += console/uart-probe-3.c
88
89# Clock
90librtemsbsp_a_SOURCES += ../../shared/clockdrv_shell.h
91librtemsbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
92librtemsbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
93
94# RTC
95librtemsbsp_a_SOURCES += ../../shared/tod.c \
96        rtc/rtc-config.c
97
98# Misc
99librtemsbsp_a_SOURCES += misc/system-clocks.c \
100        misc/dma.c \
101        misc/dma-copy.c \
102        misc/bspidle.c \
103        misc/io.c \
104        misc/lcd.c \
105        misc/restart.c \
106        misc/timer.c
107
108# SSP
109librtemsbsp_a_SOURCES += ssp/ssp.c
110
111# I2C
112librtemsbsp_a_SOURCES += i2c/i2c.c \
113        i2c/i2c-config.c
114
115# Framebuffer
116librtemsbsp_a_SOURCES += ../shared/arm-pl111-fb.c
117librtemsbsp_a_SOURCES += startup/fb-config.c
118
119# Cache
120librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
121
122# Start hooks
123librtemsbsp_a_SOURCES += startup/bspstarthooks.c
124librtemsbsp_a_SOURCES += startup/start-config-emc-dynamic.c
125librtemsbsp_a_SOURCES += startup/start-config-emc-static.c
126librtemsbsp_a_SOURCES += startup/start-config-mpu.c
127librtemsbsp_a_SOURCES += startup/start-config-pinsel.c
128
129###############################################################################
130#                  Network                                                    #
131###############################################################################
132
133if HAS_NETWORKING
134librtemsbsp_a_SOURCES += ../shared/lpc/network/lpc-ethernet.c
135endif
136
137###############################################################################
138#                  Special Rules                                              #
139###############################################################################
140
141DISTCLEANFILES = include/bspopts.h
142
143include $(top_srcdir)/../../../../automake/local.am
144include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
145include $(srcdir)/../../../../../../bsps/arm/lpc24xx/headers.am
Note: See TracBrowser for help on using the repository browser.