aboutsummaryrefslogtreecommitdiff
path: root/riscv/Makefrag.am
blob: d90a10fe777c51100ee982b4f5c8ff06d4dc2371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# Makefile fragment for the Xen platform.

# Copyright (C) 2024 Free Software Foundation, Inc.

# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any later
# version.
# 
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.
# 
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

#
# RISCV support.
#
EXTRA_DIST += \
	riscv/riscv/mach_riscv.srv \
	riscv/riscv/riscvasm.sym \
	riscv/ldscript \
	riscv/include/asm/ \
	riscv/include/

libkernel_a_SOURCES += \
	riscv/riscv/boothdr.S \
	riscv/riscv/setup.c \
	riscv/riscv/model_dep.c \
	riscv/riscv/model_dep.h

#
# Automatically generated source files.
#
# See Makerules.mig.am.
#

nodist_lib_dep_tr_for_defs_a_SOURCES += \
	riscv/riscv/mach_riscv.server.defs.c
nodist_libkernel_a_SOURCES += \
	riscv/riscv/mach_riscv.server.h \
	riscv/riscv/mach_riscv.server.c \
	riscv/riscv/mach_riscv.server.msgids
#	riscv/riscv/mach_riscv.server.defs

nodist_libkernel_a_SOURCES += \
	riscv/riscv/riscvasm.h

#
# Installation.
#

include_mach_riscvdir = $(includedir)/mach/riscv
include_mach_riscv_HEADERS = \
	riscv/include/mach/riscv/asm.h \
	riscv/include/mach/riscv/boolean.h \
	riscv/include/mach/riscv/eflags.h \
	riscv/include/mach/riscv/exception.h \
	riscv/include/mach/riscv/fp_reg.h \
	riscv/include/mach/riscv/ioccom.h \
	riscv/include/mach/riscv/kern_return.h \
	riscv/include/mach/riscv/mach_riscv.defs \
	riscv/include/mach/riscv/mach_riscv_types.h \
	riscv/include/mach/riscv/machine_types.defs \
	riscv/include/mach/riscv/multiboot.h \
	riscv/include/mach/riscv/syscall_sw.h \
	riscv/include/mach/riscv/thread_status.h \
	riscv/include/mach/riscv/trap.h \
	riscv/include/mach/riscv/vm_param.h \
	riscv/include/mach/riscv/vm_types.h

#
# Architecture specialities.
#

gnumach_LINKFLAGS += \
	--defsym _START_MAP=0x80100000 \
	--defsym _START=0x80100000 \
	-T '$(srcdir)'/riscv/ldscript