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
360 +kmod-crypto-sha256 \
362 +kmod-crypto-sha512 \
368 +kmod-fs-smbfs-common
371 CONFIG_SMB_SERVER_SMBDIRECT
=n \
372 CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN
=n \
373 CONFIG_SMB_SERVER_KERBEROS5
=n
374 FILES
:=$(LINUX_DIR
)/fs
/ksmbd
/ksmbd.ko
375 AUTOLOAD
:=$(call AutoLoad
,41,ksmbd
)
378 define KernelPackage
/fs-ksmbd
/description
379 Kernel module for SMB kernel server support
382 $(eval
$(call KernelPackage
,fs-ksmbd
))
385 define KernelPackage
/fs-minix
387 TITLE
:=Minix filesystem support
388 KCONFIG
:=CONFIG_MINIX_FS
389 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
390 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
393 define KernelPackage
/fs-minix
/description
394 Kernel module for Minix filesystem support
397 $(eval
$(call KernelPackage
,fs-minix
))
400 define KernelPackage
/fs-msdos
402 TITLE
:=MSDOS filesystem support
403 DEPENDS
:=+kmod-fs-vfat
404 KCONFIG
:=CONFIG_MSDOS_FS
405 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
406 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
407 $(call AddDepends
/nls
)
410 define KernelPackage
/fs-msdos
/description
411 Kernel module for MSDOS filesystem support
414 $(eval
$(call KernelPackage
,fs-msdos
))
417 define KernelPackage
/fs-netfs
419 TITLE
:=Network Filesystems support
420 KCONFIG
:= CONFIG_NETFS_SUPPORT
421 FILES
:=$(LINUX_DIR
)/fs
/netfs
/netfs.ko
422 AUTOLOAD
:=$(call AutoLoad
,28,netfs
)
425 $(eval
$(call KernelPackage
,fs-netfs
))
428 define KernelPackage
/fs-nfs
430 TITLE
:=NFS filesystem client support
431 DEPENDS
:=+kmod-fs-nfs-common
+kmod-dnsresolver
434 CONFIG_NFS_USE_LEGACY_DNS
=n \
435 CONFIG_NFS_USE_NEW_IDMAPPER
=n
437 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
438 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
441 define KernelPackage
/fs-nfs
/description
442 Kernel module for NFS client support
445 $(eval
$(call KernelPackage
,fs-nfs
))
448 define KernelPackage
/fs-nfs-common
450 TITLE
:=Common NFS filesystem modules
451 DEPENDS
:=+kmod-oid-registry
455 CONFIG_GRACE_PERIOD \
458 CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN
="kernel.org" \
459 CONFIG_NFS_V4_1_MIGRATION
=n \
461 CONFIG_NFS_V4_2_READ_PLUS
=n
463 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
464 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko \
465 $(LINUX_DIR
)/fs
/nfs_common
/grace.ko \
466 $(LINUX_DIR
)/fs
/nfs_common
/nfs_ssc.ko
467 AUTOLOAD
:=$(call AutoLoad
,30,grace sunrpc lockd
)
470 $(eval
$(call KernelPackage
,fs-nfs-common
))
473 define KernelPackage
/fs-nfs-common-rpcsec
475 TITLE
:=NFS Secure RPC
477 +kmod-fs-nfs-common \
488 CONFIG_RPCSEC_GSS_KRB5
490 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko \
491 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/rpcsec_gss_krb5.ko
492 AUTOLOAD
:=$(call AutoLoad
,31,auth_rpcgss rpcsec_gss_krb5
)
495 define KernelPackage
/fs-nfs-common-rpcsec
/description
496 Kernel modules for NFS Secure RPC
499 $(eval
$(call KernelPackage
,fs-nfs-common-rpcsec
))
502 define KernelPackage
/fs-nfs-v3
504 TITLE
:=NFS3 filesystem client support
505 DEPENDS
:=+kmod-fs-nfs
507 $(LINUX_DIR
)/fs
/nfs
/nfsv3.ko
508 AUTOLOAD
:=$(call AutoLoad
,41,nfsv3
)
511 define KernelPackage
/fs-nfs-v3
/description
512 Kernel module for NFS v3 client support
515 $(eval
$(call KernelPackage
,fs-nfs-v3
))
518 define KernelPackage
/fs-nfs-v4
520 TITLE
:=NFS4 filesystem client support
521 DEPENDS
:=+kmod-fs-nfs
525 $(LINUX_DIR
)/fs
/nfs
/nfsv4.ko
526 AUTOLOAD
:=$(call AutoLoad
,41,nfsv4
)
529 define KernelPackage
/fs-nfs-v4
/description
530 Kernel module for NFS v4 client support
533 $(eval
$(call KernelPackage
,fs-nfs-v4
))
536 define KernelPackage
/fs-nfsd
538 TITLE
:=NFS kernel server support
539 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
+kmod-fs-nfs-common-rpcsec
543 CONFIG_NFSD_V4_SECURITY_LABEL
=n \
544 CONFIG_NFSD_BLOCKLAYOUT
=n \
545 CONFIG_NFSD_SCSILAYOUT
=n \
546 CONFIG_NFSD_FLEXFILELAYOUT
=n \
547 CONFIG_NFSD_FAULT_INJECTION
=n \
548 CONFIG_NFSD_V4_2_INTER_SSC
=n
549 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
550 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
553 define KernelPackage
/fs-nfsd
/description
554 Kernel module for NFS kernel server support
557 $(eval
$(call KernelPackage
,fs-nfsd
))
560 define KernelPackage
/fs-ntfs
562 TITLE
:=NTFS filesystem read-only
(old driver
) support
563 KCONFIG
:=CONFIG_NTFS_FS
564 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
565 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
566 $(call AddDepends
/nls
)
569 define KernelPackage
/fs-ntfs
/description
570 Kernel module for limited NTFS filesystem support. Support for writing
571 is extremely limited and disabled
as a result.
574 $(eval
$(call KernelPackage
,fs-ntfs
))
577 define KernelPackage
/fs-ntfs3
579 TITLE
:=NTFS filesystem read
& write
(new driver
) support
580 KCONFIG
:= CONFIG_NTFS3_FS CONFIG_NTFS3_FS_POSIX_ACL
=y
581 FILES
:=$(LINUX_DIR
)/fs
/ntfs3
/ntfs3.ko
582 $(call AddDepends
/nls
)
583 AUTOLOAD
:=$(call AutoLoad
,80,ntfs3
)
586 define KernelPackage
/fs-ntfs3
/description
587 Kernel module for fully functional NTFS filesystem support. It allows
588 reading
as well
as writing.
590 It supports NTFS versions up to
3.1.
593 $(eval
$(call KernelPackage
,fs-ntfs3
))
596 define KernelPackage
/fs-reiserfs
598 TITLE
:=ReiserFS filesystem support
599 KCONFIG
:=CONFIG_REISERFS_FS
600 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
601 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
604 define KernelPackage
/fs-reiserfs
/description
605 Kernel module for ReiserFS support
608 $(eval
$(call KernelPackage
,fs-reiserfs
))
611 define KernelPackage
/fs-squashfs
613 TITLE
:=SquashFS
4.0 filesystem support
614 KCONFIG
:=CONFIG_SQUASHFS \
616 FILES
:=$(LINUX_DIR
)/fs
/squashfs
/squashfs.ko
617 AUTOLOAD
:=$(call AutoLoad
,30,squashfs
,1)
620 define KernelPackage
/fs-squashfs
/description
621 Kernel module for SquashFS
4.0 support
624 $(eval
$(call KernelPackage
,fs-squashfs
))
627 define KernelPackage
/fs-udf
629 TITLE
:=UDF filesystem support
630 KCONFIG
:=CONFIG_UDF_FS
631 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
632 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
633 DEPENDS
:=+kmod-lib-crc-itu-t
+kmod-cdrom
634 $(call AddDepends
/nls
)
637 define KernelPackage
/fs-udf
/description
638 Kernel module for UDF filesystem support
641 $(eval
$(call KernelPackage
,fs-udf
))
644 define KernelPackage
/fs-vfat
646 TITLE
:=VFAT filesystem support
651 $(LINUX_DIR
)/fs
/fat
/fat.ko \
652 $(LINUX_DIR
)/fs
/fat
/vfat.ko
653 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
,1)
654 $(call AddDepends
/nls
,cp437 iso8859-1 utf8
)
657 define KernelPackage
/fs-vfat
/description
658 Kernel module for VFAT filesystem support
661 $(eval
$(call KernelPackage
,fs-vfat
))
664 define KernelPackage
/fs-xfs
666 TITLE
:=XFS filesystem support
667 KCONFIG
:=CONFIG_XFS_FS
668 DEPENDS
:= +kmod-fs-exportfs
+kmod-lib-crc32c
669 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
670 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
673 define KernelPackage
/fs-xfs
/description
674 Kernel module for XFS support
677 $(eval
$(call KernelPackage
,fs-xfs
))
680 define KernelPackage
/fuse
682 TITLE
:=FUSE
(Filesystem in Userspace
) support
683 KCONFIG
:= CONFIG_FUSE_FS
684 FILES
:=$(LINUX_DIR
)/fs
/fuse
/fuse.ko
685 AUTOLOAD
:=$(call AutoLoad
,80,fuse
)
688 define KernelPackage
/fuse
/description
689 Kernel module for userspace filesystem support
692 $(eval
$(call KernelPackage
,fuse
))
695 define KernelPackage
/pstore
697 TITLE
:=Pstore file system
698 DEFAULT
:=m if ALL_KMODS
701 CONFIG_PSTORE_COMPRESS
=y \
702 CONFIG_PSTORE_COMPRESS_DEFAULT
="deflate" \
703 CONFIG_PSTORE_DEFLATE_COMPRESS
=y \
704 CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT
=y
705 FILES
:= $(LINUX_DIR
)/fs
/pstore
/pstore.ko
706 AUTOLOAD
:=$(call AutoLoad
,30,pstore
,1)
709 define KernelPackage
/pstore
/description
710 Kernel module for pstore filesystem support
713 $(eval
$(call KernelPackage
,pstore
))