Module Name:    src
Committed By:   jmcneill
Date:           Fri Oct  1 10:38:03 UTC 2021

Modified Files:
        src/etc/etc.riscv: Makefile.inc

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/etc/etc.riscv/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/etc.riscv/Makefile.inc
diff -u src/etc/etc.riscv/Makefile.inc:1.1 src/etc/etc.riscv/Makefile.inc:1.2
--- src/etc/etc.riscv/Makefile.inc:1.1	Fri Sep 19 17:36:24 2014
+++ src/etc/etc.riscv/Makefile.inc	Fri Oct  1 10:38:03 2021
@@ -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>

Reply via email to