freebsd-dev/share/mk
Mitchell Horne 2192efc03b RISC-V boot1.efi and loader.efi support
This implementation doesn't have any major deviations from the other EFI
ports. I've copied the boilerplate from arm and arm64.

I've tested this with the following boot flows:
OpenSBI (M-mode) -> u-boot (S-mode) -> loader.efi -> FreeBSD
OpenSBI (M-mode) -> u-boot (S-mode) -> boot1.efi -> loader.efi -> FreeBSD

Due to the way that u-boot handles secondary CPUs, OpenSBI >= v0.7 is required,
as the HSM extension is needed to bring them up explicitly. Because of this,
using BBL as the SBI implementation will not be possible. Additionally, there
are a few recent u-boot changes that are required as well, all of which will be
present in the upcoming v2020.07 release.

Looks good:	emaste
Differential Revision:	https://reviews.freebsd.org/D25135
2020-07-06 18:19:42 +00:00
..
atf.test.mk
auto.obj.mk
bsd.arch.inc.mk
bsd.clang-analyze.mk Move all sources from the llvm project into contrib/llvm-project. 2019-12-20 19:53:05 +00:00
bsd.compat.mk [PowerPC] Fix LIB32WMAKEFLAGS definition 2020-03-27 18:20:36 +00:00
bsd.compiler.mk Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
bsd.confs.mk
bsd.cpu.mk powerpc: --secure-plt only needs to pass to ld.bfd, not ld.lld 2020-03-30 16:24:05 +00:00
bsd.crunchgen.mk
bsd.dep.mk Allow per-file lex and yacc options. 2019-11-15 21:19:06 +00:00
bsd.dirs.mk
bsd.doc.mk
bsd.dtb.mk Introduce bsd.sysdir.mk to consolidate looking for the kernel. 2019-11-21 15:59:33 +00:00
bsd.endian.mk Remove sparc64 specific buid-system hacks 2020-02-26 18:49:20 +00:00
bsd.files.mk Use ${.ALLSRC:Ninstalldirs-*} instead of assuming order of .ALLSRC 2019-12-10 12:12:48 +00:00
bsd.incs.mk pkgbase: use -dev,-dbg instead of -development,-debug 2020-05-20 19:45:22 +00:00
bsd.info.mk
bsd.init.mk NO_OBJ: Always fix .OBJDIR regardless of AUTO_OBJ. 2020-04-07 17:07:04 +00:00
bsd.kmod.mk Introduce bsd.sysdir.mk to consolidate looking for the kernel. 2019-11-21 15:59:33 +00:00
bsd.lib.mk pkgbase: use -dev,-dbg instead of -development,-debug 2020-05-20 19:45:22 +00:00
bsd.libnames.mk
bsd.linker.mk Adjust the regex used for LINKER_FREEBSD_VERSION so it captures the last 2020-02-24 19:11:52 +00:00
bsd.links.mk
bsd.man.mk
bsd.mkopt.mk
bsd.nls.mk
bsd.obj.mk NO_OBJ: Always fix .OBJDIR regardless of AUTO_OBJ. 2020-04-07 17:07:04 +00:00
bsd.opts.mk Remove the SYMVER build option. 2020-04-30 22:08:40 +00:00
bsd.own.mk Standardize EFI's ESP mount point. 2019-11-20 21:06:29 +00:00
bsd.port.mk
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.prog.mk bsd.prog.mk: split MK_PIE test for clarity 2020-06-02 00:46:15 +00:00
bsd.progs.mk
bsd.README
bsd.snmpmod.mk
bsd.subdir.mk Support SUBDIR.${MK_FOO}.${MK_BAR} expresssions. 2020-03-17 18:17:32 +00:00
bsd.suffixes-posix.mk
bsd.suffixes.mk
bsd.symver.mk Remove the SYMVER build option. 2020-04-30 22:08:40 +00:00
bsd.sys.mk Revert part of r360964 2020-05-28 21:56:31 +00:00
bsd.sysdir.mk Introduce bsd.sysdir.mk to consolidate looking for the kernel. 2019-11-21 15:59:33 +00:00
bsd.test.mk
dirdeps-options.mk
dirdeps-targets.mk Update dirdeps.mk and gendirdeps.mk 2019-12-11 17:38:15 +00:00
dirdeps.mk Update dirdeps.mk and gendirdeps.mk 2019-12-11 17:38:15 +00:00
gendirdeps.mk Update dirdeps.mk and gendirdeps.mk 2019-12-11 17:38:15 +00:00
googletest.test.inc.mk Work around two -Werror warning issues in googletest, which have been 2020-01-31 18:26:23 +00:00
googletest.test.mk
host-target.mk
install-new.mk
kmod.opts.mk Add a kmod.opts.mk. 2019-11-21 18:14:26 +00:00
local.autodep.mk
local.dirdeps-options.mk retire BSD_CRTBEGIN option 2020-01-31 18:04:04 +00:00
local.dirdeps.mk retire the LLVM_LIBUNWIND option 2020-02-29 12:43:43 +00:00
local.gendirdeps.mk retire the LLVM_LIBUNWIND option 2020-02-29 12:43:43 +00:00
local.init.mk Include ${.CURDIR}/local.init.mk if it exists 2020-03-31 15:59:29 +00:00
local.meta.sys.mk Remove sparc64 specific buid-system hacks 2020-02-26 18:49:20 +00:00
local.sys.env.mk
local.sys.mk
Makefile Install bsd.sysdir.mk. 2019-11-21 19:54:10 +00:00
meta2deps.py
meta2deps.sh retire the LLVM_LIBUNWIND option 2020-02-29 12:43:43 +00:00
meta.autodep.mk
meta.stage.mk
meta.subdir.mk
meta.sys.mk Update dirdeps.mk and gendirdeps.mk 2019-12-11 17:38:15 +00:00
netbsd-tests.test.mk
plain.test.mk
src.init.mk
src.libnames.mk liblzma: Make liblzma use libmd implementation of SHA256. 2020-06-20 21:32:07 +00:00
src.lua.mk Add flua to the base system, install to /usr/libexec 2019-11-18 23:21:13 +00:00
src.opts.mk RISC-V boot1.efi and loader.efi support 2020-07-06 18:19:42 +00:00
src.sys.env.mk META_MODE: Allow 'make all install' to work with filemon. 2020-01-17 14:29:27 +00:00
src.sys.mk userland build: replace -fno-common with ${CFCOMMONFLAG} 2020-04-10 14:01:07 +00:00
src.sys.obj.mk
src.tools.mk Normalize deployment tools usage and definitions by putting into one place 2020-04-07 02:46:22 +00:00
stage-install.sh
suite.test.mk
sys.dependfile.mk
sys.mk Normalize deployment tools usage and definitions by putting into one place 2020-04-07 02:46:22 +00:00
tap.test.mk
version_gen.awk