Document and set a default for KERNEL_DIR

This commit is contained in:
christos 2020-04-04 23:54:06 +00:00
parent e6494e6f4f
commit c6e7fca7f4
2 changed files with 10 additions and 2 deletions

View File

@ -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 specified by ${TOOLDIR} should
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

View File

@ -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