source: rtems/c/src/lib/libbsp/riscv/riscv/Makefile.am @ 2086948a

Last change on this file since 2086948a was 2086948a, checked in by Sebastian Huber <sebastian.huber@…>, on May 11, 2018 at 4:54:59 AM

riscv: Add dummy SMP support

Update #3433.

  • Property mode set to 100644
File size: 2.7 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 = ../../../../../../bsps/riscv/riscv/start/bsp_specs
12
13###############################################################################
14#                  Header                                                     #
15###############################################################################
16
17###############################################################################
18#                  Data                                                       #
19###############################################################################
20
21start.$(OBJEXT): ../../../../../../bsps/riscv/riscv/start/start.S
22        $(CPPASCOMPILE) -o $@ -c $<
23project_lib_DATA = start.$(OBJEXT)
24
25project_lib_DATA += linkcmds
26project_lib_DATA += ../../../../../../bsps/riscv/riscv/start/linkcmds.base
27
28###############################################################################
29#                  LibBSP                                                     #
30###############################################################################
31
32project_lib_LIBRARIES = librtemsbsp.a
33
34# Startup
35librtemsbsp_a_SOURCES = ../../../../../../bsps/shared/start/bspreset-empty.c
36librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspstart-empty.c
37librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv/start/bsp_fatal_halt.c
38
39# Shared
40librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
41librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
42librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
43librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
44
45# clock
46librtemsbsp_a_SOURCES +=../../../../../../bsps/riscv/riscv/clock/clockdrv.c
47
48# Timer
49librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv/btimer/btimer.c
50
51# console
52librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-polled.c
53
54# IRQ
55librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
56librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv/irq/irq.c
57
58# Cache
59librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
60
61# debugio
62librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv/console/console-io.c
63
64if HAS_SMP
65librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspsmp-dummy.c
66endif
67
68include $(top_srcdir)/../../../../automake/local.am
69include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
70include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
71include $(srcdir)/../../../../../../bsps/riscv/riscv/headers.am
Note: See TracBrowser for help on using the repository browser.