patch-1.3.26 linux/fs/Makefile

Next file: linux/fs/exec.c
Previous file: linux/drivers/sound/os.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.25/linux/fs/Makefile linux/fs/Makefile
@@ -26,12 +26,20 @@
   endif
 endif
 
-ifdef CONFIG_EXT_FS
+ifeq ($(CONFIG_EXT_FS),y)
 SUB_DIRS += ext
+else
+  ifeq ($(CONFIG_EXT_FS),m)
+  MOD_SUB_DIRS += ext
+  endif
 endif
 
-ifdef CONFIG_EXT2_FS
+ifeq ($(CONFIG_EXT2_FS),y)
 SUB_DIRS += ext2
+else
+  ifeq ($(CONFIG_EXT2_FS),m)
+  MOD_SUB_DIRS += ext2
+  endif
 endif
 
 ifeq ($(CONFIG_MSDOS_FS),y)

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected] with Sam's (original) version
of this