summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.i386
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-04-02 08:52:05 +0000
committerimp <imp@FreeBSD.org>2001-04-02 08:52:05 +0000
commita24ec299ea9604c83b151707b8879b3ef69b50d4 (patch)
tree6c8ff29318c4f81bf16aca3bca70f76043fa4a31 /sys/conf/Makefile.i386
parent162a118d7df784de3e3a1a6d11173d733ab45d79 (diff)
downloadFreeBSD-src-a24ec299ea9604c83b151707b8879b3ef69b50d4.zip
FreeBSD-src-a24ec299ea9604c83b151707b8879b3ef69b50d4.tar.gz
Add support for MODULES_OVERRIDE. This is a list of modules to build
instead of all of them. You can put this in /etc/make.conf or in makeoptions. Reviewed by: arch@ # docs to follow.
Diffstat (limited to 'sys/conf/Makefile.i386')
-rw-r--r--sys/conf/Makefile.i3863
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386
index 2fa7b9a..55b4f54 100644
--- a/sys/conf/Makefile.i386
+++ b/sys/conf/Makefile.i386
@@ -286,6 +286,9 @@ reinstall.debug: modules-reinstall.debug
.endif
MKMODULESENV= MAKEOBJDIRPREFIX=${.OBJDIR}/modules KMODDIR=${KODIR}
+.if defined(MODULES_OVERRIDE)
+MKMODULESENV+= MODULES_OVERRIDE="${MODULES_OVERRIDE}"
+.endif
modules:
@mkdir -p ${.OBJDIR}/modules
OpenPOWER on IntegriCloud