diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 1b2ca6d223cd..a648db2c0783 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -21,7 +21,6 @@ SUBDIR= 3dfx \ de \ digi \ ed \ - ext2fs \ fdescfs \ fdc \ fs \ @@ -139,6 +138,10 @@ SUBDIR+=snc SUBDIR+=osf1 .endif +.if defined(WANT_EXT2FS_MODULE) +SUBDIR+=ext2fs +.endif + .if defined(MODULES_OVERRIDE) SUBDIR=${MODULES_OVERRIDE} .endif