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
13 DEPENDS
:=+kmod-9pnet
+LINUX_6_1
:kmod-fs-netfs
+LINUX_6_6
:kmod-fs-netfs
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
56 $(LINUX_DIR
)/fs
/autofs
/autofs4.ko
57 AUTOLOAD
:=$(call AutoLoad
,30,autofs4
)
60 define KernelPackage
/fs-autofs4
/description
61 Kernel module for AutoFS4 support
64 $(eval
$(call KernelPackage
,fs-autofs4
))
67 define KernelPackage
/fs-btrfs
69 TITLE
:=BTRFS filesystem support
70 DEPENDS
:=+kmod-lib-crc32c
+kmod-lib-lzo
+kmod-lib-zlib-inflate
+kmod-lib-zlib-deflate
+kmod-lib-raid6
+kmod-lib-xor
+kmod-lib-zstd
73 CONFIG_BTRFS_FS_CHECK_INTEGRITY
=n
75 $(LINUX_DIR
)/fs
/btrfs
/btrfs.ko
76 AUTOLOAD
:=$(call AutoLoad
,30,btrfs
,1)
79 define KernelPackage
/fs-btrfs
/description
80 Kernel module for BTRFS support
83 $(eval
$(call KernelPackage
,fs-btrfs
))
86 define KernelPackage
/fs-smbfs-common
88 TITLE
:=SMBFS common dependencies support
90 DEPENDS
:=+LINUX_6_6
:kmod-fs-netfs
+LINUX_6_6
:kmod-nls-ucs2-utils
92 CONFIG_SMBFS_COMMON@lt6.1 \
95 $(LINUX_DIR
)/fs
/smbfs_common
/cifs_arc4.ko@lt6.1 \
96 $(LINUX_DIR
)/fs
/smbfs_common
/cifs_md4.ko@lt6.1 \
97 $(LINUX_DIR
)/fs
/smb
/common
/cifs_arc4.ko@ge6.1 \
98 $(LINUX_DIR
)/fs
/smb
/common
/cifs_md4.ko@ge6.1
101 define KernelPackage
/fs-smbfs-common
/description
102 Kernel module dependency for CIFS or SMB_SERVER support
105 $(eval
$(call KernelPackage
,fs-smbfs-common
))
108 define KernelPackage
/fs-cifs
113 CONFIG_CIFS_DFS_UPCALL
=n \
116 $(LINUX_DIR
)/fs
/cifs
/cifs.ko@lt6.1 \
117 $(LINUX_DIR
)/fs
/smb
/client
/cifs.ko@ge6.1
118 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
119 $(call AddDepends
/nls
)
121 +kmod-fs-smbfs-common \
123 +kmod-crypto-sha256 \
124 +kmod-crypto-sha512 \
136 define KernelPackage
/fs-cifs
/description
137 Kernel module for CIFS support
140 $(eval
$(call KernelPackage
,fs-cifs
))
143 define KernelPackage
/fs-configfs
145 TITLE
:=Configuration filesystem support
148 FILES
:=$(LINUX_DIR
)/fs
/configfs
/configfs.ko
149 AUTOLOAD
:=$(call AutoLoad
,30,configfs
)
152 define KernelPackage
/fs-configfs
/description
153 Kernel module for configfs support
156 $(eval
$(call KernelPackage
,fs-configfs
))
159 define KernelPackage
/fs-cramfs
161 TITLE
:=Compressed RAM
/ROM filesystem support
162 DEPENDS
:=+kmod-lib-zlib-inflate
165 FILES
:=$(LINUX_DIR
)/fs
/cramfs
/cramfs.ko
166 AUTOLOAD
:=$(call AutoLoad
,30,cramfs
)
169 define KernelPackage
/fs-cramfs
/description
170 Kernel module for cramfs support
173 $(eval
$(call KernelPackage
,fs-cramfs
))
176 define KernelPackage
/fs-efivarfs
178 TITLE
:=efivar filesystem support
179 KCONFIG
:=CONFIG_EFIVAR_FS
180 FILES
:=$(LINUX_DIR
)/fs
/efivarfs
/efivarfs.ko
181 DEPENDS
:=@
(x86_64||x86
)
182 AUTOLOAD
:=$(call Autoload
,90,efivarfs
)
185 define KernelPackage
/fs-efivarfs
/description
186 Kernel module to support efivarfs file system mountpoint.
189 $(eval
$(call KernelPackage
,fs-efivarfs
))
192 define KernelPackage
/fs-exfat
194 TITLE
:=exFAT filesystem support
197 CONFIG_EXFAT_DEFAULT_IOCHARSET
="utf8"
198 FILES
:= $(LINUX_DIR
)/fs
/exfat
/exfat.ko
199 AUTOLOAD
:=$(call AutoLoad
,30,exfat
,1)
200 DEPENDS
:=+kmod-nls-base
203 define KernelPackage
/fs-exfat
/description
204 Kernel module for exFAT filesystem support
207 $(eval
$(call KernelPackage
,fs-exfat
))
210 define KernelPackage
/fs-exportfs
212 TITLE
:=exportfs kernel server support
213 KCONFIG
:=CONFIG_EXPORTFS
214 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
215 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
,1)
218 define KernelPackage
/fs-exportfs
/description
219 Kernel module for exportfs. Needed for some other modules.
222 $(eval
$(call KernelPackage
,fs-exportfs
))
225 define KernelPackage
/fs-ext4
227 TITLE
:=EXT4 filesystem support
234 CONFIG_EXT4_ENCRYPTION
=n \
237 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
238 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko \
239 $(LINUX_DIR
)/fs
/mbcache.ko
240 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
243 define KernelPackage
/fs-ext4
/description
244 Kernel module for EXT4 filesystem support
247 $(eval
$(call KernelPackage
,fs-ext4
))
250 define KernelPackage
/fs-f2fs
252 TITLE
:=F2FS filesystem support
253 DEPENDS
:= +kmod-crypto-hash
+kmod-crypto-crc32
+kmod-nls-base
254 KCONFIG
:=CONFIG_F2FS_FS
255 FILES
:=$(LINUX_DIR
)/fs
/f2fs
/f2fs.ko
256 AUTOLOAD
:=$(call AutoLoad
,30,f2fs
,1)
259 define KernelPackage
/fs-f2fs
/description
260 Kernel module for F2FS filesystem support
263 $(eval
$(call KernelPackage
,fs-f2fs
))
266 define KernelPackage
/fs-fscache
268 TITLE
:=General filesystem local cache manager
269 DEPENDS
:=+kmod-fs-netfs
272 CONFIG_FSCACHE_STATS
=y \
273 CONFIG_FSCACHE_HISTOGRAM
=n \
274 CONFIG_FSCACHE_DEBUG
=n \
275 CONFIG_FSCACHE_OBJECT_LIST
=n \
277 CONFIG_CACHEFILES_DEBUG
=n \
278 CONFIG_CACHEFILES_HISTOGRAM
=n \
279 CONFIG_CACHEFILES_ERROR_INJECTION
=n@ge5.17 \
280 CONFIG_CACHEFILES_ONDEMAND
=n@ge5.19
282 $(LINUX_DIR
)/fs
/fscache
/fscache.ko \
283 $(LINUX_DIR
)/fs
/cachefiles
/cachefiles.ko
284 AUTOLOAD
:=$(call AutoLoad
,29,fscache cachefiles
)
287 $(eval
$(call KernelPackage
,fs-fscache
))
290 define KernelPackage
/fs-hfs
292 TITLE
:=HFS filesystem support
294 KCONFIG
:=CONFIG_HFS_FS
295 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
296 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
297 $(call AddDepends
/nls
)
300 define KernelPackage
/fs-hfs
/description
301 Kernel module for HFS filesystem support
304 $(eval
$(call KernelPackage
,fs-hfs
))
307 define KernelPackage
/fs-hfsplus
309 TITLE
:=HFS
+ filesystem support
311 KCONFIG
:=CONFIG_HFSPLUS_FS
312 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
313 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
314 $(call AddDepends
/nls
,utf8
)
317 define KernelPackage
/fs-hfsplus
/description
318 Kernel module for HFS
+ filesystem support
321 $(eval
$(call KernelPackage
,fs-hfsplus
))
324 define KernelPackage
/fs-isofs
326 TITLE
:=ISO9660 filesystem support
327 DEPENDS
:=+kmod-lib-zlib-inflate
+kmod-cdrom
328 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
329 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
330 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
331 $(call AddDepends
/nls
)
334 define KernelPackage
/fs-isofs
/description
335 Kernel module for ISO9660 filesystem support
338 $(eval
$(call KernelPackage
,fs-isofs
))
341 define KernelPackage
/fs-jfs
343 TITLE
:=JFS filesystem support
344 KCONFIG
:=CONFIG_JFS_FS
345 FILES
:=$(LINUX_DIR
)/fs
/jfs
/jfs.ko
346 AUTOLOAD
:=$(call AutoLoad
,30,jfs
,1)
347 DEPENDS
:=+LINUX_6_6
:kmod-nls-ucs2-utils
348 $(call AddDepends
/nls
)
351 define KernelPackage
/fs-jfs
/description
352 Kernel module for JFS support
355 $(eval
$(call KernelPackage
,fs-jfs
))
358 define KernelPackage
/fs-ksmbd
360 TITLE
:=SMB kernel server support
368 +kmod-crypto-sha256 \
370 +kmod-crypto-sha512 \
376 +kmod-fs-smbfs-common
379 CONFIG_SMB_SERVER_SMBDIRECT
=n \
380 CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN
=n \
381 CONFIG_SMB_SERVER_KERBEROS5
=n
383 $(LINUX_DIR
)/fs
/ksmbd
/ksmbd.ko@lt6.1 \
384 $(LINUX_DIR
)/fs
/smb
/server
/ksmbd.ko@ge6.1
385 AUTOLOAD
:=$(call AutoLoad
,41,ksmbd
)
388 define KernelPackage
/fs-ksmbd
/description
389 Kernel module for SMB kernel server support
392 $(eval
$(call KernelPackage
,fs-ksmbd
))
395 define KernelPackage
/fs-minix
397 TITLE
:=Minix filesystem support
398 KCONFIG
:=CONFIG_MINIX_FS
399 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
400 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
403 define KernelPackage
/fs-minix
/description
404 Kernel module for Minix filesystem support
407 $(eval
$(call KernelPackage
,fs-minix
))
410 define KernelPackage
/fs-msdos
412 TITLE
:=MSDOS filesystem support
413 DEPENDS
:=+kmod-fs-vfat
414 KCONFIG
:=CONFIG_MSDOS_FS
415 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
416 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
417 $(call AddDepends
/nls
)
420 define KernelPackage
/fs-msdos
/description
421 Kernel module for MSDOS filesystem support
424 $(eval
$(call KernelPackage
,fs-msdos
))
427 define KernelPackage
/fs-netfs
429 TITLE
:=Network Filesystems support
430 KCONFIG
:= CONFIG_NETFS_SUPPORT
431 FILES
:=$(LINUX_DIR
)/fs
/netfs
/netfs.ko
432 AUTOLOAD
:=$(call AutoLoad
,28,netfs
)
435 $(eval
$(call KernelPackage
,fs-netfs
))
438 define KernelPackage
/fs-nfs
440 TITLE
:=NFS filesystem client support
441 DEPENDS
:=+kmod-fs-nfs-common
+kmod-dnsresolver
444 CONFIG_NFS_USE_LEGACY_DNS
=n \
445 CONFIG_NFS_USE_NEW_IDMAPPER
=n
447 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
448 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
451 define KernelPackage
/fs-nfs
/description
452 Kernel module for NFS client support
455 $(eval
$(call KernelPackage
,fs-nfs
))
458 define KernelPackage
/fs-nfs-common
460 TITLE
:=Common NFS filesystem modules
461 DEPENDS
:=+kmod-oid-registry
465 CONFIG_GRACE_PERIOD \
468 CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN
="kernel.org" \
469 CONFIG_NFS_V4_1_MIGRATION
=n \
471 CONFIG_NFS_V4_2_READ_PLUS
=n
473 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
474 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko \
475 $(LINUX_DIR
)/fs
/nfs_common
/grace.ko
476 AUTOLOAD
:=$(call AutoLoad
,30,grace sunrpc lockd
)
479 $(eval
$(call KernelPackage
,fs-nfs-common
))
482 define KernelPackage
/fs-nfs-common-rpcsec
484 TITLE
:=NFS Secure RPC
486 +kmod-fs-nfs-common \
497 CONFIG_RPCSEC_GSS_KRB5
499 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko \
500 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/rpcsec_gss_krb5.ko
501 AUTOLOAD
:=$(call AutoLoad
,31,auth_rpcgss rpcsec_gss_krb5
)
504 define KernelPackage
/fs-nfs-common-rpcsec
/description
505 Kernel modules for NFS Secure RPC
508 $(eval
$(call KernelPackage
,fs-nfs-common-rpcsec
))
511 define KernelPackage
/fs-nfs-v3
513 TITLE
:=NFS3 filesystem client support
514 DEPENDS
:=+kmod-fs-nfs
516 $(LINUX_DIR
)/fs
/nfs
/nfsv3.ko
517 AUTOLOAD
:=$(call AutoLoad
,41,nfsv3
)
520 define KernelPackage
/fs-nfs-v3
/description
521 Kernel module for NFS v3 client support
524 $(eval
$(call KernelPackage
,fs-nfs-v3
))
527 define KernelPackage
/fs-nfs-v4
529 TITLE
:=NFS4 filesystem client support
530 DEPENDS
:=+kmod-fs-nfs
534 $(LINUX_DIR
)/fs
/nfs
/nfsv4.ko
535 AUTOLOAD
:=$(call AutoLoad
,41,nfsv4
)
538 define KernelPackage
/fs-nfs-v4
/description
539 Kernel module for NFS v4 client support
542 $(eval
$(call KernelPackage
,fs-nfs-v4
))
545 define KernelPackage
/fs-nfsd
547 TITLE
:=NFS kernel server support
548 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
+kmod-fs-nfs-common-rpcsec
552 CONFIG_NFSD_V4_SECURITY_LABEL
=n \
553 CONFIG_NFSD_BLOCKLAYOUT
=n \
554 CONFIG_NFSD_SCSILAYOUT
=n \
555 CONFIG_NFSD_FLEXFILELAYOUT
=n \
556 CONFIG_NFSD_FAULT_INJECTION
=n \
557 CONFIG_NFSD_V4_2_INTER_SSC
=n
558 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
559 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
562 define KernelPackage
/fs-nfsd
/description
563 Kernel module for NFS kernel server support
566 $(eval
$(call KernelPackage
,fs-nfsd
))
569 define KernelPackage
/fs-ntfs
571 TITLE
:=NTFS filesystem read-only
(old driver
) support
572 KCONFIG
:=CONFIG_NTFS_FS
573 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
574 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
575 $(call AddDepends
/nls
)
578 define KernelPackage
/fs-ntfs
/description
579 Kernel module for limited NTFS filesystem support. Support for writing
580 is extremely limited and disabled
as a result.
583 $(eval
$(call KernelPackage
,fs-ntfs
))
586 define KernelPackage
/fs-ntfs3
588 TITLE
:=NTFS filesystem read
& write
(new driver
) support
589 KCONFIG
:= CONFIG_NTFS3_FS CONFIG_NTFS3_FS_POSIX_ACL
=y
590 FILES
:=$(LINUX_DIR
)/fs
/ntfs3
/ntfs3.ko
591 $(call AddDepends
/nls
)
592 AUTOLOAD
:=$(call AutoLoad
,80,ntfs3
)
595 define KernelPackage
/fs-ntfs3
/description
596 Kernel module for fully functional NTFS filesystem support. It allows
597 reading
as well
as writing.
599 It supports NTFS versions up to
3.1.
602 $(eval
$(call KernelPackage
,fs-ntfs3
))
605 define KernelPackage
/fs-reiserfs
607 TITLE
:=ReiserFS filesystem support
608 KCONFIG
:=CONFIG_REISERFS_FS
609 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
610 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
613 define KernelPackage
/fs-reiserfs
/description
614 Kernel module for ReiserFS support
617 $(eval
$(call KernelPackage
,fs-reiserfs
))
620 define KernelPackage
/fs-squashfs
622 TITLE
:=SquashFS
4.0 filesystem support
623 KCONFIG
:=CONFIG_SQUASHFS \
625 FILES
:=$(LINUX_DIR
)/fs
/squashfs
/squashfs.ko
626 AUTOLOAD
:=$(call AutoLoad
,30,squashfs
,1)
629 define KernelPackage
/fs-squashfs
/description
630 Kernel module for SquashFS
4.0 support
633 $(eval
$(call KernelPackage
,fs-squashfs
))
636 define KernelPackage
/fs-udf
638 TITLE
:=UDF filesystem support
639 KCONFIG
:=CONFIG_UDF_FS
640 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
641 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
642 DEPENDS
:=+kmod-lib-crc-itu-t
+kmod-cdrom
643 $(call AddDepends
/nls
)
646 define KernelPackage
/fs-udf
/description
647 Kernel module for UDF filesystem support
650 $(eval
$(call KernelPackage
,fs-udf
))
653 define KernelPackage
/fs-vfat
655 TITLE
:=VFAT filesystem support
660 $(LINUX_DIR
)/fs
/fat
/fat.ko \
661 $(LINUX_DIR
)/fs
/fat
/vfat.ko
662 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
,1)
663 $(call AddDepends
/nls
,cp437 iso8859-1 utf8
)
666 define KernelPackage
/fs-vfat
/description
667 Kernel module for VFAT filesystem support
670 $(eval
$(call KernelPackage
,fs-vfat
))
673 define KernelPackage
/fs-xfs
675 TITLE
:=XFS filesystem support
676 KCONFIG
:=CONFIG_XFS_FS
677 DEPENDS
:= +kmod-fs-exportfs
+kmod-lib-crc32c
678 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
679 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
682 define KernelPackage
/fs-xfs
/description
683 Kernel module for XFS support
686 $(eval
$(call KernelPackage
,fs-xfs
))
689 define KernelPackage
/fuse
691 TITLE
:=FUSE
(Filesystem in Userspace
) support
692 KCONFIG
:= CONFIG_FUSE_FS
693 FILES
:=$(LINUX_DIR
)/fs
/fuse
/fuse.ko
694 AUTOLOAD
:=$(call AutoLoad
,80,fuse
)
697 define KernelPackage
/fuse
/description
698 Kernel module for userspace filesystem support
701 $(eval
$(call KernelPackage
,fuse
))
704 define KernelPackage
/pstore
706 TITLE
:=Pstore file system
707 DEFAULT
:=m if ALL_KMODS
710 CONFIG_PSTORE_COMPRESS
=y \
711 CONFIG_PSTORE_COMPRESS_DEFAULT
="deflate" \
712 CONFIG_PSTORE_DEFLATE_COMPRESS
=y \
713 CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT
=y
714 FILES
:= $(LINUX_DIR
)/fs
/pstore
/pstore.ko
715 AUTOLOAD
:=$(call AutoLoad
,30,pstore
,1)
716 DEPENDS
:=+LINUX_6_6
:kmod-lib-zlib-deflate
+LINUX_6_6
:kmod-lib-zlib-inflate
719 define KernelPackage
/pstore
/description
720 Kernel module for pstore filesystem support
723 $(eval
$(call KernelPackage
,pstore
))