source: rtems/c/src/lib/libbsp/or1k/generic_or1k/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: 3.6 KB
Line 
1#
2# @file
3#
4# @brief Makefile of LibBSP for the generic_or1k BSP.
5#
6
7ACLOCAL_AMFLAGS = -I ../../../../aclocal
8
9include $(top_srcdir)/../../../../automake/compile.am
10
11include_bspdir = $(includedir)/bsp
12include_libcpudir = $(includedir)/libcpu
13
14dist_project_lib_DATA = bsp_specs
15
16###############################################################################
17#                  Header                                                     #
18###############################################################################
19
20include_bsp_HEADERS =
21include_HEADERS = include/bsp.h
22include_HEADERS += include/tm27.h
23
24nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
25include_bsp_HEADERS += ../shared/include/linker-symbols.h
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/uart-output-char.h
32include_bsp_HEADERS += ../shared/include/cache_.h
33include_bsp_HEADERS += include/irq.h
34include_bsp_HEADERS += include/uart.h
35include_bsp_HEADERS += include/generic_or1k.h
36
37nodist_include_HEADERS = include/bspopts.h
38
39###############################################################################
40#                  Data                                                       #
41###############################################################################
42
43noinst_LIBRARIES = libbspstart.a
44
45libbspstart_a_SOURCES = start/start.S
46
47project_lib_DATA = start.$(OBJEXT)
48
49project_lib_DATA += startup/linkcmds
50project_lib_DATA += ../shared/startup/linkcmds.base
51
52###############################################################################
53#                  LibBSP                                                     #
54###############################################################################
55
56noinst_LIBRARIES += libbsp.a
57
58libbsp_a_SOURCES =
59libbsp_a_CPPFLAGS =
60libbsp_a_LIBADD =
61
62# Startup
63libbsp_a_SOURCES += ../../shared/bspreset.c
64libbsp_a_SOURCES += startup/bspstart.c
65
66# Shared
67libbsp_a_SOURCES += ../../shared/bootcard.c
68libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
69libbsp_a_SOURCES += ../../shared/bspclean.c
70libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
71libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
72libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
73libbsp_a_SOURCES += ../../shared/sbrk.c
74libbsp_a_SOURCES += ../../shared/src/stackalloc.c
75
76# Console
77libbsp_a_SOURCES += ../../shared/console.c
78libbsp_a_SOURCES += ../../shared/console_control.c
79libbsp_a_SOURCES += ../../shared/console_read.c
80libbsp_a_SOURCES += ../../shared/console_select.c
81libbsp_a_SOURCES += ../../shared/console_write.c
82libbsp_a_SOURCES += console/console-config.c
83libbsp_a_SOURCES += console/uart.c
84
85# Timer
86libbsp_a_SOURCES += timer/timer.c
87
88# clock
89libbsp_a_SOURCES += clock/clockdrv.c ../../../shared/clockdrv_shell.h
90
91# IRQ
92libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
93libbsp_a_SOURCES += ../../shared/src/irq-generic.c
94libbsp_a_SOURCES += ../../shared/src/irq-info.c
95libbsp_a_SOURCES += irq/irq.c
96
97# Cache
98libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel
99
100###############################################################################
101#                  Special Rules                                              #
102###############################################################################
103
104DISTCLEANFILES = include/bspopts.h
105
106include $(srcdir)/preinstall.am
107include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.