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

Last change on this file since 2d0bc83 was 2d0bc83, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 30, 2018 at 6:42:21 PM

build: Remove EXTRA_DIST

A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.

  • Property mode set to 100644
File size: 3.8 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
35noinst_LIBRARIES = libbsp.a
36
37libbsp_a_SOURCES =
38
39# Shared
40libbsp_a_SOURCES += ../../shared/bootcard.c
41libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
42libbsp_a_SOURCES += ../../shared/bspclean.c
43libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
44libbsp_a_SOURCES += ../../shared/cpucounterread.c
45libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
46libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
47libbsp_a_SOURCES += ../../shared/sbrk.c
48libbsp_a_SOURCES += ../../shared/src/stackalloc.c
49libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
50libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
51if BSP_START_IN_HYP_SUPPORT
52libbsp_a_SOURCES += ../shared/startup/bsp-start-in-hyp-support.S
53endif
54
55# Startup
56libbsp_a_SOURCES += startup/bspstart.c
57libbsp_a_SOURCES += startup/cmdline.c
58libbsp_a_SOURCES += startup/bspgetworkarea.c
59if HAS_SMP
60libbsp_a_SOURCES += startup/bspsmp.c
61libbsp_a_SOURCES += startup/bspsmp_init.c
62endif
63
64# Restart
65libbsp_a_SOURCES += startup/bspreset.c
66
67# IRQ
68libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
69libbsp_a_SOURCES += ../../shared/src/irq-generic.c
70libbsp_a_SOURCES += ../../shared/src/irq-info.c
71libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
72libbsp_a_SOURCES += ../../shared/src/irq-server.c
73libbsp_a_SOURCES += ../../shared/src/irq-shell.c
74libbsp_a_SOURCES += irq/irq.c
75
76# Console
77libbsp_a_SOURCES += ../../shared/console.c
78libbsp_a_SOURCES += ../../shared/console_control.c
79libbsp_a_SOURCES += ../../shared/console_read.c
80libbsp_a_SOURCES += ../../shared/console_write.c
81libbsp_a_SOURCES += console/console-config.c
82libbsp_a_SOURCES += console/console_select.c
83libbsp_a_SOURCES += console/usart.c
84libbsp_a_SOURCES += console/fb.c
85libbsp_a_SOURCES += console/fbcons.c
86libbsp_a_SOURCES += console/outch.c
87
88# Mailbox
89libbsp_a_SOURCES += misc/mailbox.c
90
91# VideoCore
92libbsp_a_SOURCES += misc/vc.c
93
94# clock
95libbsp_a_SOURCES += clock/clockdrv.c ../../../shared/clockdrv_shell.h
96
97# Timer
98libbsp_a_SOURCES += misc/timer.c
99
100# GPIO
101libbsp_a_SOURCES += ../../shared/gpio.c
102libbsp_a_SOURCES += gpio/rpi-gpio.c
103
104# RTC
105
106# SSP
107
108# I2C
109libbsp_a_SOURCES += i2c/i2c.c
110
111# SPI
112libbsp_a_SOURCES += spi/spi.c
113
114# Cache
115libbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
116
117# Start hooks
118libbsp_a_SOURCES += startup/bspstarthooks.c
119
120# LIBMM
121libbsp_a_SOURCES += startup/mm_config_table.c
122libbsp_a_SOURCES += ../shared/mminit.c
123
124###############################################################################
125#                  Special Rules                                              #
126###############################################################################
127
128DISTCLEANFILES = include/bspopts.h
129
130include $(top_srcdir)/../../../../automake/local.am
131include $(srcdir)/../../../../../../bsps/arm/raspberrypi/headers.am
Note: See TracBrowser for help on using the repository browser.