source: rtems/c/src/lib/libbsp/riscv/riscv_generic/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: 3.0 KB
Line 
1##
2#
3# @brief Makefile of LibBSP for the RISCV/Spike simulator.
4#
5#
6ACLOCAL_AMFLAGS = -I ../../../../aclocal
7
8include $(top_srcdir)/../../../../automake/compile.am
9include $(top_srcdir)/../../bsp.am
10
11include_bspdir = $(includedir)/bsp
12include_libcpudir = $(includedir)/libcpu
13
14dist_project_lib_DATA = bsp_specs
15
16###############################################################################
17#                  Header                                                     #
18###############################################################################
19
20include_HEADERS = include/bsp.h
21include_HEADERS += include/tm27.h
22
23nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
24include_bsp_HEADERS = ../shared/include/linker-symbols.h
25
26include_bsp_HEADERS += ../../../libbsp/shared/include/mm.h
27include_bsp_HEADERS += ../../shared/include/utility.h
28include_bsp_HEADERS += ../../shared/include/irq-generic.h
29include_bsp_HEADERS += ../../shared/include/irq-info.h
30include_bsp_HEADERS += ../../shared/include/stackalloc.h
31include_bsp_HEADERS += ../../shared/include/console-polled.h
32include_bsp_HEADERS += include/irq.h
33
34nodist_include_HEADERS = include/bspopts.h
35
36###############################################################################
37#                  Data                                                       #
38###############################################################################
39noinst_LIBRARIES = libbspstart.a
40
41libbspstart_a_SOURCES = start/start.S
42
43project_lib_DATA = start.$(OBJEXT)
44
45project_lib_DATA += startup/linkcmds
46
47###############################################################################
48#                  LibBSP                                                     #
49###############################################################################
50
51noinst_LIBRARIES += libbsp.a
52
53# Startup
54libbsp_a_SOURCES = ../../shared/bspreset.c
55libbsp_a_SOURCES += ../../shared/bspstart.c
56libbsp_a_SOURCES += startup/bsp_fatal_halt.c
57
58# Shared
59libbsp_a_SOURCES += ../../shared/bootcard.c
60libbsp_a_SOURCES += ../../shared/bspclean.c
61libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
62libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
63libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
64libbsp_a_SOURCES += ../../shared/sbrk.c
65libbsp_a_SOURCES += ../../shared/src/stackalloc.c
66libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
67
68# clock
69libbsp_a_SOURCES += clock/clockdrv.c ../../../shared/clockdrv_shell.h
70
71# Timer
72libbsp_a_SOURCES += timer/timer.c
73
74# console
75libbsp_a_SOURCES += ../../shared/console-polled.c
76
77# IRQ
78libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
79libbsp_a_SOURCES += ../../shared/src/irq-generic.c
80libbsp_a_SOURCES += ../../shared/src/irq-info.c
81libbsp_a_SOURCES += irq/irq.c
82
83# Cache
84libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
85libbsp_a_SOURCES += ../../shared/include/cache_.h
86libbsp_a_CPPFLAGS = -I$(srcdir)/../../shared/include
87
88# debugio
89libbsp_a_SOURCES += console/console-io.c
90
91DISTCLEANFILES = include/bspopts.h
92
93include $(srcdir)/preinstall.am
94include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.