source: rtems/c/src/lib/libbsp/or1k/or1ksim/Makefile.am @ baa3c91

4.115
Last change on this file since baa3c91 was baa3c91, checked in by Hesham ALMatary <heshamelmatary@…>, on Aug 22, 2014 at 8:22:37 PM

or1ksim BSP: Include cache manager stubs, and re-generate preinstall.am files.

  • Property mode set to 100644
File size: 3.9 KB
Line 
1#
2# @file
3#
4# @brief Makefile of LibBSP for the or1ksim 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
22
23nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
24include_bsp_HEADERS += ../shared/include/linker-symbols.h
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/uart-output-char.h
31include_bsp_HEADERS += ../../shared/tod.h
32include_bsp_HEADERS += ../../shared/include/tm27.h
33include_bsp_HEADERS += include/irq.h
34include_bsp_HEADERS += include/uart.h
35include_bsp_HEADERS += include/or1ksim.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/bspstart.c
65libbsp_a_SOURCES += ../../shared/bspreset.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/bsppretaskinghook.c
75libbsp_a_SOURCES += ../../shared/cpucounterread.c
76libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
77libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
78libbsp_a_SOURCES += ../../shared/sbrk.c
79libbsp_a_SOURCES += ../../shared/src/stackalloc.c
80
81# Console
82libbsp_a_SOURCES += ../../shared/console.c
83libbsp_a_SOURCES += ../../shared/console_control.c
84libbsp_a_SOURCES += ../../shared/console_read.c
85libbsp_a_SOURCES += ../../shared/console_select.c
86libbsp_a_SOURCES += ../../shared/console_write.c
87libbsp_a_SOURCES += console/console-config.c
88libbsp_a_SOURCES += console/uart.c
89
90# Timer
91libbsp_a_SOURCES += timer/timer.c
92
93# clock
94libbsp_a_SOURCES += clock/clockdrv.c ../../../shared/clockdrv_shell.h
95
96# IRQ
97libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
98libbsp_a_SOURCES += ../../shared/src/irq-generic.c
99libbsp_a_SOURCES += ../../shared/src/irq-info.c
100libbsp_a_SOURCES += irq/irq.c
101
102# Cache
103libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
104libbsp_a_SOURCES += ../../shared/include/cache_.h
105libbsp_a_CPPFLAGS = -I$(srcdir)/../../shared/include
106
107###############################################################################
108#                  Special Rules                                              #
109###############################################################################
110
111DISTCLEANFILES = include/bspopts.h
112
113include $(srcdir)/preinstall.am
114include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.