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

Last change on this file since f3ce8f41 was f3ce8f41, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:00:02 AM

bsps: Include bsp.am in all BSP Makefile.am

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