source: rtems/c/src/lib/libbsp/arm/beagle/Makefile.am @ 2717032d

Last change on this file since 2717032d was 2717032d, checked in by Sebastian Huber <sebastian.huber@…>, on Dec 14, 2017 at 6:15:19 AM

bsps/arm: Fix move <libcpu/arm-cp15.h> to cpukit

Update #3254.

  • Property mode set to 100644
File size: 4.9 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the BeagleBoards.
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 += include/tm27.h
23
24nodist_include_HEADERS = include/bspopts.h
25
26nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
27
28include_bsp_HEADERS =
29include_bsp_HEADERS += ../../shared/include/utility.h
30include_bsp_HEADERS += ../../shared/include/irq-generic.h
31include_bsp_HEADERS += ../../shared/include/irq-info.h
32include_bsp_HEADERS += ../../shared/include/stackalloc.h
33include_bsp_HEADERS += ../../shared/include/uart-output-char.h
34include_bsp_HEADERS += ../shared/include/arm-a8core-start.h
35include_bsp_HEADERS += ../shared/include/arm-cp15-start.h
36include_bsp_HEADERS += ../shared/include/arm-errata.h
37include_bsp_HEADERS += ../shared/include/arm-release-id.h
38include_bsp_HEADERS += ../shared/include/start.h
39include_bsp_HEADERS += include/irq.h
40include_bsp_HEADERS += include/i2c.h
41include_bsp_HEADERS += include/beagleboneblack.h
42include_bsp_HEADERS += include/bbb-gpio.h
43include_bsp_HEADERS += include/bbb-pwm.h
44
45include_libcpu_HEADERS =
46include_libcpu_HEADERS += ../../../libcpu/arm/shared/include/omap3.h
47include_libcpu_HEADERS += ../../../libcpu/arm/shared/include/am335x.h
48include_libcpu_HEADERS += ../../../libcpu/arm/shared/include/omap_timer.h
49
50###############################################################################
51#                  Data                                                       #
52###############################################################################
53
54noinst_LIBRARIES = libbspstart.a
55
56libbspstart_a_SOURCES = ../shared/start/start.S
57
58project_lib_DATA = start.$(OBJEXT)
59
60project_lib_DATA += startup/linkcmds
61project_lib_DATA += startup/linkcmds.beagle
62
63EXTRA_DIST = startup/linkcmds.beagle
64
65###############################################################################
66#                  LibBSP                                                     #
67###############################################################################
68
69noinst_LIBRARIES += libbsp.a
70
71libbsp_a_SOURCES =
72libbsp_a_CPPFLAGS =
73libbsp_a_LIBADD =
74
75# Shared
76libbsp_a_SOURCES += ../../shared/bootcard.c
77libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
78libbsp_a_SOURCES += ../../shared/src/bsp-fdt.c
79libbsp_a_SOURCES += ../../shared/bspclean.c
80libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
81libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
82libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
83libbsp_a_SOURCES += ../../shared/sbrk.c
84libbsp_a_SOURCES += ../../shared/src/stackalloc.c
85libbsp_a_SOURCES += ../../shared/gpio.c
86libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
87libbsp_a_SOURCES += ../../shared/timerstub.c
88libbsp_a_SOURCES += ../../shared/cpucounterread.c
89libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
90libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
91libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
92
93# Startup
94libbsp_a_SOURCES += startup/bspreset.c
95libbsp_a_SOURCES += startup/bspstart.c
96libbsp_a_SOURCES += startup/bspstarthooks.c
97libbsp_a_SOURCES += startup/bspstartmmu.c
98
99# IRQ
100libbsp_a_SOURCES += ../../shared/src/irq-default-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.c
107
108# Console
109libbsp_a_SOURCES += ../../shared/console.c \
110        ../../shared/console_select.c \
111  console/console-config.c \
112        ../../shared/console_read.c \
113        ../../shared/console_write.c \
114        ../../shared/console_control.c
115
116# I2C
117libbsp_a_SOURCES += i2c/bbb-i2c.c
118
119# GPIO
120libbsp_a_SOURCES += gpio/bbb-gpio.c
121
122#pwm
123libbsp_a_SOURCES += pwm/pwm.c
124
125#RTC
126libbsp_a_SOURCES += rtc.c
127libbsp_a_SOURCES += ../../shared/tod.c
128# Clock
129libbsp_a_SOURCES += clock.c
130libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
131
132# Cache
133libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
134libbsp_a_SOURCES += ../shared/include/arm-cache-l1.h
135libbsp_a_SOURCES += ../shared/armv467ar-basic-cache/cache_.h
136libbsp_a_CPPFLAGS += -I$(srcdir)/../shared/armv467ar-basic-cache
137
138###############################################################################
139#                  Special Rules                                              #
140###############################################################################
141
142DISTCLEANFILES = include/bspopts.h
143
144include $(srcdir)/preinstall.am
145include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.