source: rtems/c/src/lib/libbsp/arm/lpc176x/Makefile.am @ e945b049

5
Last change on this file since e945b049 was e945b049, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 25, 2018 at 8:43:38 AM

bsp/lpc176x: Move source files to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 4.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 = ../../../../../../bsps/arm/lpc176x/start/bsp_specs
14
15
16# ----------------------------
17# ------  Headers
18# ----------------------------
19
20
21# ----------------------------
22# ------  Data
23# ----------------------------
24
25start.$(OBJEXT): ../../../../../../bsps/arm/shared/start/start.S
26        $(CPPASCOMPILE) -o $@ -c $<
27project_lib_DATA = start.$(OBJEXT)
28
29project_lib_DATA += linkcmds
30dist_project_lib_DATA += ../../../../../../bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed
31dist_project_lib_DATA += ../../../../../../bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed_ahb_ram
32dist_project_lib_DATA += ../../../../../../bsps/arm/lpc176x/start/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 += ../../../../../../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/start/sbrk.c
47librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
48librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/uart-output-char.c
49
50# Startup
51librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
52librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bspreset-armv7m.c
53librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/bspstart.c
54
55# IRQ
56librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
57librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/irq/irq-armv7m.c
58librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/irq/irq-dispatch-armv7m.c
59librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/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/lpc176x/console/console-config.c
65
66# Clock
67librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-nxp-lpc.c
68librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-armv7m.c
69
70# RTC
71librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
72librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/rtc/rtc-config.c
73
74# GPIO
75librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/gpio/lpc-gpio.c
76
77# CAN
78librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/can/can.c
79
80# PWMOUT
81librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/pwm/pwmout.c
82
83# ADC
84librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/adc.c
85
86# Timer
87librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/timer/timer.c
88
89# Benchmark Timer
90librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/btimer/btimer.c
91
92# Misc
93librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/system-clocks.c
94librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/dma.c
95librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/dma-copy.c
96librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/bspidle.c
97librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/io.c
98librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/restart.c
99
100# Watchdog
101librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/watchdog.c
102
103# Cache
104librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
105
106# Start hooks
107librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/bspstarthooks.c
108
109
110# ----------------------------
111# ------  Special Rules
112# ----------------------------
113
114
115include $(top_srcdir)/../../../../automake/local.am
116include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
117include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
118include $(srcdir)/../../../../../../bsps/arm/lpc176x/headers.am
Note: See TracBrowser for help on using the repository browser.