source: rtems/c/src/lib/libbsp/epiphany/epiphany_sim/Makefile.am @ 642ef00

5
Last change on this file since 642ef00 was 642ef00, checked in by Sebastian Huber <sebastian.huber@…>, on 11/27/17 at 05:23:29

bsps: Provide <tm27.h> in each BSP

Since the <tm27.h> is highly BSP-dependent and used only by the tm27
test program we must provide this header file for each BSP. Without the
preinstall build target each header file must have a unique source
header file.

Update #3254.

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