Do not build bus modules for vkernels.
authorSimon Schubert <corecode@dragonflybsd.org>
Thu, 1 Feb 2007 08:42:18 +0000 (08:42 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Thu, 1 Feb 2007 08:42:18 +0000 (08:42 +0000)
sys/Makefile.modules

index 37cc18e..aa2c70a 100644 (file)
@@ -1,11 +1,14 @@
 # Makefile.modules - build the modules (executed from the modules: target
 # in Makefile).
 #
-# $DragonFly: src/sys/Makefile.modules,v 1.5 2004/11/23 20:03:40 dillon Exp $
+# $DragonFly: src/sys/Makefile.modules,v 1.6 2007/02/01 08:42:18 corecode Exp $
 .if defined(MODULES_OVERRIDE)
 SUBDIR=${MODULES_OVERRIDE}
 .else
-SUBDIR=bus crypto emulation dev kern net netgraph netproto vfs
+.if ${MACHINE_PLATFORM} != "vkernel"
+SUBDIR=bus
+.endif
+SUBDIR+=crypto emulation dev kern net netgraph netproto vfs
 SUBDIR+=libiconv
 .endif