From 581a68a232f3accabfe6d628f1e0d81dda7d87e8 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 2 Apr 2001 08:52:05 +0000 Subject: 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. --- sys/modules/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/modules') diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 476863522427..0b504bc69065 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -30,4 +30,8 @@ SUBDIR+=snc SUBDIR+=osf1 .endif +.if defined(MODULES_OVERRIDE) +SUBDIR=${MODULES_OVERRIDE} +.endif + .include -- cgit v1.3