diff options
author | Pasha <pasha@member.fsf.org> | 2024-02-20 18:55:36 +0000 |
---|---|---|
committer | Pasha <pasha@member.fsf.org> | 2024-02-20 18:55:36 +0000 |
commit | 6fca8abef7e6d7be1a9e6d93dd0f2b7fbc5b28e5 (patch) | |
tree | 9f5ccbaa6ec19ff5a42d9b3cde01f739e1d7c77d /riscv/Makefrag.am | |
parent | 5e0b8d508ed51004bd836384293be00950ee62c9 (diff) | |
download | gnumach-riscv-master.tar.gz gnumach-riscv-master.tar.bz2 |
Diffstat (limited to 'riscv/Makefrag.am')
-rw-r--r-- | riscv/Makefrag.am | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/riscv/Makefrag.am b/riscv/Makefrag.am new file mode 100644 index 0000000..d90a10f --- /dev/null +++ b/riscv/Makefrag.am @@ -0,0 +1,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 |