source: rtems/c/src/lib/libbsp/or1k/generic_or1k/Makefile.am @ 2858939a

5
Last change on this file since 2858939a was 2858939a, checked in by Sebastian Huber <sebastian.huber@…>, on 12/09/15 at 11:03:49

bsps: Delete superfluous bsp_pretasking_hook()

Use the bsp_predriver_hook() instead.

Update #2408.

  • 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 += ../../shared/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 = ../../shared/include/coverhd.h \
38  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/bspclean.c
70libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
71libbsp_a_SOURCES += ../../shared/bsplibc.c
72libbsp_a_SOURCES += ../../shared/bsppost.c
73libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
74libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
75libbsp_a_SOURCES += ../../shared/sbrk.c
76libbsp_a_SOURCES += ../../shared/src/stackalloc.c
77
78# Console
79libbsp_a_SOURCES += ../../shared/console.c
80libbsp_a_SOURCES += ../../shared/console_control.c
81libbsp_a_SOURCES += ../../shared/console_read.c
82libbsp_a_SOURCES += ../../shared/console_select.c
83libbsp_a_SOURCES += ../../shared/console_write.c
84libbsp_a_SOURCES += console/console-config.c
85libbsp_a_SOURCES += console/uart.c
86
87# Timer
88libbsp_a_SOURCES += timer/timer.c
89
90# clock
91libbsp_a_SOURCES += clock/clockdrv.c ../../../shared/clockdrv_shell.h
92
93# IRQ
94libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
95libbsp_a_SOURCES += ../../shared/src/irq-generic.c
96libbsp_a_SOURCES += ../../shared/src/irq-info.c
97libbsp_a_SOURCES += irq/irq.c
98
99# Cache
100libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel
101
102###############################################################################
103#                  Special Rules                                              #
104###############################################################################
105
106DISTCLEANFILES = include/bspopts.h
107
108include $(srcdir)/preinstall.am
109include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.