Module Name: src
Committed By: rillig
Date: Sat Aug 27 20:37:49 UTC 2022
Modified Files:
src/sys/conf: Makefile.kern.inc
Log Message:
sys: document how to run lint on the kernel code (experimental)
To generate a diff of this commit:
cvs rdiff -u -r1.294 -r1.295 src/sys/conf/Makefile.kern.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/conf/Makefile.kern.inc
diff -u src/sys/conf/Makefile.kern.inc:1.294 src/sys/conf/Makefile.kern.inc:1.295
--- src/sys/conf/Makefile.kern.inc:1.294 Wed Aug 3 09:37:37 2022
+++ src/sys/conf/Makefile.kern.inc Sat Aug 27 20:37:49 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.kern.inc,v 1.294 2022/08/03 09:37:37 riastradh Exp $
+# $NetBSD: Makefile.kern.inc,v 1.295 2022/08/27 20:37:49 rillig Exp $
#
# This file contains common `MI' targets and definitions and it is included
# at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -480,7 +480,7 @@ ${_v}.${_c:T}+=${OPT.${_c:T}:@.o.@${${_v
all: .gdbinit
.for k in ${KERNELS}
all: .WAIT ${k}
-${k}: ${SYSTEM_DEP:O} swap${k}.o vers.o build_kernel
+${k}: ${SYSTEM_DEP:O} swap${k}.o vers.o build_kernel #${MKLINT:Myes:%=lint}
.endfor
.if !defined(COPY_SYMTAB)