source: rtems/c/src/lib/libbsp/arm/raspberrypi/Makefile.am @ 362cf319

Last change on this file since 362cf319 was 362cf319, checked in by G S Niteesh <gsnb.gn@…>, on Jan 4, 2020 at 7:50:46 PM

bsp/raspberrypi: Updated the console API.

Replaces the legacy termios API with new termios API (#3034)
Replaces the custom PL011 serial driver with RTEMS arm-pl011.
Update #3034

  • Property mode set to 100644
File size: 4.4 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the raspberrypi board.
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/raspberrypi/start/bsp_specs
14
15###############################################################################
16# Header                                                     #
17###############################################################################
18
19noinst_HEADERS = ../../../../../../bsps/arm/raspberrypi/console/font_data.h
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
30
31###############################################################################
32# LibBSP                                                     #
33###############################################################################
34
35project_lib_LIBRARIES = librtemsbsp.a
36
37librtemsbsp_a_SOURCES =
38
39# Shared
40librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
41librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
42librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterfrequency.c
43librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterread.c
44librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
45librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
46librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
47librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
48librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bsp-fdt.c
49
50# Startup
51librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/bspstart.c
52librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/cmdline.c
53if HAS_SMP
54librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/bspsmp.c
55librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/bspsmp_init.c
56endif
57
58# Restart
59librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/bspreset.c
60
61# IRQ
62librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
63librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/irq/irq.c
64
65# Console
66librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
67librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/serial/arm-pl011.c
68librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/console/console-config.c
69librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/console/fb.c
70librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/console/fbcons.c
71librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/console/outch.c
72
73# Mailbox
74librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/mailbox.c
75
76# VideoCore
77librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/vc.c
78
79# clock
80librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/raspberrypi/clock/clockdrv.c
81
82# Timer
83librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/timer.c
84
85# GPIO
86librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/gpio/gpio-support.c
87librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/gpio/rpi-gpio.c
88
89# RTC
90
91# SSP
92
93# I2C
94librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/i2c/i2c.c
95
96# SPI
97librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/spi/spi.c
98
99# Cache
100librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
101librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-v7ar-disable-data.S
102
103# Start hooks
104librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/bspstarthooks.c
105
106###############################################################################
107#                  Special Rules                                              #
108###############################################################################
109
110
111include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
112include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
113include $(srcdir)/../../../../../../bsps/arm/raspberrypi/headers.am
Note: See TracBrowser for help on using the repository browser.