Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/etc.riscv riscv: Include kernel and bootloader in releas...



details:   https://anonhg.NetBSD.org/src/rev/441209778fee
branches:  trunk
changeset: 1023903:441209778fee
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Fri Oct 01 10:38:03 2021 +0000

description:
riscv: Include kernel and bootloader in releasedir.

This change adds a kern-GENERIC set and distributes an INSTALL kernel
along with bootriscv64.efi as part of a standard release build.

diffstat:

 etc/etc.riscv/Makefile.inc |  19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r 31e03e5d4a77 -r 441209778fee etc/etc.riscv/Makefile.inc
--- a/etc/etc.riscv/Makefile.inc        Fri Oct 01 06:08:43 2021 +0000
+++ b/etc/etc.riscv/Makefile.inc        Fri Oct 01 10:38:03 2021 +0000
@@ -0,0 +1,19 @@
+#      $NetBSD: Makefile.inc,v 1.2 2021/10/01 10:38:03 jmcneill Exp $
+#
+#      etc.riscv/Makefile.inc -- riscv-specific etc Makefile targets
+#
+
+KERNEL_SETS=           GENERIC
+EXTRA_KERNELS=         INSTALL
+
+.if ${MACHINE_ARCH} == "riscv64" && ${HAVE_UEFI} == "yes"
+INSTALLATION_DIRS+=    installation/misc
+.endif
+
+snap_md_post:
+.if ${MACHINE_ARCH} == "riscv64" && ${HAVE_UEFI} == "yes"
+       cd ${KERNSRCDIR}/stand/efiboot/bootriscv64 && ${MAKE} release
+       ${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/misc '*.efi'
+.endif
+
+.include <bsd.own.mk>



Home | Main Index | Thread Index | Old Index