aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrelease/release.sh7
-rw-r--r--release/tools/arm.subr6
2 files changed, 8 insertions, 5 deletions
diff --git a/release/release.sh b/release/release.sh
index 6e76b0cb37d1..2ed76fa31c61 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -144,7 +144,7 @@ env_check() {
WITH_COMPRESSED_IMAGES=
NODOC=yes
case ${EMBEDDED_TARGET}:${EMBEDDED_TARGET_ARCH} in
- arm:arm*|arm64:aarch64)
+ arm:arm*|arm64:aarch64|riscv:riscv64*)
chroot_build_release_cmd="chroot_arm_build_release"
;;
*)
@@ -400,6 +400,9 @@ efi_boot_name()
amd64)
echo "bootx64.efi"
;;
+ riscv)
+ echo "bootriscv64.efi"
+ ;;
esac
}
@@ -407,7 +410,7 @@ efi_boot_name()
chroot_arm_build_release() {
load_target_env
case ${EMBEDDED_TARGET} in
- arm|arm64)
+ arm|arm64|riscv)
if [ -e "${RELENGDIR}/tools/arm.subr" ]; then
. "${RELENGDIR}/tools/arm.subr"
fi
diff --git a/release/tools/arm.subr b/release/tools/arm.subr
index 1d4d195ca24d..1d4ae17d3851 100644
--- a/release/tools/arm.subr
+++ b/release/tools/arm.subr
@@ -27,7 +27,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# Common subroutines used to build arm SD card images.
+# Common subroutines used to build arm, arm64, or RISC-V SD card images.
#
# $FreeBSD$
#
@@ -265,11 +265,11 @@ arm_install_boot() {
}
arm_install_uboot() {
- # Override in the arm/KERNEL.conf file.
+ # Override in the ${EMBEDDED_TARGET}/${BOARDNAME}.conf file.
return 0
}
arm_do_quirk() {
- # Override in the arm{,64}/BOARD.conf file.
+ # Override in the ${EMBEDDED_TARGET}/${BOARDNAME}.conf file.
}