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

Last change on this file since 2d0bc83 was 2d0bc83, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 30, 2018 at 6:42:21 PM

build: Remove EXTRA_DIST

A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.

  • 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
38noinst_LIBRARIES = libbsp.a
39
40libbsp_a_SOURCES =
41
42# Shared
43libbsp_a_SOURCES += ../../shared/bootcard.c
44libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
45libbsp_a_SOURCES += ../../shared/bspclean.c
46libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
47libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
48libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
49libbsp_a_SOURCES += ../../shared/sbrk.c
50libbsp_a_SOURCES += ../../shared/src/stackalloc.c
51libbsp_a_SOURCES += ../../shared/src/uart-output-char.c
52
53# Startup
54libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
55libbsp_a_SOURCES += ../shared/armv7m/startup/bspreset.c
56libbsp_a_SOURCES += startup/bspstart.c
57
58# IRQ
59libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
60libbsp_a_SOURCES += ../../shared/src/irq-generic.c
61libbsp_a_SOURCES += ../../shared/src/irq-info.c
62libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
63libbsp_a_SOURCES += ../../shared/src/irq-server.c
64libbsp_a_SOURCES += ../../shared/src/irq-shell.c
65libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq.c
66libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq-dispatch.c
67libbsp_a_SOURCES += irq/irq.c
68
69# Console
70libbsp_a_SOURCES += ../../shared/console-termios-init.c
71libbsp_a_SOURCES += ../../shared/console-termios.c
72libbsp_a_SOURCES += console/console-config.c
73
74# Clock
75libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
76libbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
77libbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
78
79# RTC
80libbsp_a_SOURCES += ../../shared/tod.c \
81                        rtc/rtc-config.c
82
83# GPIO
84libbsp_a_SOURCES += gpio/lpc-gpio.c
85
86# CAN
87libbsp_a_SOURCES += can/can.c
88
89# PWMOUT
90libbsp_a_SOURCES += pwmout/pwmout.c
91
92# ADC
93libbsp_a_SOURCES += adc/adc.c
94
95# Timer
96libbsp_a_SOURCES += timer/timer.c
97
98# Benchmark Timer
99libbsp_a_SOURCES += benchmark_timer/benchmark_timer.c
100
101# Misc
102libbsp_a_SOURCES += misc/system-clocks.c
103libbsp_a_SOURCES += misc/dma.c
104libbsp_a_SOURCES += misc/dma-copy.c
105libbsp_a_SOURCES += misc/bspidle.c
106libbsp_a_SOURCES += misc/io.c
107libbsp_a_SOURCES += misc/restart.c
108
109# Watchdog
110libbsp_a_SOURCES += watchdog/watchdog.c
111
112# Cache
113libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
114
115# Start hooks
116libbsp_a_SOURCES += startup/bspstarthooks.c
117
118
119# ----------------------------
120# ------  Special Rules
121# ----------------------------
122
123DISTCLEANFILES = include/bspopts.h
124
125include $(top_srcdir)/../../../../automake/local.am
126include $(srcdir)/../../../../../../bsps/arm/lpc176x/headers.am
Note: See TracBrowser for help on using the repository browser.