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/9b5b62451fbc
branches:  trunk
changeset: 987540:9b5b62451fbc
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 382a885ed89e -r 9b5b62451fbc 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