summaryrefslogtreecommitdiffstats
path: root/sys/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-06-17 10:51:56 +0000
committerobrien <obrien@FreeBSD.org>2000-06-17 10:51:56 +0000
commit53eb2d3431409c4cd030d84376e5cfd29c3cd3fc (patch)
tree9f63194b2c430b4a580a4d515fffe5c5899c7ce6 /sys/Makefile
parentbeeee4808aeae02ac7c4b02b3563544351d6387f (diff)
downloadFreeBSD-src-53eb2d3431409c4cd030d84376e5cfd29c3cd3fc.zip
FreeBSD-src-53eb2d3431409c4cd030d84376e5cfd29c3cd3fc.tar.gz
If "MODULES_WITH_WORLD" is defined, sys/modules will be built with the
world as was our old way, rather than when building a kernel. Some people do not like the new way, and the release building still assumes modules are built with the world.
Diffstat (limited to 'sys/Makefile')
-rw-r--r--sys/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/Makefile b/sys/Makefile
index 14331b3..6e370272 100644
--- a/sys/Makefile
+++ b/sys/Makefile
@@ -3,6 +3,11 @@
# The boot loader
SUBDIR= boot
+# KLD modules build for both a.out and ELF
+.if defined(MODULES_WITH_WORLD)
+SUBDIR+=modules
+.endif
+
HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud