Provide a WITHOUT_MODULES variable that specifies a list of modules
to elide. This is a somewhat more convenient way of specifying in e.g. make.conf a list of modules you know you will never need. PR: kern/76225 Submitted by: David Yeske <dyeske@yahoo.com> MFC after: 2 weeks
This commit is contained in:
parent
e394c4c99a
commit
dace4e05a9
@ -460,6 +460,10 @@ _sound= sound
|
||||
SUBDIR=${MODULES_OVERRIDE}
|
||||
.endif
|
||||
|
||||
.for reject in ${WITHOUT_MODULES}
|
||||
SUBDIR:= ${SUBDIR:N${reject}}
|
||||
.endfor
|
||||
|
||||
# Calling kldxref(8) for each module is expensive.
|
||||
.if !defined(NO_XREF)
|
||||
.MAKEFLAGS+= -DNO_XREF
|
||||
|
Loading…
Reference in New Issue
Block a user