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

Last change on this file was 7d4f74e, checked in by Chris Johns <chrisj@…>, on Jun 25, 2019 at 11:16:27 AM

arm/beagle: Add libdebugger support.

  • Port the jbang code from C++ to C to enable DBGEN.
  • Hook the libdebugger ARM backend support to return the base address of the debug register set.
  • Property mode set to 100644
File size: 4.4 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/bspdebug.c
56librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/start/bspreset.c
57librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/start/bspstart.c
58librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/start/bspstarthooks.c
59librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/start/bspstartmmu.c
60
61# IRQ
62librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
63librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/irq/irq.c
64
65# Console
66librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
67librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
68librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
69librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/console/console-config.c
70
71# I2C
72librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/i2c/bbb-i2c.c
73
74# SPI
75librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/spi/spi.c
76
77# GPIO
78librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/gpio/bbb-gpio.c
79
80#pwm
81librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/pwm/pwm.c
82
83#RTC
84librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/rtc/rtc.c
85librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
86# Clock
87librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/beagle/clock/clock.c
88
89# Cache
90librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
91librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-v7ar-disable-data.S
92
93###############################################################################
94#                  Special Rules                                              #
95###############################################################################
96
97
98include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
99include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
100include $(srcdir)/../../../../../../bsps/arm/beagle/headers.am
Note: See TracBrowser for help on using the repository browser.