Module Name: src Committed By: christos Date: Sat Apr 4 23:54:06 UTC 2020
Modified Files: src/share/mk: bsd.README bsd.own.mk Log Message: Document and set a default for KERNEL_DIR To generate a diff of this commit: cvs rdiff -u -r1.400 -r1.401 src/share/mk/bsd.README cvs rdiff -u -r1.1179 -r1.1180 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/mk/bsd.README diff -u src/share/mk/bsd.README:1.400 src/share/mk/bsd.README:1.401 --- src/share/mk/bsd.README:1.400 Fri Apr 3 21:35:22 2020 +++ src/share/mk/bsd.README Sat Apr 4 19:54:06 2020 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.README,v 1.400 2020/04/04 01:35:22 christos Exp $ +# $NetBSD: bsd.README,v 1.401 2020/04/04 23:54:06 christos Exp $ # @(#)bsd.README 8.2 (Berkeley) 4/2/94 This is the README file for the make "include" files for the NetBSD @@ -849,6 +849,9 @@ USETOOLS Indicates whether the tools spe OBJECT_FMT Object file format. [set to "ELF" on architectures that use ELF -- currently all architectures]. +KERNEL_DIR Install the kernel as /netbsd/kernel and the modules + in /netbsd/modules, defaults to "no". + TOOLCHAIN_MISSING If not "no", this indicates that the platform being built does not have a working in-tree toolchain. If the Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1179 src/share/mk/bsd.own.mk:1.1180 --- src/share/mk/bsd.own.mk:1.1179 Sat Apr 4 16:47:56 2020 +++ src/share/mk/bsd.own.mk Sat Apr 4 19:54:06 2020 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1179 2020/04/04 20:47:56 christos Exp $ +# $NetBSD: bsd.own.mk,v 1.1180 2020/04/04 23:54:06 christos Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -1162,6 +1162,11 @@ GROFF_FLAGS ?= -dpaper=letter ROFF_PAGESIZE ?= -P-pletter .endif +# +# Install the kernel as /netbsd/kernel and the modules in /netbsd/modules +# +KERNEL_DIR?= no + # Only install the general firmware on some systems MKFIRMWARE.amd64= yes MKFIRMWARE.cobalt= yes