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

4.115
Last change on this file since 8fbe2e6 was be4992b1, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 2, 2014 at 11:00:44 PM

raspberrypi: Use shared bspreset.c

  • Property mode set to 100644
File size: 5.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
11
12include_bspdir = $(includedir)/bsp
13include_libcpudir = $(includedir)/libcpu
14
15dist_project_lib_DATA = bsp_specs
16
17###############################################################################
18# Header                                                     #
19###############################################################################
20
21include_HEADERS = include/bsp.h
22include_HEADERS += ../../shared/include/tm27.h
23
24nodist_include_HEADERS = ../../shared/include/coverhd.h \
25    include/bspopts.h
26
27nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
28
29include_bsp_HEADERS =
30include_bsp_HEADERS += ../../../libbsp/shared/include/mm.h
31include_bsp_HEADERS += ../../shared/include/utility.h
32include_bsp_HEADERS += ../../shared/include/irq-generic.h
33include_bsp_HEADERS += ../../shared/include/irq-info.h
34include_bsp_HEADERS += ../../shared/include/stackalloc.h
35include_bsp_HEADERS += ../../shared/include/uart-output-char.h
36include_bsp_HEADERS += ../../shared/tod.h
37include_bsp_HEADERS += ../shared/include/linker-symbols.h
38include_bsp_HEADERS += ../shared/include/start.h
39include_bsp_HEADERS += ../shared/include/arm-cp15-start.h
40include_bsp_HEADERS += ../shared/include/arm-errata.h
41include_bsp_HEADERS += ../shared/lpc/include/lpc-timer.h
42include_bsp_HEADERS += ../shared/lpc/include/lpc-dma.h
43include_bsp_HEADERS += ../shared/include/arm-release-id.h
44include_bsp_HEADERS += include/irq.h
45include_bsp_HEADERS += include/mmu.h
46include_bsp_HEADERS += include/usart.h
47include_bsp_HEADERS += include/raspberrypi.h
48
49include_libcpu_HEADERS = ../../../libcpu/arm/shared/include/cache_.h \
50    ../../../libcpu/arm/shared/include/arm-cp15.h
51
52###############################################################################
53# Data                                                       #
54###############################################################################
55
56noinst_LIBRARIES = libbspstart.a
57
58libbspstart_a_SOURCES = ../shared/start/start.S
59
60project_lib_DATA = start.$(OBJEXT)
61
62project_lib_DATA += startup/linkcmds
63project_lib_DATA += ../shared/startup/linkcmds.base
64
65EXTRA_DIST = startup/linkcmds
66
67###############################################################################
68# LibBSP                                                     #
69###############################################################################
70
71noinst_LIBRARIES += libbsp.a
72
73libbsp_a_SOURCES =
74libbsp_a_CPPFLAGS =
75libbsp_a_LIBADD =
76
77# Shared
78libbsp_a_SOURCES += ../../shared/bootcard.c
79libbsp_a_SOURCES += ../../shared/bspclean.c
80libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
81libbsp_a_SOURCES += ../../shared/bsplibc.c
82libbsp_a_SOURCES += ../../shared/bsppost.c
83libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
84libbsp_a_SOURCES += ../../shared/bsppretaskinghook.c
85libbsp_a_SOURCES += ../../shared/cpucounterread.c
86libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
87libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
88libbsp_a_SOURCES += ../../shared/sbrk.c
89libbsp_a_SOURCES += ../../shared/src/stackalloc.c
90libbsp_a_SOURCES += ../shared/abort/simple_abort.c
91libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
92libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
93
94# Startup
95libbsp_a_SOURCES += ../../shared/bspreset_loop.c
96libbsp_a_SOURCES += startup/bspstart.c
97
98# IRQ
99libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
100libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
101libbsp_a_SOURCES += ../../shared/src/irq-generic.c
102libbsp_a_SOURCES += ../../shared/src/irq-info.c
103libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
104libbsp_a_SOURCES += ../../shared/src/irq-server.c
105libbsp_a_SOURCES += ../../shared/src/irq-shell.c
106libbsp_a_SOURCES += irq/irq.c
107
108# Console
109libbsp_a_SOURCES += ../../shared/console.c
110libbsp_a_SOURCES += ../../shared/console_control.c
111libbsp_a_SOURCES += ../../shared/console_read.c
112libbsp_a_SOURCES += ../../shared/console_select.c
113libbsp_a_SOURCES += ../../shared/console_write.c
114libbsp_a_SOURCES += console/console-config.c
115libbsp_a_SOURCES += console/usart.c
116
117# clock
118libbsp_a_SOURCES += clock/clockdrv.c ../../../shared/clockdrv_shell.h
119
120# Timer
121libbsp_a_SOURCES += misc/timer.c
122
123# RTC
124
125# SSP
126
127# I2C
128
129# Cache
130libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
131libbsp_a_SOURCES += ../../../libcpu/arm/shared/include/cache_.h
132libbsp_a_CPPFLAGS += -I$(srcdir)/../../../libcpu/arm/shared/include
133
134# Start hooks
135libbsp_a_SOURCES += startup/bspstarthooks.c
136
137# LIBMM
138libbsp_a_SOURCES += startup/mm_config_table.c
139libbsp_a_SOURCES += ../shared/mminit.c
140
141###############################################################################
142# Network                                                    #
143###############################################################################
144
145#if HAS_NETWORKING
146#
147#noinst_PROGRAMS = network.rel
148#
149#network_rel_SOURCES = ../shared/lpc/network/lpc-ethernet.c
150#network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
151#network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
152#
153#
154#libbsp_a_LIBADD += network.rel
155#
156#endif
157
158###############################################################################
159#                  Special Rules                                              #
160###############################################################################
161
162DISTCLEANFILES = include/bspopts.h
163
164include $(srcdir)/preinstall.am
165include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.