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

Last change on this file since eca25ef was eca25ef, checked in by G S Niteesh <gsnb.gn@…>, on Jan 3, 2020 at 3:26:14 AM

bsp/raspberrypi: Enable FDT support.

This commit adds FDT support to the BSP.

  • Property mode set to 100644
File size: 4.6 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/legacy-console.c
67librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
68librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/console/console-config.c
69librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/console/console_select.c
70librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/console/usart.c
71librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/console/fb.c
72librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/console/fbcons.c
73librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/console/outch.c
74
75# Mailbox
76librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/mailbox.c
77
78# VideoCore
79librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/vc.c
80
81# clock
82librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/raspberrypi/clock/clockdrv.c
83
84# Timer
85librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/timer.c
86
87# GPIO
88librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/gpio/gpio-support.c
89librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/gpio/rpi-gpio.c
90
91# RTC
92
93# SSP
94
95# I2C
96librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/i2c/i2c.c
97
98# SPI
99librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/spi/spi.c
100
101# Cache
102librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
103librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-v7ar-disable-data.S
104
105# Start hooks
106librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/bspstarthooks.c
107
108###############################################################################
109#                  Special Rules                                              #
110###############################################################################
111
112
113include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
114include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
115include $(srcdir)/../../../../../../bsps/arm/raspberrypi/headers.am
Note: See TracBrowser for help on using the repository browser.