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
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
91 CONFIG_SMBFS_COMMON@lt6.1 \
94 $(LINUX_DIR
)/fs
/smbfs_common
/cifs_arc4.ko@lt6.1 \
95 $(LINUX_DIR
)/fs
/smbfs_common
/cifs_md4.ko@lt6.1 \
96 $(LINUX_DIR
)/fs
/smb
/common
/cifs_arc4.ko@ge6.1 \
97 $(LINUX_DIR
)/fs
/smb
/common
/cifs_md4.ko@ge6.1
100 define KernelPackage
/fs-smbfs-common
/description
101 Kernel module dependency for CIFS or SMB_SERVER support
104 $(eval
$(call KernelPackage
,fs-smbfs-common
))
107 define KernelPackage
/fs-cifs
112 CONFIG_CIFS_DFS_UPCALL
=n \
115 $(LINUX_DIR
)/fs
/cifs
/cifs.ko@lt6.1 \
116 $(LINUX_DIR
)/fs
/smb
/client
/cifs.ko@ge6.1
117 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
118 $(call AddDepends
/nls
)
120 +kmod-fs-smbfs-common \
122 +kmod-crypto-sha256 \
123 +kmod-crypto-sha512 \
135 define KernelPackage
/fs-cifs
/description
136 Kernel module for CIFS support
139 $(eval
$(call KernelPackage
,fs-cifs
))
142 define KernelPackage
/fs-configfs
144 TITLE
:=Configuration filesystem support
147 FILES
:=$(LINUX_DIR
)/fs
/configfs
/configfs.ko
148 AUTOLOAD
:=$(call AutoLoad
,30,configfs
)
151 define KernelPackage
/fs-configfs
/description
152 Kernel module for configfs support
155 $(eval
$(call KernelPackage
,fs-configfs
))
158 define KernelPackage
/fs-cramfs
160 TITLE
:=Compressed RAM
/ROM filesystem support
161 DEPENDS
:=+kmod-lib-zlib-inflate
164 FILES
:=$(LINUX_DIR
)/fs
/cramfs
/cramfs.ko
165 AUTOLOAD
:=$(call AutoLoad
,30,cramfs
)
168 define KernelPackage
/fs-cramfs
/description
169 Kernel module for cramfs support
172 $(eval
$(call KernelPackage
,fs-cramfs
))
175 define KernelPackage
/fs-efivarfs
177 TITLE
:=efivar filesystem support
178 KCONFIG
:=CONFIG_EFIVAR_FS
179 FILES
:=$(LINUX_DIR
)/fs
/efivarfs
/efivarfs.ko
180 DEPENDS
:=@
(x86_64||x86
)
181 AUTOLOAD
:=$(call Autoload
,90,efivarfs
)
184 define KernelPackage
/fs-efivarfs
/description
185 Kernel module to support efivarfs file system mountpoint.
188 $(eval
$(call KernelPackage
,fs-efivarfs
))
191 define KernelPackage
/fs-exfat
193 TITLE
:=exFAT filesystem support
196 CONFIG_EXFAT_DEFAULT_IOCHARSET
="utf8"
197 FILES
:= $(LINUX_DIR
)/fs
/exfat
/exfat.ko
198 AUTOLOAD
:=$(call AutoLoad
,30,exfat
,1)
199 DEPENDS
:=+kmod-nls-base
202 define KernelPackage
/fs-exfat
/description
203 Kernel module for exFAT filesystem support
206 $(eval
$(call KernelPackage
,fs-exfat
))
209 define KernelPackage
/fs-exportfs
211 TITLE
:=exportfs kernel server support
212 KCONFIG
:=CONFIG_EXPORTFS
213 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
214 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
,1)
217 define KernelPackage
/fs-exportfs
/description
218 Kernel module for exportfs. Needed for some other modules.
221 $(eval
$(call KernelPackage
,fs-exportfs
))
224 define KernelPackage
/fs-ext4
226 TITLE
:=EXT4 filesystem support
233 CONFIG_EXT4_ENCRYPTION
=n \
236 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
237 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko \
238 $(LINUX_DIR
)/fs
/mbcache.ko
239 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
242 define KernelPackage
/fs-ext4
/description
243 Kernel module for EXT4 filesystem support
246 $(eval
$(call KernelPackage
,fs-ext4
))
249 define KernelPackage
/fs-f2fs
251 TITLE
:=F2FS filesystem support
252 DEPENDS
:= +kmod-crypto-hash
+kmod-crypto-crc32
+kmod-nls-base
253 KCONFIG
:=CONFIG_F2FS_FS
254 FILES
:=$(LINUX_DIR
)/fs
/f2fs
/f2fs.ko
255 AUTOLOAD
:=$(call AutoLoad
,30,f2fs
,1)
258 define KernelPackage
/fs-f2fs
/description
259 Kernel module for F2FS filesystem support
262 $(eval
$(call KernelPackage
,fs-f2fs
))
265 define KernelPackage
/fs-fscache
267 TITLE
:=General filesystem local cache manager
268 DEPENDS
:=+kmod-fs-netfs
271 CONFIG_FSCACHE_STATS
=y \
272 CONFIG_FSCACHE_HISTOGRAM
=n \
273 CONFIG_FSCACHE_DEBUG
=n \
274 CONFIG_FSCACHE_OBJECT_LIST
=n \
276 CONFIG_CACHEFILES_DEBUG
=n \
277 CONFIG_CACHEFILES_HISTOGRAM
=n \
278 CONFIG_CACHEFILES_ERROR_INJECTION
=n@ge5.17 \
279 CONFIG_CACHEFILES_ONDEMAND
=n@ge5.19
281 $(LINUX_DIR
)/fs
/fscache
/fscache.ko \
282 $(LINUX_DIR
)/fs
/cachefiles
/cachefiles.ko
283 AUTOLOAD
:=$(call AutoLoad
,29,fscache cachefiles
)
286 $(eval
$(call KernelPackage
,fs-fscache
))
289 define KernelPackage
/fs-hfs
291 TITLE
:=HFS filesystem support
293 KCONFIG
:=CONFIG_HFS_FS
294 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
295 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
296 $(call AddDepends
/nls
)
299 define KernelPackage
/fs-hfs
/description
300 Kernel module for HFS filesystem support
303 $(eval
$(call KernelPackage
,fs-hfs
))
306 define KernelPackage
/fs-hfsplus
308 TITLE
:=HFS
+ filesystem support
310 KCONFIG
:=CONFIG_HFSPLUS_FS
311 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
312 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
313 $(call AddDepends
/nls
,utf8
)
316 define KernelPackage
/fs-hfsplus
/description
317 Kernel module for HFS
+ filesystem support
320 $(eval
$(call KernelPackage
,fs-hfsplus
))
323 define KernelPackage
/fs-isofs
325 TITLE
:=ISO9660 filesystem support
326 DEPENDS
:=+kmod-lib-zlib-inflate
+kmod-cdrom
327 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
328 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
329 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
330 $(call AddDepends
/nls
)
333 define KernelPackage
/fs-isofs
/description
334 Kernel module for ISO9660 filesystem support
337 $(eval
$(call KernelPackage
,fs-isofs
))
340 define KernelPackage
/fs-jfs
342 TITLE
:=JFS filesystem support
343 KCONFIG
:=CONFIG_JFS_FS
344 FILES
:=$(LINUX_DIR
)/fs
/jfs
/jfs.ko
345 AUTOLOAD
:=$(call AutoLoad
,30,jfs
,1)
346 $(call AddDepends
/nls
)
349 define KernelPackage
/fs-jfs
/description
350 Kernel module for JFS support
353 $(eval
$(call KernelPackage
,fs-jfs
))
356 define KernelPackage
/fs-ksmbd
358 TITLE
:=SMB kernel server support
366 +kmod-crypto-sha256 \
368 +kmod-crypto-sha512 \
374 +kmod-fs-smbfs-common
377 CONFIG_SMB_SERVER_SMBDIRECT
=n \
378 CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN
=n \
379 CONFIG_SMB_SERVER_KERBEROS5
=n
381 $(LINUX_DIR
)/fs
/ksmbd
/ksmbd.ko@lt6.1 \
382 $(LINUX_DIR
)/fs
/smb
/server
/ksmbd.ko@ge6.1
383 AUTOLOAD
:=$(call AutoLoad
,41,ksmbd
)
386 define KernelPackage
/fs-ksmbd
/description
387 Kernel module for SMB kernel server support
390 $(eval
$(call KernelPackage
,fs-ksmbd
))
393 define KernelPackage
/fs-minix
395 TITLE
:=Minix filesystem support
396 KCONFIG
:=CONFIG_MINIX_FS
397 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
398 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
401 define KernelPackage
/fs-minix
/description
402 Kernel module for Minix filesystem support
405 $(eval
$(call KernelPackage
,fs-minix
))
408 define KernelPackage
/fs-msdos
410 TITLE
:=MSDOS filesystem support
411 DEPENDS
:=+kmod-fs-vfat
412 KCONFIG
:=CONFIG_MSDOS_FS
413 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
414 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
415 $(call AddDepends
/nls
)
418 define KernelPackage
/fs-msdos
/description
419 Kernel module for MSDOS filesystem support
422 $(eval
$(call KernelPackage
,fs-msdos
))
425 define KernelPackage
/fs-netfs
427 TITLE
:=Network Filesystems support
428 KCONFIG
:= CONFIG_NETFS_SUPPORT
429 FILES
:=$(LINUX_DIR
)/fs
/netfs
/netfs.ko
430 AUTOLOAD
:=$(call AutoLoad
,28,netfs
)
433 $(eval
$(call KernelPackage
,fs-netfs
))
436 define KernelPackage
/fs-nfs
438 TITLE
:=NFS filesystem client support
439 DEPENDS
:=+kmod-fs-nfs-common
+kmod-dnsresolver
442 CONFIG_NFS_USE_LEGACY_DNS
=n \
443 CONFIG_NFS_USE_NEW_IDMAPPER
=n
445 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
446 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
449 define KernelPackage
/fs-nfs
/description
450 Kernel module for NFS client support
453 $(eval
$(call KernelPackage
,fs-nfs
))
456 define KernelPackage
/fs-nfs-common
458 TITLE
:=Common NFS filesystem modules
459 DEPENDS
:=+kmod-oid-registry
463 CONFIG_GRACE_PERIOD \
466 CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN
="kernel.org" \
467 CONFIG_NFS_V4_1_MIGRATION
=n \
469 CONFIG_NFS_V4_2_READ_PLUS
=n
471 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
472 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko \
473 $(LINUX_DIR
)/fs
/nfs_common
/grace.ko \
474 $(LINUX_DIR
)/fs
/nfs_common
/nfs_ssc.ko
475 AUTOLOAD
:=$(call AutoLoad
,30,grace sunrpc lockd
)
478 $(eval
$(call KernelPackage
,fs-nfs-common
))
481 define KernelPackage
/fs-nfs-common-rpcsec
483 TITLE
:=NFS Secure RPC
485 +kmod-fs-nfs-common \
496 CONFIG_RPCSEC_GSS_KRB5
498 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko \
499 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/rpcsec_gss_krb5.ko
500 AUTOLOAD
:=$(call AutoLoad
,31,auth_rpcgss rpcsec_gss_krb5
)
503 define KernelPackage
/fs-nfs-common-rpcsec
/description
504 Kernel modules for NFS Secure RPC
507 $(eval
$(call KernelPackage
,fs-nfs-common-rpcsec
))
510 define KernelPackage
/fs-nfs-v3
512 TITLE
:=NFS3 filesystem client support
513 DEPENDS
:=+kmod-fs-nfs
515 $(LINUX_DIR
)/fs
/nfs
/nfsv3.ko
516 AUTOLOAD
:=$(call AutoLoad
,41,nfsv3
)
519 define KernelPackage
/fs-nfs-v3
/description
520 Kernel module for NFS v3 client support
523 $(eval
$(call KernelPackage
,fs-nfs-v3
))
526 define KernelPackage
/fs-nfs-v4
528 TITLE
:=NFS4 filesystem client support
529 DEPENDS
:=+kmod-fs-nfs
533 $(LINUX_DIR
)/fs
/nfs
/nfsv4.ko
534 AUTOLOAD
:=$(call AutoLoad
,41,nfsv4
)
537 define KernelPackage
/fs-nfs-v4
/description
538 Kernel module for NFS v4 client support
541 $(eval
$(call KernelPackage
,fs-nfs-v4
))
544 define KernelPackage
/fs-nfsd
546 TITLE
:=NFS kernel server support
547 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
+kmod-fs-nfs-common-rpcsec
551 CONFIG_NFSD_V4_SECURITY_LABEL
=n \
552 CONFIG_NFSD_BLOCKLAYOUT
=n \
553 CONFIG_NFSD_SCSILAYOUT
=n \
554 CONFIG_NFSD_FLEXFILELAYOUT
=n \
555 CONFIG_NFSD_FAULT_INJECTION
=n \
556 CONFIG_NFSD_V4_2_INTER_SSC
=n
557 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
558 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
561 define KernelPackage
/fs-nfsd
/description
562 Kernel module for NFS kernel server support
565 $(eval
$(call KernelPackage
,fs-nfsd
))
568 define KernelPackage
/fs-ntfs
570 TITLE
:=NTFS filesystem read-only
(old driver
) support
571 KCONFIG
:=CONFIG_NTFS_FS
572 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
573 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
574 $(call AddDepends
/nls
)
577 define KernelPackage
/fs-ntfs
/description
578 Kernel module for limited NTFS filesystem support. Support for writing
579 is extremely limited and disabled
as a result.
582 $(eval
$(call KernelPackage
,fs-ntfs
))
585 define KernelPackage
/fs-ntfs3
587 TITLE
:=NTFS filesystem read
& write
(new driver
) support
588 KCONFIG
:= CONFIG_NTFS3_FS CONFIG_NTFS3_FS_POSIX_ACL
=y
589 FILES
:=$(LINUX_DIR
)/fs
/ntfs3
/ntfs3.ko
590 $(call AddDepends
/nls
)
591 AUTOLOAD
:=$(call AutoLoad
,80,ntfs3
)
594 define KernelPackage
/fs-ntfs3
/description
595 Kernel module for fully functional NTFS filesystem support. It allows
596 reading
as well
as writing.
598 It supports NTFS versions up to
3.1.
601 $(eval
$(call KernelPackage
,fs-ntfs3
))
604 define KernelPackage
/fs-reiserfs
606 TITLE
:=ReiserFS filesystem support
607 KCONFIG
:=CONFIG_REISERFS_FS
608 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
609 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
612 define KernelPackage
/fs-reiserfs
/description
613 Kernel module for ReiserFS support
616 $(eval
$(call KernelPackage
,fs-reiserfs
))
619 define KernelPackage
/fs-squashfs
621 TITLE
:=SquashFS
4.0 filesystem support
622 KCONFIG
:=CONFIG_SQUASHFS \
624 FILES
:=$(LINUX_DIR
)/fs
/squashfs
/squashfs.ko
625 AUTOLOAD
:=$(call AutoLoad
,30,squashfs
,1)
628 define KernelPackage
/fs-squashfs
/description
629 Kernel module for SquashFS
4.0 support
632 $(eval
$(call KernelPackage
,fs-squashfs
))
635 define KernelPackage
/fs-udf
637 TITLE
:=UDF filesystem support
638 KCONFIG
:=CONFIG_UDF_FS
639 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
640 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
641 DEPENDS
:=+kmod-lib-crc-itu-t
+kmod-cdrom
642 $(call AddDepends
/nls
)
645 define KernelPackage
/fs-udf
/description
646 Kernel module for UDF filesystem support
649 $(eval
$(call KernelPackage
,fs-udf
))
652 define KernelPackage
/fs-vfat
654 TITLE
:=VFAT filesystem support
659 $(LINUX_DIR
)/fs
/fat
/fat.ko \
660 $(LINUX_DIR
)/fs
/fat
/vfat.ko
661 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
,1)
662 $(call AddDepends
/nls
,cp437 iso8859-1 utf8
)
665 define KernelPackage
/fs-vfat
/description
666 Kernel module for VFAT filesystem support
669 $(eval
$(call KernelPackage
,fs-vfat
))
672 define KernelPackage
/fs-xfs
674 TITLE
:=XFS filesystem support
675 KCONFIG
:=CONFIG_XFS_FS
676 DEPENDS
:= +kmod-fs-exportfs
+kmod-lib-crc32c
677 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
678 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
681 define KernelPackage
/fs-xfs
/description
682 Kernel module for XFS support
685 $(eval
$(call KernelPackage
,fs-xfs
))
688 define KernelPackage
/fuse
690 TITLE
:=FUSE
(Filesystem in Userspace
) support
691 KCONFIG
:= CONFIG_FUSE_FS
692 FILES
:=$(LINUX_DIR
)/fs
/fuse
/fuse.ko
693 AUTOLOAD
:=$(call AutoLoad
,80,fuse
)
696 define KernelPackage
/fuse
/description
697 Kernel module for userspace filesystem support
700 $(eval
$(call KernelPackage
,fuse
))
703 define KernelPackage
/pstore
705 TITLE
:=Pstore file system
706 DEFAULT
:=m if ALL_KMODS
709 CONFIG_PSTORE_COMPRESS
=y \
710 CONFIG_PSTORE_COMPRESS_DEFAULT
="deflate" \
711 CONFIG_PSTORE_DEFLATE_COMPRESS
=y \
712 CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT
=y
713 FILES
:= $(LINUX_DIR
)/fs
/pstore
/pstore.ko
714 AUTOLOAD
:=$(call AutoLoad
,30,pstore
,1)
717 define KernelPackage
/pstore
/description
718 Kernel module for pstore filesystem support
721 $(eval
$(call KernelPackage
,pstore
))