source: rtems/c/src/lib/libbsp/arm/lpc176x/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: 3.2 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the LPC176x 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# ----------------------------
17# ------  Headers
18# ----------------------------
19
20
21# ----------------------------
22# ------  Data
23# ----------------------------
24
25start.$(OBJEXT): ../shared/start/start.S
26        $(CPPASCOMPILE) -o $@ -c $<
27project_lib_DATA = start.$(OBJEXT)
28
29project_lib_DATA += linkcmds
30dist_project_lib_DATA += startup/linkcmds.lpc1768_mbed
31dist_project_lib_DATA += startup/linkcmds.lpc1768_mbed_ahb_ram
32dist_project_lib_DATA += startup/linkcmds.lpc1768_mbed_ahb_ram_eth
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/sbrk.c
48librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
49librtemsbsp_a_SOURCES += ../../shared/src/uart-output-char.c
50
51# Startup
52librtemsbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
53librtemsbsp_a_SOURCES += ../shared/armv7m/startup/bspreset.c
54librtemsbsp_a_SOURCES += startup/bspstart.c
55
56# IRQ
57librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
58librtemsbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq.c
59librtemsbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq-dispatch.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
66
67# Clock
68librtemsbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
69librtemsbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-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# GPIO
76librtemsbsp_a_SOURCES += gpio/lpc-gpio.c
77
78# CAN
79librtemsbsp_a_SOURCES += can/can.c
80
81# PWMOUT
82librtemsbsp_a_SOURCES += pwmout/pwmout.c
83
84# ADC
85librtemsbsp_a_SOURCES += adc/adc.c
86
87# Timer
88librtemsbsp_a_SOURCES += timer/timer.c
89
90# Benchmark Timer
91librtemsbsp_a_SOURCES += benchmark_timer/benchmark_timer.c
92
93# Misc
94librtemsbsp_a_SOURCES += misc/system-clocks.c
95librtemsbsp_a_SOURCES += misc/dma.c
96librtemsbsp_a_SOURCES += misc/dma-copy.c
97librtemsbsp_a_SOURCES += misc/bspidle.c
98librtemsbsp_a_SOURCES += misc/io.c
99librtemsbsp_a_SOURCES += misc/restart.c
100
101# Watchdog
102librtemsbsp_a_SOURCES += watchdog/watchdog.c
103
104# Cache
105librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
106
107# Start hooks
108librtemsbsp_a_SOURCES += startup/bspstarthooks.c
109
110
111# ----------------------------
112# ------  Special Rules
113# ----------------------------
114
115
116include $(top_srcdir)/../../../../automake/local.am
117include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
118include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
119include $(srcdir)/../../../../../../bsps/arm/lpc176x/headers.am
Note: See TracBrowser for help on using the repository browser.