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-cifs
90 CONFIG_SMBFS_COMMON@ge5.15 \
92 CONFIG_CIFS_DFS_UPCALL
=n \
95 $(LINUX_DIR
)/fs
/smbfs_common
/cifs_arc4.ko@ge5.15 \
96 $(LINUX_DIR
)/fs
/smbfs_common
/cifs_md4.ko@ge5.15 \
97 $(LINUX_DIR
)/fs
/cifs
/cifs.ko
98 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
99 $(call AddDepends
/nls
)
101 +LINUX_5_10
:kmod-crypto-md4\
103 +kmod-crypto-sha256 \
104 +kmod-crypto-sha512 \
107 +LINUX_5_10
:kmod-crypto-arc4 \
112 +(LINUX_5_15
):kmod-asn1-decoder \
113 +(LINUX_5_15
):kmod-oid-registry \
114 +(LINUX_5_15
):kmod-dnsresolver
117 define KernelPackage
/fs-cifs
/description
118 Kernel module for CIFS support
121 $(eval
$(call KernelPackage
,fs-cifs
))
124 define KernelPackage
/fs-configfs
126 TITLE
:=Configuration filesystem support
129 FILES
:=$(LINUX_DIR
)/fs
/configfs
/configfs.ko
130 AUTOLOAD
:=$(call AutoLoad
,30,configfs
)
133 define KernelPackage
/fs-configfs
/description
134 Kernel module for configfs support
137 $(eval
$(call KernelPackage
,fs-configfs
))
140 define KernelPackage
/fs-cramfs
142 TITLE
:=Compressed RAM
/ROM filesystem support
143 DEPENDS
:=+kmod-lib-zlib-inflate
146 FILES
:=$(LINUX_DIR
)/fs
/cramfs
/cramfs.ko
147 AUTOLOAD
:=$(call AutoLoad
,30,cramfs
)
150 define KernelPackage
/fs-cramfs
/description
151 Kernel module for cramfs support
154 $(eval
$(call KernelPackage
,fs-cramfs
))
157 define KernelPackage
/fs-efivarfs
159 TITLE
:=efivar filesystem support
160 KCONFIG
:=CONFIG_EFIVAR_FS
161 FILES
:=$(LINUX_DIR
)/fs
/efivarfs
/efivarfs.ko
162 DEPENDS
:=@
(x86_64||x86
)
163 AUTOLOAD
:=$(call Autoload
,90,efivarfs
)
166 define KernelPackage
/fs-efivarfs
/description
167 Kernel module to support efivarfs file system mountpoint.
170 $(eval
$(call KernelPackage
,fs-efivarfs
))
173 define KernelPackage
/fs-exfat
175 TITLE
:=exFAT filesystem support
178 CONFIG_EXFAT_DEFAULT_IOCHARSET
="utf8"
179 FILES
:= $(LINUX_DIR
)/fs
/exfat
/exfat.ko
180 AUTOLOAD
:=$(call AutoLoad
,30,exfat
,1)
181 DEPENDS
:=+kmod-nls-base
184 define KernelPackage
/fs-exfat
/description
185 Kernel module for exFAT filesystem support
188 $(eval
$(call KernelPackage
,fs-exfat
))
191 define KernelPackage
/fs-exportfs
193 TITLE
:=exportfs kernel server support
194 KCONFIG
:=CONFIG_EXPORTFS
195 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
196 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
,1)
199 define KernelPackage
/fs-exportfs
/description
200 Kernel module for exportfs. Needed for some other modules.
203 $(eval
$(call KernelPackage
,fs-exportfs
))
206 define KernelPackage
/fs-ext4
208 TITLE
:=EXT4 filesystem support
215 CONFIG_EXT4_ENCRYPTION
=n \
218 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
219 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko \
220 $(LINUX_DIR
)/fs
/mbcache.ko
221 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
224 define KernelPackage
/fs-ext4
/description
225 Kernel module for EXT4 filesystem support
228 $(eval
$(call KernelPackage
,fs-ext4
))
231 define KernelPackage
/fs-f2fs
233 TITLE
:=F2FS filesystem support
234 DEPENDS
:= +kmod-crypto-hash
+kmod-crypto-crc32
+kmod-nls-base
235 KCONFIG
:=CONFIG_F2FS_FS
236 FILES
:=$(LINUX_DIR
)/fs
/f2fs
/f2fs.ko
237 AUTOLOAD
:=$(call AutoLoad
,30,f2fs
,1)
240 define KernelPackage
/fs-f2fs
/description
241 Kernel module for F2FS filesystem support
244 $(eval
$(call KernelPackage
,fs-f2fs
))
247 define KernelPackage
/fs-fscache
249 TITLE
:=General filesystem local cache manager
250 DEPENDS
:=+kmod-fs-netfs
253 CONFIG_FSCACHE_STATS
=y \
254 CONFIG_FSCACHE_HISTOGRAM
=n \
255 CONFIG_FSCACHE_DEBUG
=n \
256 CONFIG_FSCACHE_OBJECT_LIST
=n \
258 CONFIG_CACHEFILES_DEBUG
=n \
259 CONFIG_CACHEFILES_HISTOGRAM
=n
261 $(LINUX_DIR
)/fs
/fscache
/fscache.ko \
262 $(LINUX_DIR
)/fs
/cachefiles
/cachefiles.ko
263 AUTOLOAD
:=$(call AutoLoad
,29,fscache cachefiles
)
266 $(eval
$(call KernelPackage
,fs-fscache
))
269 define KernelPackage
/fs-hfs
271 TITLE
:=HFS filesystem support
273 KCONFIG
:=CONFIG_HFS_FS
274 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
275 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
276 $(call AddDepends
/nls
)
279 define KernelPackage
/fs-hfs
/description
280 Kernel module for HFS filesystem support
283 $(eval
$(call KernelPackage
,fs-hfs
))
286 define KernelPackage
/fs-hfsplus
288 TITLE
:=HFS
+ filesystem support
290 KCONFIG
:=CONFIG_HFSPLUS_FS
291 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
292 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
293 $(call AddDepends
/nls
,utf8
)
296 define KernelPackage
/fs-hfsplus
/description
297 Kernel module for HFS
+ filesystem support
300 $(eval
$(call KernelPackage
,fs-hfsplus
))
303 define KernelPackage
/fs-isofs
305 TITLE
:=ISO9660 filesystem support
306 DEPENDS
:=+kmod-lib-zlib-inflate
+kmod-cdrom
307 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
308 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
309 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
310 $(call AddDepends
/nls
)
313 define KernelPackage
/fs-isofs
/description
314 Kernel module for ISO9660 filesystem support
317 $(eval
$(call KernelPackage
,fs-isofs
))
320 define KernelPackage
/fs-jfs
322 TITLE
:=JFS filesystem support
323 KCONFIG
:=CONFIG_JFS_FS
324 FILES
:=$(LINUX_DIR
)/fs
/jfs
/jfs.ko
325 AUTOLOAD
:=$(call AutoLoad
,30,jfs
,1)
326 $(call AddDepends
/nls
)
329 define KernelPackage
/fs-jfs
/description
330 Kernel module for JFS support
333 $(eval
$(call KernelPackage
,fs-jfs
))
335 define KernelPackage
/fs-minix
337 TITLE
:=Minix filesystem support
338 KCONFIG
:=CONFIG_MINIX_FS
339 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
340 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
343 define KernelPackage
/fs-minix
/description
344 Kernel module for Minix filesystem support
347 $(eval
$(call KernelPackage
,fs-minix
))
350 define KernelPackage
/fs-msdos
352 TITLE
:=MSDOS filesystem support
353 DEPENDS
:=+kmod-fs-vfat
354 KCONFIG
:=CONFIG_MSDOS_FS
355 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
356 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
357 $(call AddDepends
/nls
)
360 define KernelPackage
/fs-msdos
/description
361 Kernel module for MSDOS filesystem support
364 $(eval
$(call KernelPackage
,fs-msdos
))
367 define KernelPackage
/fs-netfs
369 TITLE
:=Network Filesystems support
371 KCONFIG
:= CONFIG_NETFS_SUPPORT
372 FILES
:=$(LINUX_DIR
)/fs
/netfs
/netfs.ko
373 AUTOLOAD
:=$(call AutoLoad
,28,netfs
)
376 $(eval
$(call KernelPackage
,fs-netfs
))
379 define KernelPackage
/fs-nfs
381 TITLE
:=NFS filesystem client support
382 DEPENDS
:=+kmod-fs-nfs-common
+kmod-dnsresolver
385 CONFIG_NFS_USE_LEGACY_DNS
=n \
386 CONFIG_NFS_USE_NEW_IDMAPPER
=n
388 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
389 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
392 define KernelPackage
/fs-nfs
/description
393 Kernel module for NFS client support
396 $(eval
$(call KernelPackage
,fs-nfs
))
399 define KernelPackage
/fs-nfs-common
401 TITLE
:=Common NFS filesystem modules
402 DEPENDS
:=+kmod-oid-registry
406 CONFIG_GRACE_PERIOD \
409 CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN
="kernel.org" \
410 CONFIG_NFS_V4_1_MIGRATION
=n \
412 CONFIG_NFS_V4_2_READ_PLUS
=n
414 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
415 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko \
416 $(LINUX_DIR
)/fs
/nfs_common
/grace.ko \
417 $(LINUX_DIR
)/fs
/nfs_common
/nfs_ssc.ko
418 AUTOLOAD
:=$(call AutoLoad
,30,grace sunrpc lockd
)
421 $(eval
$(call KernelPackage
,fs-nfs-common
))
424 define KernelPackage
/fs-nfs-common-rpcsec
426 TITLE
:=NFS Secure RPC
428 +kmod-fs-nfs-common \
439 CONFIG_RPCSEC_GSS_KRB5
441 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko \
442 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/rpcsec_gss_krb5.ko
443 AUTOLOAD
:=$(call AutoLoad
,31,auth_rpcgss rpcsec_gss_krb5
)
446 define KernelPackage
/fs-nfs-common-rpcsec
/description
447 Kernel modules for NFS Secure RPC
450 $(eval
$(call KernelPackage
,fs-nfs-common-rpcsec
))
453 define KernelPackage
/fs-nfs-v3
455 TITLE
:=NFS3 filesystem client support
456 DEPENDS
:=+kmod-fs-nfs
458 $(LINUX_DIR
)/fs
/nfs
/nfsv3.ko
459 AUTOLOAD
:=$(call AutoLoad
,41,nfsv3
)
462 define KernelPackage
/fs-nfs-v3
/description
463 Kernel module for NFS v3 client support
466 $(eval
$(call KernelPackage
,fs-nfs-v3
))
469 define KernelPackage
/fs-nfs-v4
471 TITLE
:=NFS4 filesystem client support
472 DEPENDS
:=+kmod-fs-nfs
476 $(LINUX_DIR
)/fs
/nfs
/nfsv4.ko
477 AUTOLOAD
:=$(call AutoLoad
,41,nfsv4
)
480 define KernelPackage
/fs-nfs-v4
/description
481 Kernel module for NFS v4 client support
484 $(eval
$(call KernelPackage
,fs-nfs-v4
))
487 define KernelPackage
/fs-nfsd
489 TITLE
:=NFS kernel server support
490 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
+kmod-fs-nfs-common-rpcsec
494 CONFIG_NFSD_V4_SECURITY_LABEL
=n \
495 CONFIG_NFSD_BLOCKLAYOUT
=n \
496 CONFIG_NFSD_SCSILAYOUT
=n \
497 CONFIG_NFSD_FLEXFILELAYOUT
=n \
498 CONFIG_NFSD_FAULT_INJECTION
=n \
499 CONFIG_NFSD_V4_2_INTER_SSC
=n
500 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
501 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
504 define KernelPackage
/fs-nfsd
/description
505 Kernel module for NFS kernel server support
508 $(eval
$(call KernelPackage
,fs-nfsd
))
511 define KernelPackage
/fs-ntfs
513 TITLE
:=NTFS filesystem support
514 KCONFIG
:=CONFIG_NTFS_FS
515 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
516 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
517 $(call AddDepends
/nls
)
520 define KernelPackage
/fs-ntfs
/description
521 Kernel module for NTFS filesystem support
524 $(eval
$(call KernelPackage
,fs-ntfs
))
527 define KernelPackage
/fs-ntfs3
530 KCONFIG
:= CONFIG_NTFS3_FS CONFIG_NTFS3_FS_POSIX_ACL
=y
531 FILES
:=$(LINUX_DIR
)/fs
/ntfs3
/ntfs3.ko
532 $(call AddDepends
/nls
)
533 DEPENDS
+=@
!LINUX_5_10
534 AUTOLOAD
:=$(call AutoLoad
,80,ntfs3
)
537 define KernelPackage
/fuse
/description
538 Kernel module for new NTFS3 filesystem support
541 $(eval
$(call KernelPackage
,fs-ntfs3
))
544 define KernelPackage
/fs-reiserfs
546 TITLE
:=ReiserFS filesystem support
547 KCONFIG
:=CONFIG_REISERFS_FS
548 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
549 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
552 define KernelPackage
/fs-reiserfs
/description
553 Kernel module for ReiserFS support
556 $(eval
$(call KernelPackage
,fs-reiserfs
))
559 define KernelPackage
/fs-squashfs
561 TITLE
:=SquashFS
4.0 filesystem support
562 KCONFIG
:=CONFIG_SQUASHFS \
564 FILES
:=$(LINUX_DIR
)/fs
/squashfs
/squashfs.ko
565 AUTOLOAD
:=$(call AutoLoad
,30,squashfs
,1)
568 define KernelPackage
/fs-squashfs
/description
569 Kernel module for SquashFS
4.0 support
572 $(eval
$(call KernelPackage
,fs-squashfs
))
575 define KernelPackage
/fs-udf
577 TITLE
:=UDF filesystem support
578 KCONFIG
:=CONFIG_UDF_FS
579 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
580 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
581 DEPENDS
:=+kmod-lib-crc-itu-t
+kmod-cdrom
582 $(call AddDepends
/nls
)
585 define KernelPackage
/fs-udf
/description
586 Kernel module for UDF filesystem support
589 $(eval
$(call KernelPackage
,fs-udf
))
592 define KernelPackage
/fs-vfat
594 TITLE
:=VFAT filesystem support
599 $(LINUX_DIR
)/fs
/fat
/fat.ko \
600 $(LINUX_DIR
)/fs
/fat
/vfat.ko
601 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
,1)
602 $(call AddDepends
/nls
,cp437 iso8859-1 utf8
)
605 define KernelPackage
/fs-vfat
/description
606 Kernel module for VFAT filesystem support
609 $(eval
$(call KernelPackage
,fs-vfat
))
612 define KernelPackage
/fs-xfs
614 TITLE
:=XFS filesystem support
615 KCONFIG
:=CONFIG_XFS_FS
616 DEPENDS
:= +kmod-fs-exportfs
+kmod-lib-crc32c
617 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
618 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
621 define KernelPackage
/fs-xfs
/description
622 Kernel module for XFS support
625 $(eval
$(call KernelPackage
,fs-xfs
))
628 define KernelPackage
/fuse
630 TITLE
:=FUSE
(Filesystem in Userspace
) support
631 KCONFIG
:= CONFIG_FUSE_FS
632 FILES
:=$(LINUX_DIR
)/fs
/fuse
/fuse.ko
633 AUTOLOAD
:=$(call AutoLoad
,80,fuse
)
636 define KernelPackage
/fuse
/description
637 Kernel module for userspace filesystem support
640 $(eval
$(call KernelPackage
,fuse
))
643 define KernelPackage
/pstore
645 TITLE
:=Pstore file system
646 DEFAULT
:=m if ALL_KMODS
649 CONFIG_PSTORE_COMPRESS
=y \
650 CONFIG_PSTORE_COMPRESS_DEFAULT
="deflate" \
651 CONFIG_PSTORE_DEFLATE_COMPRESS
=y \
652 CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT
=y
653 FILES
:= $(LINUX_DIR
)/fs
/pstore
/pstore.ko
654 AUTOLOAD
:=$(call AutoLoad
,30,pstore
,1)
657 define KernelPackage
/pstore
/description
658 Kernel module for pstore filesystem support
661 $(eval
$(call KernelPackage
,pstore
))