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

Last change on this file was 7480c34, checked in by Sebastian Huber <sebastian.huber@…>, on Feb 23, 2021 at 5:53:42 PM

bsps: Add default rtems_get_target_hash()

Update #4267.

  • 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/gettargethash-default.c
45librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
46librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.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
50
51# Startup
52librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
53librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bspreset-armv7m.c
54librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/bspstart.c
55
56# IRQ
57librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
58librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/irq/irq-armv7m.c
59librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/irq/irq-dispatch-armv7m.c
60librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/irq/irq.c
61
62# Console
63librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios-init.c
64librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
65librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/console/console-config.c
66
67# Clock
68librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-nxp-lpc.c
69librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-armv7m.c
70
71# RTC
72librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
73librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/rtc/rtc-config.c
74
75# GPIO
76librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/gpio/lpc-gpio.c
77
78# CAN
79librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/can/can.c
80
81# PWMOUT
82librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/pwm/pwmout.c
83
84# ADC
85librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/adc.c
86
87# Timer
88librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/timer/timer.c
89
90# Benchmark Timer
91librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/btimer/btimer.c
92
93# Misc
94librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/system-clocks.c
95librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/dma.c
96librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/dma-copy.c
97librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/bspidle.c
98librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/io.c
99librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/restart.c
100
101# Watchdog
102librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/watchdog.c
103
104# Cache
105librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
106
107# Start hooks
108librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/lpc176x/start/bspstarthooks.c
109
110
111# ----------------------------
112# ------  Special Rules
113# ----------------------------
114
115
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.