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

4.115
Last change on this file since fd57015 was fd57015, checked in by Hesham ALMatary <heshamelmatary@…>, on Aug 20, 2014 at 5:23:20 PM

Add new (first) OpenRISC BSP called or1ksim.

This BSP is intended to run on or1ksim (the main OpenRISC emulator).
Fixed version according to Joel comments from the mailing list.

  • Property mode set to 100644
File size: 3.7 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
12#include_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
24
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/tod.h
33include_bsp_HEADERS += ../../shared/include/tm27.h
34include_bsp_HEADERS += include/irq.h
35include_bsp_HEADERS += include/uart.h
36include_bsp_HEADERS += include/or1ksim.h
37
38nodist_include_HEADERS = ../../shared/include/coverhd.h \
39  include/bspopts.h
40
41###############################################################################
42#                  Data                                                       #
43###############################################################################
44
45noinst_LIBRARIES = libbspstart.a
46
47libbspstart_a_SOURCES = start/start.S
48
49project_lib_DATA = start.$(OBJEXT)
50
51project_lib_DATA += startup/linkcmds
52project_lib_DATA += ../shared/startup/linkcmds.base
53
54###############################################################################
55#                  LibBSP                                                     #
56###############################################################################
57
58noinst_LIBRARIES += libbsp.a
59
60libbsp_a_SOURCES =
61libbsp_a_CPPFLAGS =
62libbsp_a_LIBADD =
63
64# Startup
65libbsp_a_SOURCES += ../../shared/bspstart.c
66libbsp_a_SOURCES += ../../shared/bspreset.c
67
68# Shared
69libbsp_a_SOURCES += ../../shared/bootcard.c
70libbsp_a_SOURCES += ../../shared/bspclean.c
71libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
72libbsp_a_SOURCES += ../../shared/bsplibc.c
73libbsp_a_SOURCES += ../../shared/bsppost.c
74libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
75libbsp_a_SOURCES += ../../shared/bsppretaskinghook.c
76libbsp_a_SOURCES += ../../shared/cpucounterread.c
77libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
78libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
79libbsp_a_SOURCES += ../../shared/sbrk.c
80libbsp_a_SOURCES += ../../shared/src/stackalloc.c
81
82# Console
83libbsp_a_SOURCES += ../../shared/console.c
84libbsp_a_SOURCES += ../../shared/console_control.c
85libbsp_a_SOURCES += ../../shared/console_read.c
86libbsp_a_SOURCES += ../../shared/console_select.c
87libbsp_a_SOURCES += ../../shared/console_write.c
88libbsp_a_SOURCES += console/console-config.c
89libbsp_a_SOURCES += console/uart.c
90
91# Timer
92libbsp_a_SOURCES += timer/timer.c
93
94# clock
95libbsp_a_SOURCES += clock/clockdrv.c ../../../shared/clockdrv_shell.h
96
97# IRQ
98libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
99libbsp_a_SOURCES += ../../shared/src/irq-generic.c
100libbsp_a_SOURCES += ../../shared/src/irq-info.c
101libbsp_a_SOURCES += irq/irq.c
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.