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
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 KCONFIG
:=CONFIG_SMBFS_COMMON
92 $(LINUX_DIR
)/fs
/smbfs_common
/cifs_arc4.ko \
93 $(LINUX_DIR
)/fs
/smbfs_common
/cifs_md4.ko
96 define KernelPackage
/fs-smbfs-common
/description
97 Kernel module dependency for CIFS or SMB_SERVER support
100 $(eval
$(call KernelPackage
,fs-smbfs-common
))
103 define KernelPackage
/fs-cifs
108 CONFIG_CIFS_DFS_UPCALL
=n \
111 $(LINUX_DIR
)/fs
/cifs
/cifs.ko
112 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
113 $(call AddDepends
/nls
)
115 +kmod-fs-smbfs-common \
117 +kmod-crypto-sha256 \
118 +kmod-crypto-sha512 \
130 define KernelPackage
/fs-cifs
/description
131 Kernel module for CIFS support
134 $(eval
$(call KernelPackage
,fs-cifs
))
137 define KernelPackage
/fs-configfs
139 TITLE
:=Configuration filesystem support
142 FILES
:=$(LINUX_DIR
)/fs
/configfs
/configfs.ko
143 AUTOLOAD
:=$(call AutoLoad
,30,configfs
)
146 define KernelPackage
/fs-configfs
/description
147 Kernel module for configfs support
150 $(eval
$(call KernelPackage
,fs-configfs
))
153 define KernelPackage
/fs-cramfs
155 TITLE
:=Compressed RAM
/ROM filesystem support
156 DEPENDS
:=+kmod-lib-zlib-inflate
159 FILES
:=$(LINUX_DIR
)/fs
/cramfs
/cramfs.ko
160 AUTOLOAD
:=$(call AutoLoad
,30,cramfs
)
163 define KernelPackage
/fs-cramfs
/description
164 Kernel module for cramfs support
167 $(eval
$(call KernelPackage
,fs-cramfs
))
170 define KernelPackage
/fs-efivarfs
172 TITLE
:=efivar filesystem support
173 KCONFIG
:=CONFIG_EFIVAR_FS
174 FILES
:=$(LINUX_DIR
)/fs
/efivarfs
/efivarfs.ko
175 DEPENDS
:=@
(x86_64||x86
)
176 AUTOLOAD
:=$(call Autoload
,90,efivarfs
)
179 define KernelPackage
/fs-efivarfs
/description
180 Kernel module to support efivarfs file system mountpoint.
183 $(eval
$(call KernelPackage
,fs-efivarfs
))
186 define KernelPackage
/fs-exfat
188 TITLE
:=exFAT filesystem support
191 CONFIG_EXFAT_DEFAULT_IOCHARSET
="utf8"
192 FILES
:= $(LINUX_DIR
)/fs
/exfat
/exfat.ko
193 AUTOLOAD
:=$(call AutoLoad
,30,exfat
,1)
194 DEPENDS
:=+kmod-nls-base
197 define KernelPackage
/fs-exfat
/description
198 Kernel module for exFAT filesystem support
201 $(eval
$(call KernelPackage
,fs-exfat
))
204 define KernelPackage
/fs-exportfs
206 TITLE
:=exportfs kernel server support
207 KCONFIG
:=CONFIG_EXPORTFS
208 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
209 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
,1)
212 define KernelPackage
/fs-exportfs
/description
213 Kernel module for exportfs. Needed for some other modules.
216 $(eval
$(call KernelPackage
,fs-exportfs
))
219 define KernelPackage
/fs-ext4
221 TITLE
:=EXT4 filesystem support
228 CONFIG_EXT4_ENCRYPTION
=n \
231 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
232 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko \
233 $(LINUX_DIR
)/fs
/mbcache.ko
234 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
237 define KernelPackage
/fs-ext4
/description
238 Kernel module for EXT4 filesystem support
241 $(eval
$(call KernelPackage
,fs-ext4
))
244 define KernelPackage
/fs-f2fs
246 TITLE
:=F2FS filesystem support
247 DEPENDS
:= +kmod-crypto-hash
+kmod-crypto-crc32
+kmod-nls-base
248 KCONFIG
:=CONFIG_F2FS_FS
249 FILES
:=$(LINUX_DIR
)/fs
/f2fs
/f2fs.ko
250 AUTOLOAD
:=$(call AutoLoad
,30,f2fs
,1)
253 define KernelPackage
/fs-f2fs
/description
254 Kernel module for F2FS filesystem support
257 $(eval
$(call KernelPackage
,fs-f2fs
))
260 define KernelPackage
/fs-fscache
262 TITLE
:=General filesystem local cache manager
263 DEPENDS
:=+kmod-fs-netfs
266 CONFIG_FSCACHE_STATS
=y \
267 CONFIG_FSCACHE_HISTOGRAM
=n \
268 CONFIG_FSCACHE_DEBUG
=n \
269 CONFIG_FSCACHE_OBJECT_LIST
=n \
271 CONFIG_CACHEFILES_DEBUG
=n \
272 CONFIG_CACHEFILES_HISTOGRAM
=n
274 $(LINUX_DIR
)/fs
/fscache
/fscache.ko \
275 $(LINUX_DIR
)/fs
/cachefiles
/cachefiles.ko
276 AUTOLOAD
:=$(call AutoLoad
,29,fscache cachefiles
)
279 $(eval
$(call KernelPackage
,fs-fscache
))
282 define KernelPackage
/fs-hfs
284 TITLE
:=HFS filesystem support
286 KCONFIG
:=CONFIG_HFS_FS
287 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
288 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
289 $(call AddDepends
/nls
)
292 define KernelPackage
/fs-hfs
/description
293 Kernel module for HFS filesystem support
296 $(eval
$(call KernelPackage
,fs-hfs
))
299 define KernelPackage
/fs-hfsplus
301 TITLE
:=HFS
+ filesystem support
303 KCONFIG
:=CONFIG_HFSPLUS_FS
304 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
305 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
306 $(call AddDepends
/nls
,utf8
)
309 define KernelPackage
/fs-hfsplus
/description
310 Kernel module for HFS
+ filesystem support
313 $(eval
$(call KernelPackage
,fs-hfsplus
))
316 define KernelPackage
/fs-isofs
318 TITLE
:=ISO9660 filesystem support
319 DEPENDS
:=+kmod-lib-zlib-inflate
+kmod-cdrom
320 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
321 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
322 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
323 $(call AddDepends
/nls
)
326 define KernelPackage
/fs-isofs
/description
327 Kernel module for ISO9660 filesystem support
330 $(eval
$(call KernelPackage
,fs-isofs
))
333 define KernelPackage
/fs-jfs
335 TITLE
:=JFS filesystem support
336 KCONFIG
:=CONFIG_JFS_FS
337 FILES
:=$(LINUX_DIR
)/fs
/jfs
/jfs.ko
338 AUTOLOAD
:=$(call AutoLoad
,30,jfs
,1)
339 $(call AddDepends
/nls
)
342 define KernelPackage
/fs-jfs
/description
343 Kernel module for JFS support
346 $(eval
$(call KernelPackage
,fs-jfs
))
349 define KernelPackage
/fs-ksmbd
351 TITLE
:=SMB kernel server support
359 +kmod-crypto-sha256 \
361 +kmod-crypto-sha512 \
367 +kmod-fs-smbfs-common
370 CONFIG_SMB_SERVER_SMBDIRECT
=n \
371 CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN
=n \
372 CONFIG_SMB_SERVER_KERBEROS5
=n
373 FILES
:=$(LINUX_DIR
)/fs
/ksmbd
/ksmbd.ko
374 AUTOLOAD
:=$(call AutoLoad
,41,ksmbd
)
377 define KernelPackage
/fs-ksmbd
/description
378 Kernel module for SMB kernel server support
381 $(eval
$(call KernelPackage
,fs-ksmbd
))
384 define KernelPackage
/fs-minix
386 TITLE
:=Minix filesystem support
387 KCONFIG
:=CONFIG_MINIX_FS
388 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
389 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
392 define KernelPackage
/fs-minix
/description
393 Kernel module for Minix filesystem support
396 $(eval
$(call KernelPackage
,fs-minix
))
399 define KernelPackage
/fs-msdos
401 TITLE
:=MSDOS filesystem support
402 DEPENDS
:=+kmod-fs-vfat
403 KCONFIG
:=CONFIG_MSDOS_FS
404 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
405 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
406 $(call AddDepends
/nls
)
409 define KernelPackage
/fs-msdos
/description
410 Kernel module for MSDOS filesystem support
413 $(eval
$(call KernelPackage
,fs-msdos
))
416 define KernelPackage
/fs-netfs
418 TITLE
:=Network Filesystems support
419 KCONFIG
:= CONFIG_NETFS_SUPPORT
420 FILES
:=$(LINUX_DIR
)/fs
/netfs
/netfs.ko
421 AUTOLOAD
:=$(call AutoLoad
,28,netfs
)
424 $(eval
$(call KernelPackage
,fs-netfs
))
427 define KernelPackage
/fs-nfs
429 TITLE
:=NFS filesystem client support
430 DEPENDS
:=+kmod-fs-nfs-common
+kmod-dnsresolver
433 CONFIG_NFS_USE_LEGACY_DNS
=n \
434 CONFIG_NFS_USE_NEW_IDMAPPER
=n
436 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
437 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
440 define KernelPackage
/fs-nfs
/description
441 Kernel module for NFS client support
444 $(eval
$(call KernelPackage
,fs-nfs
))
447 define KernelPackage
/fs-nfs-common
449 TITLE
:=Common NFS filesystem modules
450 DEPENDS
:=+kmod-oid-registry
454 CONFIG_GRACE_PERIOD \
457 CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN
="kernel.org" \
458 CONFIG_NFS_V4_1_MIGRATION
=n \
460 CONFIG_NFS_V4_2_READ_PLUS
=n
462 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
463 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko \
464 $(LINUX_DIR
)/fs
/nfs_common
/grace.ko \
465 $(LINUX_DIR
)/fs
/nfs_common
/nfs_ssc.ko
466 AUTOLOAD
:=$(call AutoLoad
,30,grace sunrpc lockd
)
469 $(eval
$(call KernelPackage
,fs-nfs-common
))
472 define KernelPackage
/fs-nfs-common-rpcsec
474 TITLE
:=NFS Secure RPC
476 +kmod-fs-nfs-common \
487 CONFIG_RPCSEC_GSS_KRB5
489 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko \
490 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/rpcsec_gss_krb5.ko
491 AUTOLOAD
:=$(call AutoLoad
,31,auth_rpcgss rpcsec_gss_krb5
)
494 define KernelPackage
/fs-nfs-common-rpcsec
/description
495 Kernel modules for NFS Secure RPC
498 $(eval
$(call KernelPackage
,fs-nfs-common-rpcsec
))
501 define KernelPackage
/fs-nfs-v3
503 TITLE
:=NFS3 filesystem client support
504 DEPENDS
:=+kmod-fs-nfs
506 $(LINUX_DIR
)/fs
/nfs
/nfsv3.ko
507 AUTOLOAD
:=$(call AutoLoad
,41,nfsv3
)
510 define KernelPackage
/fs-nfs-v3
/description
511 Kernel module for NFS v3 client support
514 $(eval
$(call KernelPackage
,fs-nfs-v3
))
517 define KernelPackage
/fs-nfs-v4
519 TITLE
:=NFS4 filesystem client support
520 DEPENDS
:=+kmod-fs-nfs
524 $(LINUX_DIR
)/fs
/nfs
/nfsv4.ko
525 AUTOLOAD
:=$(call AutoLoad
,41,nfsv4
)
528 define KernelPackage
/fs-nfs-v4
/description
529 Kernel module for NFS v4 client support
532 $(eval
$(call KernelPackage
,fs-nfs-v4
))
535 define KernelPackage
/fs-nfsd
537 TITLE
:=NFS kernel server support
538 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
+kmod-fs-nfs-common-rpcsec
542 CONFIG_NFSD_V4_SECURITY_LABEL
=n \
543 CONFIG_NFSD_BLOCKLAYOUT
=n \
544 CONFIG_NFSD_SCSILAYOUT
=n \
545 CONFIG_NFSD_FLEXFILELAYOUT
=n \
546 CONFIG_NFSD_FAULT_INJECTION
=n \
547 CONFIG_NFSD_V4_2_INTER_SSC
=n
548 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
549 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
552 define KernelPackage
/fs-nfsd
/description
553 Kernel module for NFS kernel server support
556 $(eval
$(call KernelPackage
,fs-nfsd
))
559 define KernelPackage
/fs-ntfs
561 TITLE
:=NTFS filesystem read-only
(old driver
) support
562 KCONFIG
:=CONFIG_NTFS_FS
563 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
564 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
565 $(call AddDepends
/nls
)
568 define KernelPackage
/fs-ntfs
/description
569 Kernel module for limited NTFS filesystem support. Support for writing
570 is extremely limited and disabled
as a result.
573 $(eval
$(call KernelPackage
,fs-ntfs
))
576 define KernelPackage
/fs-ntfs3
578 TITLE
:=NTFS filesystem read
& write
(new driver
) support
579 KCONFIG
:= CONFIG_NTFS3_FS CONFIG_NTFS3_FS_POSIX_ACL
=y
580 FILES
:=$(LINUX_DIR
)/fs
/ntfs3
/ntfs3.ko
581 $(call AddDepends
/nls
)
582 AUTOLOAD
:=$(call AutoLoad
,80,ntfs3
)
585 define KernelPackage
/fs-ntfs3
/description
586 Kernel module for fully functional NTFS filesystem support. It allows
587 reading
as well
as writing.
589 It supports NTFS versions up to
3.1.
592 $(eval
$(call KernelPackage
,fs-ntfs3
))
595 define KernelPackage
/fs-reiserfs
597 TITLE
:=ReiserFS filesystem support
598 KCONFIG
:=CONFIG_REISERFS_FS
599 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
600 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
603 define KernelPackage
/fs-reiserfs
/description
604 Kernel module for ReiserFS support
607 $(eval
$(call KernelPackage
,fs-reiserfs
))
610 define KernelPackage
/fs-squashfs
612 TITLE
:=SquashFS
4.0 filesystem support
613 KCONFIG
:=CONFIG_SQUASHFS \
615 FILES
:=$(LINUX_DIR
)/fs
/squashfs
/squashfs.ko
616 AUTOLOAD
:=$(call AutoLoad
,30,squashfs
,1)
619 define KernelPackage
/fs-squashfs
/description
620 Kernel module for SquashFS
4.0 support
623 $(eval
$(call KernelPackage
,fs-squashfs
))
626 define KernelPackage
/fs-udf
628 TITLE
:=UDF filesystem support
629 KCONFIG
:=CONFIG_UDF_FS
630 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
631 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
632 DEPENDS
:=+kmod-lib-crc-itu-t
+kmod-cdrom
633 $(call AddDepends
/nls
)
636 define KernelPackage
/fs-udf
/description
637 Kernel module for UDF filesystem support
640 $(eval
$(call KernelPackage
,fs-udf
))
643 define KernelPackage
/fs-vfat
645 TITLE
:=VFAT filesystem support
650 $(LINUX_DIR
)/fs
/fat
/fat.ko \
651 $(LINUX_DIR
)/fs
/fat
/vfat.ko
652 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
,1)
653 $(call AddDepends
/nls
,cp437 iso8859-1 utf8
)
656 define KernelPackage
/fs-vfat
/description
657 Kernel module for VFAT filesystem support
660 $(eval
$(call KernelPackage
,fs-vfat
))
663 define KernelPackage
/fs-xfs
665 TITLE
:=XFS filesystem support
666 KCONFIG
:=CONFIG_XFS_FS
667 DEPENDS
:= +kmod-fs-exportfs
+kmod-lib-crc32c
668 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
669 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
672 define KernelPackage
/fs-xfs
/description
673 Kernel module for XFS support
676 $(eval
$(call KernelPackage
,fs-xfs
))
679 define KernelPackage
/fuse
681 TITLE
:=FUSE
(Filesystem in Userspace
) support
682 KCONFIG
:= CONFIG_FUSE_FS
683 FILES
:=$(LINUX_DIR
)/fs
/fuse
/fuse.ko
684 AUTOLOAD
:=$(call AutoLoad
,80,fuse
)
687 define KernelPackage
/fuse
/description
688 Kernel module for userspace filesystem support
691 $(eval
$(call KernelPackage
,fuse
))
694 define KernelPackage
/pstore
696 TITLE
:=Pstore file system
697 DEFAULT
:=m if ALL_KMODS
700 CONFIG_PSTORE_COMPRESS
=y \
701 CONFIG_PSTORE_COMPRESS_DEFAULT
="deflate" \
702 CONFIG_PSTORE_DEFLATE_COMPRESS
=y \
703 CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT
=y
704 FILES
:= $(LINUX_DIR
)/fs
/pstore
/pstore.ko
705 AUTOLOAD
:=$(call AutoLoad
,30,pstore
,1)
708 define KernelPackage
/pstore
/description
709 Kernel module for pstore filesystem support
712 $(eval
$(call KernelPackage
,pstore
))