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

Last change on this file since d8d6a08 was d8d6a08, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 27, 2018 at 10:12:44 AM

bsps: Move network define to source files

Define INSIDE_RTEMS_BSD_TCPIP_STACK in the network interface driver
source files to avoid some build system magic.

  • Property mode set to 100644
File size: 4.0 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the raspberrypi board.
6#
7
8ACLOCAL_AMFLAGS = -I ../../../../aclocal
9EXTRA_DIST =
10
11include $(top_srcdir)/../../../../automake/compile.am
12include $(top_srcdir)/../../bsp.am
13
14dist_project_lib_DATA = startup/bsp_specs
15
16###############################################################################
17# Header                                                     #
18###############################################################################
19
20noinst_HEADERS = console/font_data.h
21
22###############################################################################
23# Data                                                       #
24###############################################################################
25
26EXTRA_DIST += ../shared/start/start.S
27start.$(OBJEXT): ../shared/start/start.S
28        $(CPPASCOMPILE) -o $@ -c $<
29project_lib_DATA = start.$(OBJEXT)
30
31project_lib_DATA += linkcmds
32
33###############################################################################
34# LibBSP                                                     #
35###############################################################################
36
37noinst_LIBRARIES = libbsp.a
38
39libbsp_a_SOURCES =
40
41# Shared
42libbsp_a_SOURCES += ../../shared/bootcard.c
43libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
44libbsp_a_SOURCES += ../../shared/bspclean.c
45libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
46libbsp_a_SOURCES += ../../shared/cpucounterread.c
47libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
48libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
49libbsp_a_SOURCES += ../../shared/sbrk.c
50libbsp_a_SOURCES += ../../shared/src/stackalloc.c
51libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
52libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
53if BSP_START_IN_HYP_SUPPORT
54libbsp_a_SOURCES += ../shared/startup/bsp-start-in-hyp-support.S
55endif
56
57# Startup
58libbsp_a_SOURCES += startup/bspstart.c
59libbsp_a_SOURCES += startup/cmdline.c
60libbsp_a_SOURCES += startup/bspgetworkarea.c
61if HAS_SMP
62libbsp_a_SOURCES += startup/bspsmp.c
63libbsp_a_SOURCES += startup/bspsmp_init.c
64endif
65
66# Restart
67libbsp_a_SOURCES += startup/bspreset.c
68
69# IRQ
70libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
71libbsp_a_SOURCES += ../../shared/src/irq-generic.c
72libbsp_a_SOURCES += ../../shared/src/irq-info.c
73libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
74libbsp_a_SOURCES += ../../shared/src/irq-server.c
75libbsp_a_SOURCES += ../../shared/src/irq-shell.c
76libbsp_a_SOURCES += irq/irq.c
77
78# Console
79libbsp_a_SOURCES += ../../shared/console.c
80libbsp_a_SOURCES += ../../shared/console_control.c
81libbsp_a_SOURCES += ../../shared/console_read.c
82libbsp_a_SOURCES += ../../shared/console_write.c
83libbsp_a_SOURCES += console/console-config.c
84libbsp_a_SOURCES += console/console_select.c
85libbsp_a_SOURCES += console/usart.c
86libbsp_a_SOURCES += console/fb.c
87libbsp_a_SOURCES += console/fbcons.c
88libbsp_a_SOURCES += console/outch.c
89
90# Mailbox
91libbsp_a_SOURCES += misc/mailbox.c
92
93# VideoCore
94libbsp_a_SOURCES += misc/vc.c
95
96# clock
97libbsp_a_SOURCES += clock/clockdrv.c ../../../shared/clockdrv_shell.h
98
99# Timer
100libbsp_a_SOURCES += misc/timer.c
101
102# GPIO
103libbsp_a_SOURCES += ../../shared/gpio.c
104libbsp_a_SOURCES += gpio/rpi-gpio.c
105
106# RTC
107
108# SSP
109
110# I2C
111libbsp_a_SOURCES += i2c/i2c.c
112
113# SPI
114libbsp_a_SOURCES += spi/spi.c
115
116# Cache
117libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
118libbsp_a_SOURCES += ../shared/include/arm-cache-l1.h
119libbsp_a_SOURCES += ../shared/armv467ar-basic-cache/cache_.h
120libbsp_a_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/../shared/armv467ar-basic-cache
121
122# Start hooks
123libbsp_a_SOURCES += startup/bspstarthooks.c
124
125# LIBMM
126libbsp_a_SOURCES += startup/mm_config_table.c
127libbsp_a_SOURCES += ../shared/mminit.c
128
129###############################################################################
130#                  Special Rules                                              #
131###############################################################################
132
133DISTCLEANFILES = include/bspopts.h
134
135include $(top_srcdir)/../../../../automake/local.am
136include $(srcdir)/../../../../../../bsps/arm/raspberrypi/headers.am
Note: See TracBrowser for help on using the repository browser.