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

5
Last change on this file since c4ccf26c was c4ccf26c, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 17, 2018 at 4:57:46 AM

bsps: Convert all bsp_predriver_hook()

Use RTEMS_SYSINIT_ITEM() instead.

Update #2408.

  • Property mode set to 100644
File size: 3.7 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 = startup/bsp_specs
14
15###############################################################################
16# Header                                                     #
17###############################################################################
18
19noinst_HEADERS = console/font_data.h
20
21###############################################################################
22# Data                                                       #
23###############################################################################
24
25start.$(OBJEXT): ../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 += ../../shared/getentropy-cpucounter.c
41librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
42librtemsbsp_a_SOURCES += ../../shared/cpucounterread.c
43librtemsbsp_a_SOURCES += ../../shared/cpucounterdiff.c
44librtemsbsp_a_SOURCES += ../../shared/sbrk.c
45librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
46librtemsbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
47librtemsbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
48if BSP_START_IN_HYP_SUPPORT
49librtemsbsp_a_SOURCES += ../shared/startup/bsp-start-in-hyp-support.S
50endif
51
52# Startup
53librtemsbsp_a_SOURCES += startup/bspstart.c
54librtemsbsp_a_SOURCES += startup/cmdline.c
55librtemsbsp_a_SOURCES += startup/bspgetworkarea.c
56if HAS_SMP
57librtemsbsp_a_SOURCES += startup/bspsmp.c
58librtemsbsp_a_SOURCES += startup/bspsmp_init.c
59endif
60
61# Restart
62librtemsbsp_a_SOURCES += startup/bspreset.c
63
64# IRQ
65librtemsbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
66librtemsbsp_a_SOURCES += irq/irq.c
67
68# Console
69librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
70librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
71librtemsbsp_a_SOURCES += console/console-config.c
72librtemsbsp_a_SOURCES += console/console_select.c
73librtemsbsp_a_SOURCES += console/usart.c
74librtemsbsp_a_SOURCES += console/fb.c
75librtemsbsp_a_SOURCES += console/fbcons.c
76librtemsbsp_a_SOURCES += console/outch.c
77
78# Mailbox
79librtemsbsp_a_SOURCES += misc/mailbox.c
80
81# VideoCore
82librtemsbsp_a_SOURCES += misc/vc.c
83
84# clock
85librtemsbsp_a_SOURCES += clock/clockdrv.c
86
87# Timer
88librtemsbsp_a_SOURCES += misc/timer.c
89
90# GPIO
91librtemsbsp_a_SOURCES += ../../shared/gpio.c
92librtemsbsp_a_SOURCES += gpio/rpi-gpio.c
93
94# RTC
95
96# SSP
97
98# I2C
99librtemsbsp_a_SOURCES += i2c/i2c.c
100
101# SPI
102librtemsbsp_a_SOURCES += spi/spi.c
103
104# Cache
105librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
106
107# Start hooks
108librtemsbsp_a_SOURCES += startup/bspstarthooks.c
109
110# LIBMM
111librtemsbsp_a_SOURCES += startup/mm_config_table.c
112librtemsbsp_a_SOURCES += ../shared/mminit.c
113
114###############################################################################
115#                  Special Rules                                              #
116###############################################################################
117
118
119include $(top_srcdir)/../../../../automake/local.am
120include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
121include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
122include $(srcdir)/../../../../../../bsps/arm/raspberrypi/headers.am
Note: See TracBrowser for help on using the repository browser.