source: rtems/c/src/lib/libbsp/arm/beagle/Makefile.am @ ecf62845

5
Last change on this file since ecf62845 was ecf62845, checked in by Pierre-Louis Garnier <garnie_a@…>, on 02/25/19 at 22:30:09

arm/beagle: SPI driver

  • Property mode set to 100644
File size: 4.3 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the BeagleBoards.
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/beagle/start/bsp_specs
14
15###############################################################################
16#                  Header                                                     #
17###############################################################################
18
19###############################################################################
20#                  Data                                                       #
21###############################################################################
22
23start.$(OBJEXT): ../../../../../../bsps/arm/shared/start/start.S
24        $(CPPASCOMPILE) -o $@ -c $<
25project_lib_DATA = start.$(OBJEXT)
26
27project_lib_DATA += linkcmds
28dist_project_lib_DATA += ../../../../../../bsps/arm/beagle/start/linkcmds.beagle
29
30###############################################################################
31#                  LibBSP                                                     #
32###############################################################################
33
34project_lib_LIBRARIES = librtemsbsp.a
35
36librtemsbsp_a_SOURCES =
37librtemsbsp_a_LIBADD =
38
39# Shared
40librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
41librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bsp-fdt.c
42librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
43librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
44librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
45librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
46librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/gpio/gpio-support.c
47librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
48librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterfrequency.c
49librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterread.c
50librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
51librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
52librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
53
54# Startup
55librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/start/bspreset.c
56librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/start/bspstart.c
57librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/start/bspstarthooks.c
58librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/start/bspstartmmu.c
59
60# IRQ
61librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
62librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/irq/irq.c
63
64# Console
65librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
66librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
67librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
68librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/console/console-config.c
69
70# I2C
71librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/i2c/bbb-i2c.c
72
73# SPI
74librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/spi/spi.c
75
76# GPIO
77librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/gpio/bbb-gpio.c
78
79#pwm
80librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/pwm/pwm.c
81
82#RTC
83librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/rtc/rtc.c
84librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
85# Clock
86librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/clock/clock.c
87
88# Cache
89librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
90librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-v7ar-disable-data.S
91
92###############################################################################
93#                  Special Rules                                              #
94###############################################################################
95
96
97include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
98include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
99include $(srcdir)/../../../../../../bsps/arm/beagle/headers.am
Note: See TracBrowser for help on using the repository browser.