source: rtems/c/src/lib/libbsp/sparc/erc32/Makefile.am @ 8df1f408

4.11
Last change on this file since 8df1f408 was 8df1f408, checked in by Christian Mauderer <Christian.Mauderer@…>, on Jun 2, 2014 at 2:31:51 PM

score/sparc: Add support for paravirtualization

Guest systems in paravirtualization environments run usually in user
mode. Thus it is not possible to directly access the PSR and TBR
registers. Use functions instead of inline assembler to access these
registers if RTEMS_PARAVIRT is defined.

  • Property mode set to 100644
File size: 3.2 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4
5include_bspdir = $(includedir)/bsp
6
7dist_project_lib_DATA = bsp_specs
8
9include_HEADERS = include/bsp.h
10include_HEADERS += include/tm27.h
11
12nodist_include_HEADERS = include/bspopts.h
13nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
14DISTCLEANFILES = include/bspopts.h
15
16noinst_PROGRAMS =
17
18include_HEADERS += include/erc32.h
19include_HEADERS += ../../shared/include/coverhd.h
20
21noinst_LIBRARIES = libbspstart.a
22libbspstart_a_SOURCES = ../../sparc/shared/start/start.S
23project_lib_DATA = start.$(OBJEXT)
24
25dist_project_lib_DATA += startup/linkcmds ../shared/startup/linkcmds.base
26
27noinst_LIBRARIES += libbsp.a
28libbsp_a_SOURCES =
29
30# startup
31libbsp_a_SOURCES += ../../shared/bspclean.c
32libbsp_a_SOURCES += ../../shared/bsplibc.c
33libbsp_a_SOURCES += startup/bsppredriver.c
34libbsp_a_SOURCES += ../../sparc/shared/startup/bspgetworkarea.c
35libbsp_a_SOURCES += ../../sparc/shared/bsppretaskinghook.c
36libbsp_a_SOURCES += ../../shared/bsppost.c
37libbsp_a_SOURCES += ../../shared/bspstart.c
38libbsp_a_SOURCES += ../../shared/bootcard.c
39libbsp_a_SOURCES += ../../shared/bspinit.c
40libbsp_a_SOURCES += ../../shared/sbrk.c
41libbsp_a_SOURCES += startup/setvec.c
42libbsp_a_SOURCES += startup/spurious.c
43libbsp_a_SOURCES += startup/erc32mec.c
44libbsp_a_SOURCES += startup/boardinit.S
45libbsp_a_SOURCES += startup/bspidle.c
46libbsp_a_SOURCES += startup/bspdelay.c
47libbsp_a_SOURCES += ../../sparc/shared/startup/early_malloc.c
48# ISR Handler
49libbsp_a_SOURCES += ../../sparc/shared/cpu.c
50libbsp_a_SOURCES += ../../sparc/shared/irq_asm.S
51# gnatsupp
52libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
53include_bsp_HEADERS = ../shared/include/gnatcommon.h
54# console
55libbsp_a_SOURCES += console/erc32_console.c ../../shared/console.c \
56    ../../shared/console_select.c  ../../shared/console_control.c \
57    ../../shared/console_read.c ../../shared/console_write.c
58# debugio
59libbsp_a_SOURCES += console/debugputs.c
60# clock
61libbsp_a_SOURCES += clock/ckinit.c
62libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
63# timer
64libbsp_a_SOURCES += timer/timer.c
65
66# IRQ
67include_bsp_HEADERS += \
68    ../../shared/include/irq-generic.h \
69    ../../shared/include/irq-info.h \
70    include/bsp/irq.h
71libbsp_a_SOURCES += \
72    ../../sparc/shared/irq/irq-shared.c \
73    ../../shared/src/irq-default-handler.c \
74    ../../shared/src/irq-generic.c \
75    ../../shared/src/irq-info.c \
76    ../../shared/src/irq-legacy.c \
77    ../../shared/src/irq-server.c \
78    ../../shared/src/irq-shell.c
79
80if HAS_SMP
81libbsp_a_SOURCES += ../../shared/bspsmp.c
82libbsp_a_SOURCES += ../../shared/bspsmpgetcurrentprocessor.c
83endif
84
85if HAS_NETWORKING
86erc32sonic_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
87noinst_PROGRAMS += erc32sonic.rel
88erc32sonic_rel_SOURCES = erc32sonic/erc32sonic.c
89erc32sonic_rel_CPPFLAGS = $(AM_CPPFLAGS) $(erc32sonic_CPPFLAGS)
90erc32sonic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
91endif
92
93libbsp_a_LIBADD  = \
94    ../../../libcpu/@RTEMS_CPU@/access.rel \
95    ../../../libcpu/@RTEMS_CPU@/cache.rel \
96    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
97    ../../../libcpu/@RTEMS_CPU@/syscall.rel
98if HAS_NETWORKING
99libbsp_a_LIBADD += erc32sonic.rel
100endif
101
102EXTRA_DIST = times
103
104include $(srcdir)/preinstall.am
105include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.