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

5
Last change on this file since 276afd2b was 276afd2b, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 23, 2018 at 7:48:52 AM

bsps: Move SPI drivers to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • 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/cpucounterread.c
43librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterdiff.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 += ../shared/arm-cp15-set-ttb-entries.c
48if BSP_START_IN_HYP_SUPPORT
49librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-in-hyp-support.S
50endif
51
52# Startup
53librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/bspstart.c
54librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/cmdline.c
55librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/bspgetworkarea.c
56if HAS_SMP
57librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/bspsmp.c
58librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/bspsmp_init.c
59endif
60
61# Restart
62librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/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 += ../../../../../../bsps/arm/raspberrypi/console/console-config.c
72librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/console/console_select.c
73librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/console/usart.c
74librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/console/fb.c
75librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/console/fbcons.c
76librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/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 +=../../../../../../bsps/arm/raspberrypi/clock/clockdrv.c
86
87# Timer
88librtemsbsp_a_SOURCES += misc/timer.c
89
90# GPIO
91librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/gpio/gpio-support.c
92librtemsbsp_a_SOURCES += gpio/rpi-gpio.c
93
94# RTC
95
96# SSP
97
98# I2C
99librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/i2c/i2c.c
100
101# SPI
102librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/spi/spi.c
103
104# Cache
105librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
106
107# Start hooks
108librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/bspstarthooks.c
109
110# LIBMM
111librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/raspberrypi/start/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.