source: rtems/c/src/lib/libbsp/arm/lpc24xx/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: 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/getentropy-cpucounter.c
53librtemsbsp_a_SOURCES += ../../shared/bspclean.c
54librtemsbsp_a_SOURCES += ../../shared/bspgetworkarea.c
55librtemsbsp_a_SOURCES += ../../shared/bsppredriverhook.c
56librtemsbsp_a_SOURCES += ../../shared/sbrk.c
57librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
58librtemsbsp_a_SOURCES += ../../shared/src/uart-output-char.c
59librtemsbsp_a_SOURCES += ../../shared/cpucounterdiff.c
60
61# Startup
62librtemsbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
63librtemsbsp_a_SOURCES += ../shared/armv7m/startup/bspreset.c
64librtemsbsp_a_SOURCES += startup/bspreset-armv4.c
65librtemsbsp_a_SOURCES += startup/bspstart.c
66
67# IRQ
68librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
69librtemsbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq.c
70librtemsbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq-dispatch.c
71librtemsbsp_a_SOURCES += irq/irq.c
72librtemsbsp_a_SOURCES += irq/irq-dispatch.c
73
74# Console
75librtemsbsp_a_SOURCES += ../../shared/console-termios-init.c
76librtemsbsp_a_SOURCES += ../../shared/console-termios.c
77librtemsbsp_a_SOURCES += console/console-config.c
78librtemsbsp_a_SOURCES += console/uart-probe-1.c
79librtemsbsp_a_SOURCES += console/uart-probe-2.c
80librtemsbsp_a_SOURCES += console/uart-probe-3.c
81
82# Clock
83librtemsbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
84librtemsbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
85
86# RTC
87librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
88librtemsbsp_a_SOURCES += rtc/rtc-config.c
89
90# Misc
91librtemsbsp_a_SOURCES += misc/system-clocks.c
92librtemsbsp_a_SOURCES += misc/dma.c
93librtemsbsp_a_SOURCES += misc/dma-copy.c
94librtemsbsp_a_SOURCES += misc/bspidle.c
95librtemsbsp_a_SOURCES += misc/io.c
96librtemsbsp_a_SOURCES += misc/lcd.c
97librtemsbsp_a_SOURCES += misc/restart.c
98librtemsbsp_a_SOURCES += misc/timer.c
99
100# SSP
101librtemsbsp_a_SOURCES += ssp/ssp.c
102
103# I2C
104librtemsbsp_a_SOURCES += i2c/i2c.c
105librtemsbsp_a_SOURCES += i2c/i2c-config.c
106
107# Framebuffer
108librtemsbsp_a_SOURCES += ../shared/arm-pl111-fb.c
109librtemsbsp_a_SOURCES += startup/fb-config.c
110
111# Cache
112librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
113
114# Start hooks
115librtemsbsp_a_SOURCES += startup/bspstarthooks.c
116librtemsbsp_a_SOURCES += startup/start-config-emc-dynamic.c
117librtemsbsp_a_SOURCES += startup/start-config-emc-static.c
118librtemsbsp_a_SOURCES += startup/start-config-mpu.c
119librtemsbsp_a_SOURCES += startup/start-config-pinsel.c
120
121###############################################################################
122#                  Network                                                    #
123###############################################################################
124
125if HAS_NETWORKING
126librtemsbsp_a_SOURCES += ../shared/lpc/network/lpc-ethernet.c
127endif
128
129###############################################################################
130#                  Special Rules                                              #
131###############################################################################
132
133
134include $(top_srcdir)/../../../../automake/local.am
135include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
136include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
137include $(srcdir)/../../../../../../bsps/arm/lpc24xx/headers.am
Note: See TracBrowser for help on using the repository browser.