Source-Changes-HG archive

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

[src/trunk]: src/share/mk Document and set a default for KERNEL_DIR



details:   https://anonhg.NetBSD.org/src/rev/58e76528480d
branches:  trunk
changeset: 1008892:58e76528480d
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 04 23:54:06 2020 +0000

description:
Document and set a default for KERNEL_DIR

diffstat:

 share/mk/bsd.README |  5 ++++-
 share/mk/bsd.own.mk |  7 ++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r 095a0909a7a7 -r 58e76528480d share/mk/bsd.README
--- a/share/mk/bsd.README       Sat Apr 04 23:22:12 2020 +0000
+++ b/share/mk/bsd.README       Sat Apr 04 23:54:06 2020 +0000
@@ -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 @@
 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
diff -r 095a0909a7a7 -r 58e76528480d share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sat Apr 04 23:22:12 2020 +0000
+++ b/share/mk/bsd.own.mk       Sat Apr 04 23:54:06 2020 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index