source: rtems/c/src/lib/libbsp/riscv/riscv_generic/Makefile.am @ 2d0bc83

Last change on this file since 2d0bc83 was 2d0bc83, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 30, 2018 at 6:42:21 PM

build: Remove EXTRA_DIST

A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.

  • Property mode set to 100644
File size: 2.3 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
11dist_project_lib_DATA = startup/bsp_specs
12
13###############################################################################
14#                  Header                                                     #
15###############################################################################
16
17###############################################################################
18#                  Data                                                       #
19###############################################################################
20
21start.$(OBJEXT): start/start.S
22        $(CPPASCOMPILE) -o $@ -c $<
23project_lib_DATA = start.$(OBJEXT)
24
25project_lib_DATA += linkcmds
26
27###############################################################################
28#                  LibBSP                                                     #
29###############################################################################
30
31noinst_LIBRARIES = libbsp.a
32
33# Startup
34libbsp_a_SOURCES = ../../shared/bspreset.c
35libbsp_a_SOURCES += ../../shared/bspstart.c
36libbsp_a_SOURCES += startup/bsp_fatal_halt.c
37
38# Shared
39libbsp_a_SOURCES += ../../shared/bootcard.c
40libbsp_a_SOURCES += ../../shared/bspclean.c
41libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
42libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
43libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
44libbsp_a_SOURCES += ../../shared/sbrk.c
45libbsp_a_SOURCES += ../../shared/src/stackalloc.c
46libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
47
48# clock
49libbsp_a_SOURCES += clock/clockdrv.c ../../../shared/clockdrv_shell.h
50
51# Timer
52libbsp_a_SOURCES += timer/timer.c
53
54# console
55libbsp_a_SOURCES += ../../shared/console-polled.c
56
57# IRQ
58libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
59libbsp_a_SOURCES += ../../shared/src/irq-generic.c
60libbsp_a_SOURCES += ../../shared/src/irq-info.c
61libbsp_a_SOURCES += irq/irq.c
62
63# Cache
64libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
65
66# debugio
67libbsp_a_SOURCES += console/console-io.c
68
69DISTCLEANFILES = include/bspopts.h
70
71include $(top_srcdir)/../../../../automake/local.am
72include $(srcdir)/../../../../../../bsps/riscv/riscv_generic/headers.am
Note: See TracBrowser for help on using the repository browser.