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_4||LINUX_5_10
):kmod-crypto-md4\
103 +kmod-crypto-sha256 \
104 +kmod-crypto-sha512 \
107 +(LINUX_5_4||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"
180 $(LINUX_DIR
)/drivers
/staging
/exfat
/exfat.ko@lt5.7 \
181 $(LINUX_DIR
)/fs
/exfat
/exfat.ko@ge5.7
182 AUTOLOAD
:=$(call AutoLoad
,30,exfat
,1)
183 DEPENDS
:=+kmod-nls-base
186 define KernelPackage
/fs-exfat
/description
187 Kernel module for exFAT filesystem support
190 $(eval
$(call KernelPackage
,fs-exfat
))
193 define KernelPackage
/fs-exportfs
195 TITLE
:=exportfs kernel server support
196 KCONFIG
:=CONFIG_EXPORTFS
197 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
198 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
,1)
201 define KernelPackage
/fs-exportfs
/description
202 Kernel module for exportfs. Needed for some other modules.
205 $(eval
$(call KernelPackage
,fs-exportfs
))
208 define KernelPackage
/fs-ext4
210 TITLE
:=EXT4 filesystem support
217 CONFIG_EXT4_ENCRYPTION
=n \
220 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
221 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko \
222 $(LINUX_DIR
)/fs
/mbcache.ko
223 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
226 define KernelPackage
/fs-ext4
/description
227 Kernel module for EXT4 filesystem support
230 $(eval
$(call KernelPackage
,fs-ext4
))
233 define KernelPackage
/fs-f2fs
235 TITLE
:=F2FS filesystem support
236 DEPENDS
:= +kmod-crypto-hash
+kmod-crypto-crc32
+kmod-nls-base
237 KCONFIG
:=CONFIG_F2FS_FS
238 FILES
:=$(LINUX_DIR
)/fs
/f2fs
/f2fs.ko
239 AUTOLOAD
:=$(call AutoLoad
,30,f2fs
,1)
242 define KernelPackage
/fs-f2fs
/description
243 Kernel module for F2FS filesystem support
246 $(eval
$(call KernelPackage
,fs-f2fs
))
249 define KernelPackage
/fs-netfs
251 TITLE
:=Network Filesystems support
253 KCONFIG
:= CONFIG_NETFS_SUPPORT
254 FILES
:=$(LINUX_DIR
)/fs
/netfs
/netfs.ko
255 AUTOLOAD
:=$(call AutoLoad
,28,netfs
)
258 $(eval
$(call KernelPackage
,fs-netfs
))
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 \
270 CONFIG_CACHEFILES
=y \
271 CONFIG_CACHEFILES_DEBUG
=n \
272 CONFIG_CACHEFILES_HISTOGRAM
=n
273 FILES
:=$(LINUX_DIR
)/fs
/fscache
/fscache.ko
274 AUTOLOAD
:=$(call AutoLoad
,29,fscache
)
277 $(eval
$(call KernelPackage
,fs-fscache
))
280 define KernelPackage
/fs-hfs
282 TITLE
:=HFS filesystem support
284 KCONFIG
:=CONFIG_HFS_FS
285 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
286 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
287 $(call AddDepends
/nls
)
290 define KernelPackage
/fs-hfs
/description
291 Kernel module for HFS filesystem support
294 $(eval
$(call KernelPackage
,fs-hfs
))
297 define KernelPackage
/fs-hfsplus
299 TITLE
:=HFS
+ filesystem support
301 KCONFIG
:=CONFIG_HFSPLUS_FS
302 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
303 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
304 $(call AddDepends
/nls
,utf8
)
307 define KernelPackage
/fs-hfsplus
/description
308 Kernel module for HFS
+ filesystem support
311 $(eval
$(call KernelPackage
,fs-hfsplus
))
314 define KernelPackage
/fs-isofs
316 TITLE
:=ISO9660 filesystem support
317 DEPENDS
:=+kmod-lib-zlib-inflate
+kmod-cdrom
318 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
319 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
320 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
321 $(call AddDepends
/nls
)
324 define KernelPackage
/fs-isofs
/description
325 Kernel module for ISO9660 filesystem support
328 $(eval
$(call KernelPackage
,fs-isofs
))
331 define KernelPackage
/fs-jfs
333 TITLE
:=JFS filesystem support
334 KCONFIG
:=CONFIG_JFS_FS
335 FILES
:=$(LINUX_DIR
)/fs
/jfs
/jfs.ko
336 AUTOLOAD
:=$(call AutoLoad
,30,jfs
,1)
337 $(call AddDepends
/nls
)
340 define KernelPackage
/fs-jfs
/description
341 Kernel module for JFS support
344 $(eval
$(call KernelPackage
,fs-jfs
))
346 define KernelPackage
/fs-minix
348 TITLE
:=Minix filesystem support
349 KCONFIG
:=CONFIG_MINIX_FS
350 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
351 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
354 define KernelPackage
/fs-minix
/description
355 Kernel module for Minix filesystem support
358 $(eval
$(call KernelPackage
,fs-minix
))
361 define KernelPackage
/fs-msdos
363 TITLE
:=MSDOS filesystem support
364 DEPENDS
:=+kmod-fs-vfat
365 KCONFIG
:=CONFIG_MSDOS_FS
366 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
367 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
368 $(call AddDepends
/nls
)
371 define KernelPackage
/fs-msdos
/description
372 Kernel module for MSDOS filesystem support
375 $(eval
$(call KernelPackage
,fs-msdos
))
378 define KernelPackage
/fs-nfs
380 TITLE
:=NFS filesystem client support
381 DEPENDS
:=+kmod-fs-nfs-common
+kmod-dnsresolver
384 CONFIG_NFS_USE_LEGACY_DNS
=n \
385 CONFIG_NFS_USE_NEW_IDMAPPER
=n
387 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
388 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
391 define KernelPackage
/fs-nfs
/description
392 Kernel module for NFS client support
395 $(eval
$(call KernelPackage
,fs-nfs
))
398 define KernelPackage
/fs-nfs-common
400 TITLE
:=Common NFS filesystem modules
401 DEPENDS
:=+kmod-oid-registry
407 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
408 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko \
409 $(LINUX_DIR
)/fs
/nfs_common
/grace.ko \
410 $(LINUX_DIR
)/fs
/nfs_common
/nfs_ssc.ko@ge5.10
411 AUTOLOAD
:=$(call AutoLoad
,30,grace sunrpc lockd
)
414 $(eval
$(call KernelPackage
,fs-nfs-common
))
417 define KernelPackage
/fs-nfs-common-rpcsec
419 TITLE
:=NFS Secure RPC
421 +kmod-fs-nfs-common \
432 CONFIG_RPCSEC_GSS_KRB5
434 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko \
435 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/rpcsec_gss_krb5.ko
436 AUTOLOAD
:=$(call AutoLoad
,31,auth_rpcgss rpcsec_gss_krb5
)
439 define KernelPackage
/fs-nfs-common-rpcsec
/description
440 Kernel modules for NFS Secure RPC
443 $(eval
$(call KernelPackage
,fs-nfs-common-rpcsec
))
446 define KernelPackage
/fs-nfs-v3
448 TITLE
:=NFS3 filesystem client support
449 DEPENDS
:=+kmod-fs-nfs
451 $(LINUX_DIR
)/fs
/nfs
/nfsv3.ko
452 AUTOLOAD
:=$(call AutoLoad
,41,nfsv3
)
455 define KernelPackage
/fs-nfs-v3
/description
456 Kernel module for NFS v3 client support
459 $(eval
$(call KernelPackage
,fs-nfs-v3
))
462 define KernelPackage
/fs-nfs-v4
464 TITLE
:=NFS4 filesystem client support
465 DEPENDS
:=+kmod-fs-nfs
469 $(LINUX_DIR
)/fs
/nfs
/nfsv4.ko
470 AUTOLOAD
:=$(call AutoLoad
,41,nfsv4
)
473 define KernelPackage
/fs-nfs-v4
/description
474 Kernel module for NFS v4 client support
477 $(eval
$(call KernelPackage
,fs-nfs-v4
))
480 define KernelPackage
/fs-nfsd
482 TITLE
:=NFS kernel server support
483 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
+kmod-fs-nfs-common-rpcsec
487 CONFIG_NFSD_V4_SECURITY_LABEL
=n \
488 CONFIG_NFSD_BLOCKLAYOUT
=n \
489 CONFIG_NFSD_SCSILAYOUT
=n \
490 CONFIG_NFSD_FLEXFILELAYOUT
=n \
491 CONFIG_NFSD_FAULT_INJECTION
=n
492 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
493 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
496 define KernelPackage
/fs-nfsd
/description
497 Kernel module for NFS kernel server support
500 $(eval
$(call KernelPackage
,fs-nfsd
))
503 define KernelPackage
/fs-ntfs
505 TITLE
:=NTFS filesystem support
506 KCONFIG
:=CONFIG_NTFS_FS
507 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
508 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
509 $(call AddDepends
/nls
)
512 define KernelPackage
/fs-ntfs
/description
513 Kernel module for NTFS filesystem support
516 $(eval
$(call KernelPackage
,fs-ntfs
))
519 define KernelPackage
/pstore
521 TITLE
:=Pstore file system
522 DEFAULT
:=m if ALL_KMODS
525 CONFIG_PSTORE_COMPRESS
=y \
526 CONFIG_PSTORE_COMPRESS_DEFAULT
="deflate" \
527 CONFIG_PSTORE_DEFLATE_COMPRESS
=y \
528 CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT
=y
529 FILES
:= $(LINUX_DIR
)/fs
/pstore
/pstore.ko
530 AUTOLOAD
:=$(call AutoLoad
,30,pstore
,1)
533 define KernelPackage
/pstore
/description
534 Kernel module for pstore filesystem support
537 $(eval
$(call KernelPackage
,pstore
))
540 define KernelPackage
/fs-reiserfs
542 TITLE
:=ReiserFS filesystem support
543 KCONFIG
:=CONFIG_REISERFS_FS
544 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
545 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
548 define KernelPackage
/fs-reiserfs
/description
549 Kernel module for ReiserFS support
552 $(eval
$(call KernelPackage
,fs-reiserfs
))
555 define KernelPackage
/fs-squashfs
557 TITLE
:=SquashFS
4.0 filesystem support
558 KCONFIG
:=CONFIG_SQUASHFS \
560 FILES
:=$(LINUX_DIR
)/fs
/squashfs
/squashfs.ko
561 AUTOLOAD
:=$(call AutoLoad
,30,squashfs
,1)
564 define KernelPackage
/fs-squashfs
/description
565 Kernel module for SquashFS
4.0 support
568 $(eval
$(call KernelPackage
,fs-squashfs
))
571 define KernelPackage
/fs-udf
573 TITLE
:=UDF filesystem support
574 KCONFIG
:=CONFIG_UDF_FS
575 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
576 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
577 DEPENDS
:=+kmod-lib-crc-itu-t
+kmod-cdrom
578 $(call AddDepends
/nls
)
581 define KernelPackage
/fs-udf
/description
582 Kernel module for UDF filesystem support
585 $(eval
$(call KernelPackage
,fs-udf
))
588 define KernelPackage
/fs-vfat
590 TITLE
:=VFAT filesystem support
595 $(LINUX_DIR
)/fs
/fat
/fat.ko \
596 $(LINUX_DIR
)/fs
/fat
/vfat.ko
597 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
598 $(call AddDepends
/nls
,cp437 iso8859-1 utf8
)
601 define KernelPackage
/fs-vfat
/description
602 Kernel module for VFAT filesystem support
605 $(eval
$(call KernelPackage
,fs-vfat
))
608 define KernelPackage
/fs-xfs
610 TITLE
:=XFS filesystem support
611 KCONFIG
:=CONFIG_XFS_FS
612 DEPENDS
:= +kmod-fs-exportfs
+kmod-lib-crc32c
613 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
614 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
617 define KernelPackage
/fs-xfs
/description
618 Kernel module for XFS support
621 $(eval
$(call KernelPackage
,fs-xfs
))
624 define KernelPackage
/fuse
626 TITLE
:=FUSE
(Filesystem in Userspace
) support
627 KCONFIG
:= CONFIG_FUSE_FS
628 FILES
:=$(LINUX_DIR
)/fs
/fuse
/fuse.ko
629 AUTOLOAD
:=$(call AutoLoad
,80,fuse
)
632 define KernelPackage
/fuse
/description
633 Kernel module for userspace filesystem support
636 $(eval
$(call KernelPackage
,fuse
))
639 define KernelPackage
/fs-ntfs3
642 KCONFIG
:= CONFIG_NTFS3_FS CONFIG_NTFS3_FS_POSIX_ACL
=y
643 FILES
:=$(LINUX_DIR
)/fs
/ntfs3
/ntfs3.ko
644 AUTOLOAD
:=$(call AutoLoad
,80,ntfs3
)
647 define KernelPackage
/fuse
/description
648 Kernel module for new NTFS3 filesystem support
651 $(eval
$(call KernelPackage
,fs-ntfs3
))