Make it possible to specify WITHOUT_MODULES in a kernel config file.

MFC after:	1 week
This commit is contained in:
Colin Percival 2010-12-27 23:52:40 +00:00
parent be59eea018
commit 2b3e1fb085
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216746

View file

@ -170,6 +170,9 @@ MKMODULESENV+= ALL_MODULES=LINT
.if defined(MODULES_OVERRIDE)
MKMODULESENV+= MODULES_OVERRIDE="${MODULES_OVERRIDE}"
.endif
.if defined(WITHOUT_MODULES)
MKMODULESENV+= WITHOUT_MODULES="${WITHOUT_MODULES}"
.endif
.if defined(DEBUG)
MKMODULESENV+= DEBUG_FLAGS="${DEBUG}"
.endif