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