From 244b48f8b7b36bde8aa69872df8c6f1dd4cb3b37 Mon Sep 17 00:00:00 2001 From: Simon Schubert Date: Thu, 1 Feb 2007 08:42:18 +0000 Subject: [PATCH] Do not build bus modules for vkernels. --- sys/Makefile.modules | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/Makefile.modules b/sys/Makefile.modules index 37cc18e5dd..aa2c70aad1 100644 --- a/sys/Makefile.modules +++ b/sys/Makefile.modules @@ -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 -- 2.41.0