summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.alpha
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.alpha
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.alpha')
-rw-r--r--sys/conf/Makefile.alpha3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/Makefile.alpha b/sys/conf/Makefile.alpha
index 37f7897..f4e9bcc 100644
--- a/sys/conf/Makefile.alpha
+++ b/sys/conf/Makefile.alpha
@@ -326,6 +326,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