2 # Copyright (C) 2006-2011 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-fscache
12 TITLE:=General filesystem local cache manager
16 CONFIG_FSCACHE_STATS=y \
17 CONFIG_FSCACHE_HISTOGRAM=n \
18 CONFIG_FSCACHE_DEBUG=n \
19 CONFIG_FSCACHE_OBJECT_LIST=n \
21 CONFIG_CACHEFILES_DEBUG=n \
22 CONFIG_CACHEFILES_HISTOGRAM=n
23 FILES:=$(LINUX_DIR)/fs/fscache/fscache.ko
24 AUTOLOAD:=$(call AutoLoad,29,fscache)
27 $(eval $(call KernelPackage,fs-fscache))
29 define KernelPackage/fs-afs
31 TITLE:=Andrew FileSystem client
33 DEPENDS:=+kmod-rxrpc +kmod-dnsresolver +kmod-fs-fscache
38 FILES:=$(LINUX_DIR)/fs/afs/kafs.ko
39 AUTOLOAD:=$(call AutoLoad,30,kafs)
42 define KernelPackage/fs-afs/description
43 Kernel module for Andrew FileSystem client support
46 $(eval $(call KernelPackage,fs-afs))
48 define KernelPackage/fs-autofs4
50 TITLE:=AUTOFS4 filesystem support
51 KCONFIG:=CONFIG_AUTOFS4_FS
52 FILES:=$(LINUX_DIR)/fs/autofs4/autofs4.ko
53 AUTOLOAD:=$(call AutoLoad,30,autofs4)
56 define KernelPackage/fs-autofs4/description
57 Kernel module for AutoFS4 support
60 $(eval $(call KernelPackage,fs-autofs4))
63 define KernelPackage/fs-btrfs
65 TITLE:=BTRFS filesystem support
66 DEPENDS:=+kmod-lib-crc32c +kmod-lib-lzo +kmod-lib-zlib +kmod-lib-raid6 +kmod-lib-xor
69 CONFIG_BTRFS_FS_POSIX_ACL=n \
70 CONFIG_BTRFS_FS_CHECK_INTEGRITY=n
72 $(LINUX_DIR)/fs/btrfs/btrfs.ko
73 AUTOLOAD:=$(call AutoLoad,30,btrfs,1)
76 define KernelPackage/fs-btrfs/description
77 Kernel module for BTRFS support
80 $(eval $(call KernelPackage,fs-btrfs))
83 define KernelPackage/fs-cifs
89 CONFIG_CIFS_DFS_UPCALL=n \
91 FILES:=$(LINUX_DIR)/fs/cifs/cifs.ko
92 AUTOLOAD:=$(call AutoLoad,30,cifs)
93 $(call AddDepends/nls)
103 define KernelPackage/fs-cifs/description
104 Kernel module for CIFS support
107 $(eval $(call KernelPackage,fs-cifs))
110 define KernelPackage/fs-configfs
112 TITLE:=Configuration filesystem support
115 FILES:=$(LINUX_DIR)/fs/configfs/configfs.ko
116 AUTOLOAD:=$(call AutoLoad,30,configfs)
119 define KernelPackage/fs-configfs/description
120 Kernel module for configfs support
123 $(eval $(call KernelPackage,fs-configfs))
125 define KernelPackage/fs-cramfs
127 TITLE:=Compressed RAM/ROM filesystem support
128 DEPENDS:=+kmod-lib-zlib
131 FILES:=$(LINUX_DIR)/fs/cramfs/cramfs.ko
132 AUTOLOAD:=$(call AutoLoad,30,cramfs)
135 define KernelPackage/fs-cramfs/description
136 Kernel module for cramfs support
139 $(eval $(call KernelPackage,fs-cramfs))
141 define KernelPackage/fs-exportfs
143 TITLE:=exportfs kernel server support
144 KCONFIG:=CONFIG_EXPORTFS
145 FILES=$(LINUX_DIR)/fs/exportfs/exportfs.ko
146 AUTOLOAD:=$(call AutoLoad,20,exportfs,1)
149 define KernelPackage/fs-exportfs/description
150 Kernel module for exportfs. Needed for some other modules.
153 $(eval $(call KernelPackage,fs-exportfs))
156 define KernelPackage/fs-ext4
158 TITLE:=EXT4 filesystem support
164 CONFIG_EXT4_ENCRYPTION=n \
167 $(LINUX_DIR)/fs/ext4/ext4.ko \
168 $(LINUX_DIR)/fs/jbd2/jbd2.ko \
169 $(LINUX_DIR)/fs/mbcache.ko
170 AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1)
173 define KernelPackage/fs-ext4/description
174 Kernel module for EXT4 filesystem support
177 $(eval $(call KernelPackage,fs-ext4))
180 define KernelPackage/fs-f2fs
182 TITLE:=F2FS filesystem support
185 CONFIG_F2FS_STAT_FS=y \
186 CONFIG_F2FS_FS_XATTR=y \
187 CONFIG_F2FS_FS_POSIX_ACL=n \
188 CONFIG_F2FS_FS_SECURITY=n \
189 CONFIG_F2FS_CHECK_FS=n
190 FILES:=$(LINUX_DIR)/fs/f2fs/f2fs.ko
191 AUTOLOAD:=$(call AutoLoad,30,f2fs,1)
194 define KernelPackage/fs-f2fs/description
195 Kernel module for F2FS filesystem support
198 $(eval $(call KernelPackage,fs-f2fs))
201 define KernelPackage/fuse
203 TITLE:=FUSE (Filesystem in Userspace) support
204 KCONFIG:= CONFIG_FUSE_FS
205 FILES:=$(LINUX_DIR)/fs/fuse/fuse.ko
206 AUTOLOAD:=$(call AutoLoad,80,fuse)
209 define KernelPackage/fuse/description
210 Kernel module for userspace filesystem support
213 $(eval $(call KernelPackage,fuse))
216 define KernelPackage/fs-hfs
218 TITLE:=HFS filesystem support
219 KCONFIG:=CONFIG_HFS_FS
220 FILES:=$(LINUX_DIR)/fs/hfs/hfs.ko
221 AUTOLOAD:=$(call AutoLoad,30,hfs)
222 $(call AddDepends/nls)
225 define KernelPackage/fs-hfs/description
226 Kernel module for HFS filesystem support
229 $(eval $(call KernelPackage,fs-hfs))
232 define KernelPackage/fs-hfsplus
234 TITLE:=HFS+ filesystem support
235 KCONFIG:=CONFIG_HFSPLUS_FS
236 FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.ko
237 AUTOLOAD:=$(call AutoLoad,30,hfsplus)
238 $(call AddDepends/nls,utf8)
241 define KernelPackage/fs-hfsplus/description
242 Kernel module for HFS+ filesystem support
245 $(eval $(call KernelPackage,fs-hfsplus))
248 define KernelPackage/fs-isofs
250 TITLE:=ISO9660 filesystem support
251 DEPENDS:=+kmod-lib-zlib
252 KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
253 FILES:=$(LINUX_DIR)/fs/isofs/isofs.ko
254 AUTOLOAD:=$(call AutoLoad,30,isofs)
255 $(call AddDepends/nls)
258 define KernelPackage/fs-isofs/description
259 Kernel module for ISO9660 filesystem support
262 $(eval $(call KernelPackage,fs-isofs))
265 define KernelPackage/fs-minix
267 TITLE:=Minix filesystem support
268 KCONFIG:=CONFIG_MINIX_FS
269 FILES:=$(LINUX_DIR)/fs/minix/minix.ko
270 AUTOLOAD:=$(call AutoLoad,30,minix)
273 define KernelPackage/fs-minix/description
274 Kernel module for Minix filesystem support
277 $(eval $(call KernelPackage,fs-minix))
280 define KernelPackage/fs-msdos
282 TITLE:=MSDOS filesystem support
283 DEPENDS:=+kmod-fs-vfat
284 KCONFIG:=CONFIG_MSDOS_FS
285 FILES:=$(LINUX_DIR)/fs/fat/msdos.ko
286 AUTOLOAD:=$(call AutoLoad,40,msdos)
287 $(call AddDepends/nls)
290 define KernelPackage/fs-msdos/description
291 Kernel module for MSDOS filesystem support
294 $(eval $(call KernelPackage,fs-msdos))
297 define KernelPackage/fs-nfs
299 TITLE:=NFS filesystem support
300 DEPENDS:=+kmod-fs-nfs-common +kmod-dnsresolver
303 CONFIG_NFS_USE_LEGACY_DNS=n \
304 CONFIG_NFS_USE_NEW_IDMAPPER=n
306 $(LINUX_DIR)/fs/nfs/nfs.ko \
307 $(LINUX_DIR)/fs/nfs/nfsv3.ko
308 AUTOLOAD:=$(call AutoLoad,40,nfs nfsv3)
311 define KernelPackage/fs-nfs/description
312 Kernel module for NFS support
315 $(eval $(call KernelPackage,fs-nfs))
318 define KernelPackage/fs-nfs-common
320 TITLE:=Common NFS filesystem modules
326 $(LINUX_DIR)/fs/lockd/lockd.ko \
327 $(LINUX_DIR)/net/sunrpc/sunrpc.ko \
328 $(LINUX_DIR)/fs/nfs_common/grace.ko
329 AUTOLOAD:=$(call AutoLoad,30,grace sunrpc lockd)
332 $(eval $(call KernelPackage,fs-nfs-common))
335 define KernelPackage/fs-nfs-common-v4
337 TITLE:=Common NFS V4 filesystem modules
343 FILES+=$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko
344 AUTOLOAD=$(call AutoLoad,30,auth_rpcgss)
347 define KernelPackage/fs-nfs-common-v4/description
348 Kernel modules for NFS V4 & NFSD V4 kernel support
351 $(eval $(call KernelPackage,fs-nfs-common-v4))
354 define KernelPackage/fs-nfsd
356 TITLE:=NFS kernel server support
357 DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs
360 CONFIG_NFSD_FAULT_INJECTION=n
361 FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
362 AUTOLOAD:=$(call AutoLoad,40,nfsd)
365 define KernelPackage/fs-nfsd/description
366 Kernel module for NFS kernel server support
369 $(eval $(call KernelPackage,fs-nfsd))
372 define KernelPackage/fs-ntfs
374 TITLE:=NTFS filesystem support
375 KCONFIG:=CONFIG_NTFS_FS
376 FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.ko
377 AUTOLOAD:=$(call AutoLoad,30,ntfs)
378 $(call AddDepends/nls)
381 define KernelPackage/fs-ntfs/description
382 Kernel module for NTFS filesystem support
385 $(eval $(call KernelPackage,fs-ntfs))
388 define KernelPackage/fs-reiserfs
390 TITLE:=ReiserFS filesystem support
391 KCONFIG:=CONFIG_REISERFS_FS \
392 CONFIG_REISERFS_FS_XATTR=y
393 FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.ko
394 AUTOLOAD:=$(call AutoLoad,30,reiserfs,1)
397 define KernelPackage/fs-reiserfs/description
398 Kernel module for ReiserFS support
401 $(eval $(call KernelPackage,fs-reiserfs))
404 define KernelPackage/fs-udf
406 TITLE:=UDF filesystem support
407 KCONFIG:=CONFIG_UDF_FS
408 FILES:=$(LINUX_DIR)/fs/udf/udf.ko
409 AUTOLOAD:=$(call AutoLoad,30,udf)
410 DEPENDS:=+kmod-lib-crc-itu-t
411 $(call AddDepends/nls)
414 define KernelPackage/fs-udf/description
415 Kernel module for UDF filesystem support
418 $(eval $(call KernelPackage,fs-udf))
421 define KernelPackage/fs-vfat
423 TITLE:=VFAT filesystem support
428 $(LINUX_DIR)/fs/fat/fat.ko \
429 $(LINUX_DIR)/fs/fat/vfat.ko
430 AUTOLOAD:=$(call AutoLoad,30,fat vfat)
431 $(call AddDepends/nls)
434 define KernelPackage/fs-vfat/description
435 Kernel module for VFAT filesystem support
438 $(eval $(call KernelPackage,fs-vfat))
441 define KernelPackage/fs-xfs
443 TITLE:=XFS filesystem support
444 KCONFIG:=CONFIG_XFS_FS
445 DEPENDS:= +kmod-fs-exportfs +kmod-lib-crc32c
446 FILES:=$(LINUX_DIR)/fs/xfs/xfs.ko
447 AUTOLOAD:=$(call AutoLoad,30,xfs,1)
450 define KernelPackage/fs-xfs/description
451 Kernel module for XFS support
454 $(eval $(call KernelPackage,fs-xfs))
457 define KernelPackage/fs-jfs
459 TITLE:=JFS filesystem support
460 KCONFIG:=CONFIG_JFS_FS
461 FILES:=$(LINUX_DIR)/fs/jfs/jfs.ko
462 AUTOLOAD:=$(call AutoLoad,30,jfs,1)
463 $(call AddDepends/nls)
466 define KernelPackage/fs-jfs/description
467 Kernel module for JFS support
470 $(eval $(call KernelPackage,fs-jfs))