source: rtems/c/src/lib/libbsp/arm/atsam/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: 6.9 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4include $(top_srcdir)/../../bsp.am
5
6###############################################################################
7#                  Data                                                       #
8###############################################################################
9
10dist_project_lib_DATA = startup/bsp_specs
11
12start.$(OBJEXT): ../shared/start/start.S
13        $(CPPASCOMPILE) -o $@ -c $<
14project_lib_DATA = start.$(OBJEXT)
15
16project_lib_DATA += linkcmds
17project_lib_DATA += linkcmds.memory
18dist_project_lib_DATA += startup/linkcmds.intsram
19dist_project_lib_DATA += startup/linkcmds.sdram
20dist_project_lib_DATA += startup/linkcmds.qspiflash
21
22###############################################################################
23#                  Header                                                     #
24###############################################################################
25
26###############################################################################
27#                  LibBSP                                                     #
28###############################################################################
29
30noinst_LIBRARIES = libbsp.a
31
32libbsp_a_SOURCES =
33libbsp_a_CPPFLAGS = $(AM_CPPFLAGS)
34libbsp_a_LIBADD =
35
36# Shared
37libbsp_a_SOURCES += ../../shared/bootcard.c
38libbsp_a_SOURCES += ../../shared/bspclean.c
39libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
40libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
41libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
42libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
43libbsp_a_SOURCES += ../../shared/sbrk.c
44libbsp_a_SOURCES += ../../shared/src/stackalloc.c
45
46# libchip
47libbsp_a_SOURCES += libraries/libchip/source/acc.c
48libbsp_a_SOURCES += libraries/libchip/source/aes.c
49libbsp_a_SOURCES += libraries/libchip/source/afec.c
50libbsp_a_SOURCES += libraries/libchip/source/afe_dma.c
51libbsp_a_SOURCES += libraries/libchip/source/dac_dma.c
52libbsp_a_SOURCES += libraries/libchip/source/efc.c
53libbsp_a_SOURCES += libraries/libchip/source/exceptions.c
54libbsp_a_SOURCES += libraries/libchip/source/flashd.c
55libbsp_a_SOURCES += libraries/libchip/source/gmac.c
56libbsp_a_SOURCES += libraries/libchip/source/gmacd.c
57libbsp_a_SOURCES += libraries/libchip/source/hsmci.c
58libbsp_a_SOURCES += libraries/libchip/source/icm.c
59libbsp_a_SOURCES += libraries/libchip/source/isi.c
60libbsp_a_SOURCES += libraries/libchip/source/mcan.c
61libbsp_a_SOURCES += libraries/libchip/source/mediaLB.c
62libbsp_a_SOURCES += libraries/libchip/source/mpu.c
63libbsp_a_SOURCES += libraries/libchip/source/pio.c
64libbsp_a_SOURCES += libraries/libchip/source/pio_capture.c
65libbsp_a_SOURCES += libraries/libchip/source/pio_it.c
66libbsp_a_SOURCES += libraries/libchip/source/pmc.c
67libbsp_a_SOURCES += libraries/libchip/source/pwmc.c
68libbsp_a_SOURCES += libraries/libchip/source/qspi.c
69libbsp_a_SOURCES += libraries/libchip/source/qspi_dma.c
70libbsp_a_SOURCES += libraries/libchip/source/rstc.c
71libbsp_a_SOURCES += libraries/libchip/source/rtc.c
72libbsp_a_SOURCES += libraries/libchip/source/rtt.c
73libbsp_a_SOURCES += libraries/libchip/source/sdramc.c
74libbsp_a_SOURCES += libraries/libchip/source/spi.c
75libbsp_a_SOURCES += libraries/libchip/source/spi_dma.c
76libbsp_a_SOURCES += libraries/libchip/source/ssc.c
77libbsp_a_SOURCES += libraries/libchip/source/supc.c
78libbsp_a_SOURCES += libraries/libchip/source/tc.c
79libbsp_a_SOURCES += libraries/libchip/source/trng.c
80libbsp_a_SOURCES += libraries/libchip/source/twi.c
81libbsp_a_SOURCES += libraries/libchip/source/twid.c
82libbsp_a_SOURCES += libraries/libchip/source/uart.c
83libbsp_a_SOURCES += libraries/libchip/source/uart_dma.c
84libbsp_a_SOURCES += libraries/libchip/source/usart.c
85libbsp_a_SOURCES += libraries/libchip/source/usart_dma.c
86libbsp_a_SOURCES += libraries/libchip/source/wdt.c
87libbsp_a_SOURCES += libraries/libchip/source/xdmad.c
88libbsp_a_SOURCES += libraries/libchip/source/xdma_hardware_interface.c
89
90# libboard
91libbsp_a_SOURCES += libraries/libboard/resources_v71/system_samv71.c
92libbsp_a_SOURCES += libraries/libboard/source/board_lowlevel.c
93libbsp_a_SOURCES += libraries/libboard/source/board_memories.c
94libbsp_a_SOURCES += libraries/libboard/source/dbg_console.c
95
96# Startup
97libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
98libbsp_a_SOURCES += ../shared/armv7m/startup/bspreset.c
99libbsp_a_SOURCES += ../shared/armv7m/startup/armv7m-cpucounter.c
100libbsp_a_SOURCES += startup/bspstart.c
101libbsp_a_SOURCES += startup/bspstarthooks.c
102libbsp_a_SOURCES += startup/getentropy-trng.c
103libbsp_a_SOURCES += startup/pin-config.c
104libbsp_a_SOURCES += startup/pmc-config.c
105libbsp_a_SOURCES += startup/power-clock.c
106libbsp_a_SOURCES += startup/power-rtc.c
107libbsp_a_SOURCES += startup/power.c
108libbsp_a_SOURCES += startup/power-rtc.c
109libbsp_a_SOURCES += startup/power-clock.c
110libbsp_a_SOURCES += startup/restart.c
111libbsp_a_SOURCES += startup/sdram-config.c
112
113# IRQ
114libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
115libbsp_a_SOURCES += ../../shared/src/irq-generic.c
116libbsp_a_SOURCES += ../../shared/src/irq-info.c
117libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
118libbsp_a_SOURCES += ../../shared/src/irq-server.c
119libbsp_a_SOURCES += ../../shared/src/irq-shell.c
120libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq.c
121libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq-dispatch.c
122
123# Console
124libbsp_a_SOURCES += ../../shared/console-termios.c
125libbsp_a_SOURCES += console/console.c
126libbsp_a_SOURCES += console/debug-console.c
127
128# Clock
129libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
130libbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
131libbsp_a_SOURCES += clock/systick-freq.c
132
133# Timer
134libbsp_a_SOURCES += ../../shared/timerstub.c
135
136# Cache
137libbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-v7m.c
138
139# Network
140if HAS_NETWORKING
141libbsp_a_SOURCES += network/if_atsam.c
142endif
143
144# I2C
145libbsp_a_SOURCES += i2c/atsam_i2c_bus.c
146libbsp_a_SOURCES += i2c/atsam_i2c_init.c
147
148# SPI
149libbsp_a_SOURCES += spi/atsam_spi_bus.c
150libbsp_a_SOURCES += spi/atsam_spi_init.c
151libbsp_a_SOURCES += spi/sc16is752.c
152
153# RTC
154libbsp_a_SOURCES += ../../shared/tod.c
155libbsp_a_SOURCES += rtc/rtc-config.c
156
157# Helper functions
158libbsp_a_SOURCES += utils/iocopy.c
159
160# Includes
161libbsp_a_CPPFLAGS += -I$(srcdir)/../shared/CMSIS/Include
162libbsp_a_CPPFLAGS += -I$(srcdir)/libraries/libboard
163libbsp_a_CPPFLAGS += -I$(srcdir)/libraries/libboard/include
164libbsp_a_CPPFLAGS += -I$(srcdir)/libraries/libchip
165libbsp_a_CPPFLAGS += -I$(srcdir)/libraries/libchip/include
166
167# hack to get the BSP to build
168libbsp_a_CPPFLAGS += -I$(RTEMS_SOURCE_ROOT)/bsps/arm/atsam/include/libchip
169libbsp_a_CPPFLAGS += -I$(RTEMS_SOURCE_ROOT)/bsps/arm/atsam/include/libchip/include
170
171###############################################################################
172#                  Special Rules                                              #
173###############################################################################
174
175DISTCLEANFILES = include/bspopts.h
176
177include $(top_srcdir)/../../../../automake/local.am
178include $(srcdir)/../../../../../../bsps/arm/atsam/headers.am
Note: See TracBrowser for help on using the repository browser.