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
bec6d0ea5a
commit
ba2e59039d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140502
@ -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