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-9p
12 TITLE:=Plan 9 Resource Sharing Support
16 CONFIG_9P_FS_POSIX_ACL=n \
17 CONFIG_9P_FS_SECURITY=n \
19 FILES:=$(LINUX_DIR)/fs/9p/9p.ko
20 AUTOLOAD:=$(call AutoLoad,30,9p)
23 define KernelPackage/fs-9p/description
24 Kernel module for Plan 9 Resource Sharing Support support
27 $(eval $(call KernelPackage,fs-9p))
30 define KernelPackage/fs-afs
32 TITLE:=Andrew FileSystem client
34 DEPENDS:=+kmod-rxrpc +kmod-dnsresolver +kmod-fs-fscache
39 FILES:=$(LINUX_DIR)/fs/afs/kafs.ko
40 AUTOLOAD:=$(call AutoLoad,30,kafs)
43 define KernelPackage/fs-afs/description
44 Kernel module for Andrew FileSystem client support
47 $(eval $(call KernelPackage,fs-afs))
49 define KernelPackage/fs-autofs4
51 TITLE:=AUTOFS4 filesystem support
52 KCONFIG:=CONFIG_AUTOFS4_FS
53 FILES:=$(LINUX_DIR)/fs/autofs4/autofs4.ko
54 AUTOLOAD:=$(call AutoLoad,30,autofs4)
57 define KernelPackage/fs-autofs4/description
58 Kernel module for AutoFS4 support
61 $(eval $(call KernelPackage,fs-autofs4))
64 define KernelPackage/fs-btrfs
66 TITLE:=BTRFS filesystem support
67 DEPENDS:=+kmod-lib-crc32c +kmod-lib-lzo +kmod-lib-zlib-inflate +kmod-lib-zlib-deflate +kmod-lib-raid6 +kmod-lib-xor +LINUX_4_14:kmod-lib-zstd
70 CONFIG_BTRFS_FS_POSIX_ACL=n \
71 CONFIG_BTRFS_FS_CHECK_INTEGRITY=n
73 $(LINUX_DIR)/fs/btrfs/btrfs.ko
74 AUTOLOAD:=$(call AutoLoad,30,btrfs,1)
77 define KernelPackage/fs-btrfs/description
78 Kernel module for BTRFS support
81 $(eval $(call KernelPackage,fs-btrfs))
84 define KernelPackage/fs-cifs
90 CONFIG_CIFS_DFS_UPCALL=n \
91 CONFIG_CIFS_UPCALL=n \
93 FILES:=$(LINUX_DIR)/fs/cifs/cifs.ko
94 AUTOLOAD:=$(call AutoLoad,30,cifs)
95 $(call AddDepends/nls)
105 define KernelPackage/fs-cifs/description
106 Kernel module for CIFS support
109 $(eval $(call KernelPackage,fs-cifs))
112 define KernelPackage/fs-configfs
114 TITLE:=Configuration filesystem support
117 FILES:=$(LINUX_DIR)/fs/configfs/configfs.ko
118 AUTOLOAD:=$(call AutoLoad,30,configfs)
121 define KernelPackage/fs-configfs/description
122 Kernel module for configfs support
125 $(eval $(call KernelPackage,fs-configfs))
128 define KernelPackage/fs-cramfs
130 TITLE:=Compressed RAM/ROM filesystem support
131 DEPENDS:=+kmod-lib-zlib-inflate
134 FILES:=$(LINUX_DIR)/fs/cramfs/cramfs.ko
135 AUTOLOAD:=$(call AutoLoad,30,cramfs)
138 define KernelPackage/fs-cramfs/description
139 Kernel module for cramfs support
142 $(eval $(call KernelPackage,fs-cramfs))
145 define KernelPackage/fs-efivarfs
147 TITLE:=efivar filesystem support
148 KCONFIG:=CONFIG_EFIVAR_FS
149 FILES:=$(LINUX_DIR)/fs/efivarfs/efivarfs.ko
150 DEPENDS:=@(x86_64||x86)
151 AUTOLOAD:=$(call Autoload,90,efivarfs)
154 define KernelPackage/fs-efivarfs/description
155 Kernel module to support efivarfs file system mountpoint.
158 $(eval $(call KernelPackage,fs-efivarfs))
161 define KernelPackage/fs-exportfs
163 TITLE:=exportfs kernel server support
164 KCONFIG:=CONFIG_EXPORTFS
165 FILES=$(LINUX_DIR)/fs/exportfs/exportfs.ko
166 AUTOLOAD:=$(call AutoLoad,20,exportfs,1)
169 define KernelPackage/fs-exportfs/description
170 Kernel module for exportfs. Needed for some other modules.
173 $(eval $(call KernelPackage,fs-exportfs))
176 define KernelPackage/fs-ext4
178 TITLE:=EXT4 filesystem support
185 CONFIG_EXT4_ENCRYPTION=n \
188 $(LINUX_DIR)/fs/ext4/ext4.ko \
189 $(LINUX_DIR)/fs/jbd2/jbd2.ko \
190 $(LINUX_DIR)/fs/mbcache.ko
191 AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1)
194 define KernelPackage/fs-ext4/description
195 Kernel module for EXT4 filesystem support
198 $(eval $(call KernelPackage,fs-ext4))
201 define KernelPackage/fs-f2fs
203 TITLE:=F2FS filesystem support
204 DEPENDS:= +kmod-crypto-hash +kmod-crypto-crc32
207 CONFIG_F2FS_STAT_FS=y \
208 CONFIG_F2FS_FS_XATTR=y \
209 CONFIG_F2FS_FS_POSIX_ACL=n \
210 CONFIG_F2FS_FS_SECURITY=n \
211 CONFIG_F2FS_CHECK_FS=n
212 FILES:=$(LINUX_DIR)/fs/f2fs/f2fs.ko
213 AUTOLOAD:=$(call AutoLoad,30,f2fs,1)
216 define KernelPackage/fs-f2fs/description
217 Kernel module for F2FS filesystem support
220 $(eval $(call KernelPackage,fs-f2fs))
223 define KernelPackage/fs-fscache
225 TITLE:=General filesystem local cache manager
229 CONFIG_FSCACHE_STATS=y \
230 CONFIG_FSCACHE_HISTOGRAM=n \
231 CONFIG_FSCACHE_DEBUG=n \
232 CONFIG_FSCACHE_OBJECT_LIST=n \
233 CONFIG_CACHEFILES=y \
234 CONFIG_CACHEFILES_DEBUG=n \
235 CONFIG_CACHEFILES_HISTOGRAM=n
236 FILES:=$(LINUX_DIR)/fs/fscache/fscache.ko
237 AUTOLOAD:=$(call AutoLoad,29,fscache)
240 $(eval $(call KernelPackage,fs-fscache))
243 define KernelPackage/fs-hfs
245 TITLE:=HFS filesystem support
246 KCONFIG:=CONFIG_HFS_FS
247 FILES:=$(LINUX_DIR)/fs/hfs/hfs.ko
248 AUTOLOAD:=$(call AutoLoad,30,hfs)
249 $(call AddDepends/nls)
252 define KernelPackage/fs-hfs/description
253 Kernel module for HFS filesystem support
256 $(eval $(call KernelPackage,fs-hfs))
259 define KernelPackage/fs-hfsplus
261 TITLE:=HFS+ filesystem support
262 KCONFIG:=CONFIG_HFSPLUS_FS
263 FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.ko
264 AUTOLOAD:=$(call AutoLoad,30,hfsplus)
265 $(call AddDepends/nls,utf8)
268 define KernelPackage/fs-hfsplus/description
269 Kernel module for HFS+ filesystem support
272 $(eval $(call KernelPackage,fs-hfsplus))
275 define KernelPackage/fs-isofs
277 TITLE:=ISO9660 filesystem support
278 DEPENDS:=+kmod-lib-zlib-inflate
279 KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
280 FILES:=$(LINUX_DIR)/fs/isofs/isofs.ko
281 AUTOLOAD:=$(call AutoLoad,30,isofs)
282 $(call AddDepends/nls)
285 define KernelPackage/fs-isofs/description
286 Kernel module for ISO9660 filesystem support
289 $(eval $(call KernelPackage,fs-isofs))
292 define KernelPackage/fs-jfs
294 TITLE:=JFS filesystem support
295 KCONFIG:=CONFIG_JFS_FS
296 FILES:=$(LINUX_DIR)/fs/jfs/jfs.ko
297 AUTOLOAD:=$(call AutoLoad,30,jfs,1)
298 $(call AddDepends/nls)
301 define KernelPackage/fs-jfs/description
302 Kernel module for JFS support
305 $(eval $(call KernelPackage,fs-jfs))
307 define KernelPackage/fs-minix
309 TITLE:=Minix filesystem support
310 KCONFIG:=CONFIG_MINIX_FS
311 FILES:=$(LINUX_DIR)/fs/minix/minix.ko
312 AUTOLOAD:=$(call AutoLoad,30,minix)
315 define KernelPackage/fs-minix/description
316 Kernel module for Minix filesystem support
319 $(eval $(call KernelPackage,fs-minix))
322 define KernelPackage/fs-msdos
324 TITLE:=MSDOS filesystem support
325 DEPENDS:=+kmod-fs-vfat
326 KCONFIG:=CONFIG_MSDOS_FS
327 FILES:=$(LINUX_DIR)/fs/fat/msdos.ko
328 AUTOLOAD:=$(call AutoLoad,40,msdos)
329 $(call AddDepends/nls)
332 define KernelPackage/fs-msdos/description
333 Kernel module for MSDOS filesystem support
336 $(eval $(call KernelPackage,fs-msdos))
339 define KernelPackage/fs-nfs
341 TITLE:=NFS filesystem client support
342 DEPENDS:=+kmod-fs-nfs-common +kmod-dnsresolver
345 CONFIG_NFS_USE_LEGACY_DNS=n \
346 CONFIG_NFS_USE_NEW_IDMAPPER=n
348 $(LINUX_DIR)/fs/nfs/nfs.ko
349 AUTOLOAD:=$(call AutoLoad,40,nfs)
352 define KernelPackage/fs-nfs/description
353 Kernel module for NFS client support
356 $(eval $(call KernelPackage,fs-nfs))
359 define KernelPackage/fs-nfs-common
361 TITLE:=Common NFS filesystem modules
367 $(LINUX_DIR)/fs/lockd/lockd.ko \
368 $(LINUX_DIR)/net/sunrpc/sunrpc.ko \
369 $(LINUX_DIR)/fs/nfs_common/grace.ko
370 AUTOLOAD:=$(call AutoLoad,30,grace sunrpc lockd)
373 $(eval $(call KernelPackage,fs-nfs-common))
376 define KernelPackage/fs-nfs-common-rpcsec
378 TITLE:=NFS Secure RPC
380 +kmod-fs-nfs-common \
390 CONFIG_RPCSEC_GSS_KRB5
392 $(LINUX_DIR)/lib/oid_registry.ko \
393 $(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko \
394 $(LINUX_DIR)/net/sunrpc/auth_gss/rpcsec_gss_krb5.ko
395 AUTOLOAD:=$(call AutoLoad,31,oid_registry auth_rpcgss rpcsec_gss_krb5)
398 define KernelPackage/fs-nfs-common-rpcsec/description
399 Kernel modules for NFS Secure RPC
402 $(eval $(call KernelPackage,fs-nfs-common-rpcsec))
405 define KernelPackage/fs-nfs-v3
407 TITLE:=NFS3 filesystem client support
408 DEPENDS:=+kmod-fs-nfs
410 $(LINUX_DIR)/fs/nfs/nfsv3.ko
411 AUTOLOAD:=$(call AutoLoad,41,nfsv3)
414 define KernelPackage/fs-nfs-v3/description
415 Kernel module for NFS v3 client support
418 $(eval $(call KernelPackage,fs-nfs-v3))
421 define KernelPackage/fs-nfs-v4
423 TITLE:=NFS4 filesystem client support
424 DEPENDS:=+kmod-fs-nfs
428 $(LINUX_DIR)/fs/nfs/nfsv4.ko
429 AUTOLOAD:=$(call AutoLoad,41,nfsv4)
432 define KernelPackage/fs-nfs-v4/description
433 Kernel module for NFS v4 support
436 $(eval $(call KernelPackage,fs-nfs-v4))
439 define KernelPackage/fs-nfsd
441 TITLE:=NFS kernel server support
442 DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs
445 CONFIG_NFSD_FAULT_INJECTION=n
446 FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
447 AUTOLOAD:=$(call AutoLoad,40,nfsd)
450 define KernelPackage/fs-nfsd/description
451 Kernel module for NFS kernel server support
454 $(eval $(call KernelPackage,fs-nfsd))
457 define KernelPackage/fs-ntfs
459 TITLE:=NTFS filesystem support
460 KCONFIG:=CONFIG_NTFS_FS
461 FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.ko
462 AUTOLOAD:=$(call AutoLoad,30,ntfs)
463 $(call AddDepends/nls)
466 define KernelPackage/fs-ntfs/description
467 Kernel module for NTFS filesystem support
470 $(eval $(call KernelPackage,fs-ntfs))
473 define KernelPackage/fs-reiserfs
475 TITLE:=ReiserFS filesystem support
476 KCONFIG:=CONFIG_REISERFS_FS \
477 CONFIG_REISERFS_FS_XATTR=y
478 FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.ko
479 AUTOLOAD:=$(call AutoLoad,30,reiserfs,1)
482 define KernelPackage/fs-reiserfs/description
483 Kernel module for ReiserFS support
486 $(eval $(call KernelPackage,fs-reiserfs))
489 define KernelPackage/fs-squashfs
491 TITLE:=SquashFS 4.0 filesystem support
492 KCONFIG:=CONFIG_SQUASHFS \
494 FILES:=$(LINUX_DIR)/fs/squashfs/squashfs.ko
495 AUTOLOAD:=$(call AutoLoad,30,squashfs,1)
498 define KernelPackage/fs-squashfs/description
499 Kernel module for SquashFS 4.0 support
502 $(eval $(call KernelPackage,fs-squashfs))
505 define KernelPackage/fs-udf
507 TITLE:=UDF filesystem support
508 KCONFIG:=CONFIG_UDF_FS
509 FILES:=$(LINUX_DIR)/fs/udf/udf.ko
510 AUTOLOAD:=$(call AutoLoad,30,udf)
511 DEPENDS:=+kmod-lib-crc-itu-t
512 $(call AddDepends/nls)
515 define KernelPackage/fs-udf/description
516 Kernel module for UDF filesystem support
519 $(eval $(call KernelPackage,fs-udf))
522 define KernelPackage/fs-vfat
524 TITLE:=VFAT filesystem support
529 $(LINUX_DIR)/fs/fat/fat.ko \
530 $(LINUX_DIR)/fs/fat/vfat.ko
531 AUTOLOAD:=$(call AutoLoad,30,fat vfat)
532 $(call AddDepends/nls,cp437 iso8859-1 utf8)
535 define KernelPackage/fs-vfat/description
536 Kernel module for VFAT filesystem support
539 $(eval $(call KernelPackage,fs-vfat))
542 define KernelPackage/fs-xfs
544 TITLE:=XFS filesystem support
545 KCONFIG:=CONFIG_XFS_FS
546 DEPENDS:= +kmod-fs-exportfs +kmod-lib-crc32c
547 FILES:=$(LINUX_DIR)/fs/xfs/xfs.ko
548 AUTOLOAD:=$(call AutoLoad,30,xfs,1)
551 define KernelPackage/fs-xfs/description
552 Kernel module for XFS support
555 $(eval $(call KernelPackage,fs-xfs))
558 define KernelPackage/fuse
560 TITLE:=FUSE (Filesystem in Userspace) support
561 KCONFIG:= CONFIG_FUSE_FS
562 FILES:=$(LINUX_DIR)/fs/fuse/fuse.ko
563 AUTOLOAD:=$(call AutoLoad,80,fuse)
566 define KernelPackage/fuse/description
567 Kernel module for userspace filesystem support
570 $(eval $(call KernelPackage,fuse))