2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
10 define KernelPackage
/fs-cifs
14 FILES
:=$(LINUX_DIR
)/fs
/cifs
/cifs.
$(LINUX_KMOD_SUFFIX
)
15 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
16 $(call AddDepends
/nls
)
20 define KernelPackage
/fs-cifs
/description
21 Kernel module for CIFS support
24 $(eval
$(call KernelPackage
,fs-cifs
))
27 define KernelPackage
/fs-minix
29 TITLE
:=Minix filesystem support
30 KCONFIG
:=CONFIG_MINIX_FS
31 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.
$(LINUX_KMOD_SUFFIX
)
32 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
35 define KernelPackage
/fs-minix
/description
36 Kernel module for Minix filesystem support
39 $(eval
$(call KernelPackage
,fs-minix
))
42 define KernelPackage
/fs-ntfs
44 TITLE
:=NTFS filesystem support
45 KCONFIG
:=CONFIG_NTFS_FS
46 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.
$(LINUX_KMOD_SUFFIX
)
47 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
48 $(call AddDepends
/nls
)
51 define KernelPackage
/fs-ntfs
/description
52 Kernel module for NTFS filesystem support
55 $(eval
$(call KernelPackage
,fs-ntfs
))
58 define KernelPackage
/fs-mbcache
60 TITLE
:=mbcache
(used by ext2
/ext3
/ext4
)
61 KCONFIG
:=CONFIG_FS_MBCACHE
62 ifneq ($(CONFIG_FS_MBCACHE
),)
63 FILES
:=$(LINUX_DIR
)/fs
/mbcache.
$(LINUX_KMOD_SUFFIX
)
64 AUTOLOAD
:=$(call AutoLoad
,20,mbcache
,1)
68 define KernelPackage
/fs-ext2
/description
69 Meta Block cache used by ext2
/ext3
70 This package will only be installed if extended attributes
71 are enabled for ext2
/ext3
73 $(eval
$(call KernelPackage
,fs-mbcache
))
75 define KernelPackage
/fs-ext2
77 TITLE
:=EXT2 filesystem support
78 KCONFIG
:=CONFIG_EXT2_FS
79 DEPENDS
:=$(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
)
80 FILES
:=$(LINUX_DIR
)/fs
/ext2
/ext2.
$(LINUX_KMOD_SUFFIX
)
81 AUTOLOAD
:=$(call AutoLoad
,32,ext2
,1)
84 define KernelPackage
/fs-ext2
/description
85 Kernel module for EXT2 filesystem support
88 $(eval
$(call KernelPackage
,fs-ext2
,1))
91 define KernelPackage
/fs-ext3
93 TITLE
:=EXT3 filesystem support
97 DEPENDS
:=$(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
)
99 $(LINUX_DIR
)/fs
/ext3
/ext3.
$(LINUX_KMOD_SUFFIX
) \
100 $(LINUX_DIR
)/fs
/jbd
/jbd.
$(LINUX_KMOD_SUFFIX
)
101 AUTOLOAD
:=$(call AutoLoad
,31,jbd ext3
,1)
104 define KernelPackage
/fs-ext3
/description
105 Kernel module for EXT3 filesystem support
108 $(eval
$(call KernelPackage
,fs-ext3
))
110 define KernelPackage
/fs-ext4
112 TITLE
:=EXT4 filesystem support
114 CONFIG_EXT4_FS_XATTR
=y \
115 CONFIG_EXT4_FS_POSIX_ACL
=y \
116 CONFIG_EXT4_FS_SECURITY
=y \
119 DEPENDS
:= @LINUX_2_6
$(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
)
121 $(LINUX_DIR
)/fs
/ext4
/ext4.
$(LINUX_KMOD_SUFFIX
) \
122 $(LINUX_DIR
)/fs
/jbd2
/jbd2.
$(LINUX_KMOD_SUFFIX
)
123 AUTOLOAD
:=$(call AutoLoad
,30,jbd2 ext4
,1)
124 $(call AddDepends
/crc16
)
127 define KernelPackage
/fs-ext4
/description
128 Kernel module for EXT4 filesystem support
131 $(eval
$(call KernelPackage
,fs-ext4
))
135 define KernelPackage
/fs-hfs
137 TITLE
:=HFS
+ filesystem support
138 KCONFIG
:=CONFIG_HFS_FS
139 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.
$(LINUX_KMOD_SUFFIX
)
140 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
141 $(call AddDepends
/nls
)
144 define KernelPackage
/fs-hfs
/description
145 Kernel module for HFS filesystem support
148 $(eval
$(call KernelPackage
,fs-hfs
))
151 define KernelPackage
/fs-hfsplus
153 TITLE
:=HFS
+ filesystem support
154 KCONFIG
:=CONFIG_HFSPLUS_FS
155 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.
$(LINUX_KMOD_SUFFIX
)
156 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
157 $(call AddDepends
/nls
,utf8
)
161 define KernelPackage
/fs-hfsplus
/description
162 Kernel module for HFS
+ filesystem support
165 $(eval
$(call KernelPackage
,fs-hfsplus
))
168 define KernelPackage
/fs-isofs
170 TITLE
:=ISO9660 filesystem support
171 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
172 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.
$(LINUX_KMOD_SUFFIX
)
173 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
174 $(call AddDepends
/nls
)
178 define KernelPackage
/fs-isofs
/description
179 Kernel module for ISO9660 filesystem support
182 $(eval
$(call KernelPackage
,fs-isofs
))
185 define KernelPackage
/fs-udf
187 TITLE
:=UDF filesystem support
188 KCONFIG
:=CONFIG_UDF_FS
189 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.
$(LINUX_KMOD_SUFFIX
)
190 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
191 $(call AddDepends
/nls
)
195 define KernelPackage
/fs-udf
/description
196 Kernel module for UDF filesystem support
199 $(eval
$(call KernelPackage
,fs-udf
))
201 define KernelPackage
/fs-nfs-common
203 TITLE
:=Common NFS filesystem modules
208 $(LINUX_DIR
)/fs
/lockd
/lockd.
$(LINUX_KMOD_SUFFIX
) \
209 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.
$(LINUX_KMOD_SUFFIX
)
210 AUTOLOAD
:=$(call AutoLoad
,30,sunrpc lockd
)
213 $(eval
$(call KernelPackage
,fs-nfs-common
))
216 define KernelPackage
/fs-nfs-common-v4
218 TITLE
:=Common NFS V4 filesystem modules
223 DEPENDS
:= @LINUX_2_6 @BROKEN
224 FILES
+=$(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.
$(LINUX_KMOD_SUFFIX
)
225 AUTOLOAD
=$(call AutoLoad
,30,auth_rpcgss
)
228 define KernelPackage
/fs-nfs-common-v4
/description
229 Kernel modules for NFS V4
& NFSD V4 kernel support
232 $(eval
$(call KernelPackage
,fs-nfs-common-v4
))
235 define KernelPackage
/fs-nfs
237 TITLE
:=NFS filesystem support
238 DEPENDS
:=+kmod-fs-nfs-common
242 $(LINUX_DIR
)/fs
/nfs
/nfs.
$(LINUX_KMOD_SUFFIX
)
243 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
246 define KernelPackage
/fs-nfs
/description
247 Kernel module for NFS support
250 $(eval
$(call KernelPackage
,fs-nfs
))
253 define KernelPackage
/fs-exportfs
255 TITLE
:=exportfs kernel server support
256 KCONFIG
:=CONFIG_EXPORTFS
257 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.
$(LINUX_KMOD_SUFFIX
)
258 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
)
261 define KernelPackage
/fs-exportfs
/description
262 Kernel module for exportfs. Needed for some other modules.
265 $(eval
$(call KernelPackage
,fs-exportfs
))
268 define KernelPackage
/fs-nfsd
270 TITLE
:=NFS kernel server support
271 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
273 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.
$(LINUX_KMOD_SUFFIX
)
274 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
277 define KernelPackage
/fs-nfsd
/description
278 Kernel module for NFS kernel server support
281 $(eval
$(call KernelPackage
,fs-nfsd
))
283 define KernelPackage
/fs-msdos
285 TITLE
:=MSDOS filesystem support
286 KCONFIG
:=CONFIG_MSDOS_FS
287 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.
$(LINUX_KMOD_SUFFIX
)
288 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
289 $(call AddDepends
/nls
)
292 define KernelPackage
/fs-msdos
/2.4
293 FILES
:=$(LINUX_DIR
)/fs
/msdos
/msdos.
$(LINUX_KMOD_SUFFIX
)
296 define KernelPackage
/fs-msdos
/description
297 Kernel module for MSDOS filesystem support
300 $(eval
$(call KernelPackage
,fs-msdos
))
303 define KernelPackage
/fs-reiserfs
305 TITLE
:=ReiserFS filesystem support
306 KCONFIG
:=CONFIG_REISERFS_FS
307 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.
$(LINUX_KMOD_SUFFIX
)
308 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
311 define KernelPackage
/fs-reiserfs
/description
312 Kernel module for ReiserFS support
315 $(eval
$(call KernelPackage
,fs-reiserfs
))
317 define KernelPackage
/fs-vfat
319 TITLE
:=VFAT filesystem support
324 $(LINUX_DIR
)/fs
/fat
/fat.
$(LINUX_KMOD_SUFFIX
) \
325 $(LINUX_DIR
)/fs
/fat
/vfat.
$(LINUX_KMOD_SUFFIX
)
326 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
327 $(call AddDepends
/nls
)
330 define KernelPackage
/fs-vfat
/2.4
332 $(LINUX_DIR
)/fs
/fat
/fat.
$(LINUX_KMOD_SUFFIX
) \
333 $(LINUX_DIR
)/fs
/vfat
/vfat.
$(LINUX_KMOD_SUFFIX
)
336 define KernelPackage
/fs-vfat
/description
337 Kernel module for VFAT filesystem support
340 $(eval
$(call KernelPackage
,fs-vfat
))
343 define KernelPackage
/fs-xfs
345 TITLE
:=XFS filesystem support
346 KCONFIG
:=CONFIG_XFS_FS
347 DEPENDS
:= +kmod-fs-exportfs
348 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.
$(LINUX_KMOD_SUFFIX
)
349 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
352 define KernelPackage
/fs-xfs
/description
353 Kernel module for XFS support
356 $(eval
$(call KernelPackage
,fs-xfs
))
358 define KernelPackage
/fs-btrfs
360 TITLE
:=BTRFS filesystem support
364 CONFIG_BTRFS_FS_POSIX_ACL
=n
366 DEPENDS
:=+kmod-crypto-core
+kmod-crypto-misc
368 $(LINUX_DIR
)/lib
/libcrc32c.
$(LINUX_KMOD_SUFFIX
) \
369 $(LINUX_DIR
)/fs
/btrfs
/btrfs.
$(LINUX_KMOD_SUFFIX
)
370 AUTOLOAD
:=$(call AutoLoad
,30,crc32c libcrc32c btrfs
,1)
373 define KernelPackage
/fs-btrfs
/description
374 Kernel module for BTRFS support
377 $(eval
$(call KernelPackage
,fs-btrfs
))
379 define KernelPackage
/fs-autofs4
381 TITLE
:=AUTOFS4 filesystem support
382 KCONFIG
:=CONFIG_AUTOFS4_FS
383 FILES
:=$(LINUX_DIR
)/fs
/autofs4
/autofs4.
$(LINUX_KMOD_SUFFIX
)
384 AUTOLOAD
:=$(call AutoLoad
,30,autofs4
)
387 define KernelPackage
/fs-autofs4
/description
388 Kernel module for AutoFS4 support
391 $(eval
$(call KernelPackage
,fs-autofs4
))