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
92 CONFIG_CIFS_DFS_UPCALL
=n \
95 $(LINUX_DIR
)/fs
/smbfs_common
/cifs_arc4.ko \
96 $(LINUX_DIR
)/fs
/smbfs_common
/cifs_md4.ko \
97 $(LINUX_DIR
)/fs
/cifs
/cifs.ko
98 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
99 $(call AddDepends
/nls
)
102 +kmod-crypto-sha256 \
103 +kmod-crypto-sha512 \
115 define KernelPackage
/fs-cifs
/description
116 Kernel module for CIFS support
119 $(eval
$(call KernelPackage
,fs-cifs
))
122 define KernelPackage
/fs-configfs
124 TITLE
:=Configuration filesystem support
127 FILES
:=$(LINUX_DIR
)/fs
/configfs
/configfs.ko
128 AUTOLOAD
:=$(call AutoLoad
,30,configfs
)
131 define KernelPackage
/fs-configfs
/description
132 Kernel module for configfs support
135 $(eval
$(call KernelPackage
,fs-configfs
))
138 define KernelPackage
/fs-cramfs
140 TITLE
:=Compressed RAM
/ROM filesystem support
141 DEPENDS
:=+kmod-lib-zlib-inflate
144 FILES
:=$(LINUX_DIR
)/fs
/cramfs
/cramfs.ko
145 AUTOLOAD
:=$(call AutoLoad
,30,cramfs
)
148 define KernelPackage
/fs-cramfs
/description
149 Kernel module for cramfs support
152 $(eval
$(call KernelPackage
,fs-cramfs
))
155 define KernelPackage
/fs-efivarfs
157 TITLE
:=efivar filesystem support
158 KCONFIG
:=CONFIG_EFIVAR_FS
159 FILES
:=$(LINUX_DIR
)/fs
/efivarfs
/efivarfs.ko
160 DEPENDS
:=@
(x86_64||x86
)
161 AUTOLOAD
:=$(call Autoload
,90,efivarfs
)
164 define KernelPackage
/fs-efivarfs
/description
165 Kernel module to support efivarfs file system mountpoint.
168 $(eval
$(call KernelPackage
,fs-efivarfs
))
171 define KernelPackage
/fs-exfat
173 TITLE
:=exFAT filesystem support
176 CONFIG_EXFAT_DEFAULT_IOCHARSET
="utf8"
177 FILES
:= $(LINUX_DIR
)/fs
/exfat
/exfat.ko
178 AUTOLOAD
:=$(call AutoLoad
,30,exfat
,1)
179 DEPENDS
:=+kmod-nls-base
182 define KernelPackage
/fs-exfat
/description
183 Kernel module for exFAT filesystem support
186 $(eval
$(call KernelPackage
,fs-exfat
))
189 define KernelPackage
/fs-exportfs
191 TITLE
:=exportfs kernel server support
192 KCONFIG
:=CONFIG_EXPORTFS
193 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
194 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
,1)
197 define KernelPackage
/fs-exportfs
/description
198 Kernel module for exportfs. Needed for some other modules.
201 $(eval
$(call KernelPackage
,fs-exportfs
))
204 define KernelPackage
/fs-ext4
206 TITLE
:=EXT4 filesystem support
213 CONFIG_EXT4_ENCRYPTION
=n \
216 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
217 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko \
218 $(LINUX_DIR
)/fs
/mbcache.ko
219 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
222 define KernelPackage
/fs-ext4
/description
223 Kernel module for EXT4 filesystem support
226 $(eval
$(call KernelPackage
,fs-ext4
))
229 define KernelPackage
/fs-f2fs
231 TITLE
:=F2FS filesystem support
232 DEPENDS
:= +kmod-crypto-hash
+kmod-crypto-crc32
+kmod-nls-base
233 KCONFIG
:=CONFIG_F2FS_FS
234 FILES
:=$(LINUX_DIR
)/fs
/f2fs
/f2fs.ko
235 AUTOLOAD
:=$(call AutoLoad
,30,f2fs
,1)
238 define KernelPackage
/fs-f2fs
/description
239 Kernel module for F2FS filesystem support
242 $(eval
$(call KernelPackage
,fs-f2fs
))
245 define KernelPackage
/fs-fscache
247 TITLE
:=General filesystem local cache manager
248 DEPENDS
:=+kmod-fs-netfs
251 CONFIG_FSCACHE_STATS
=y \
252 CONFIG_FSCACHE_HISTOGRAM
=n \
253 CONFIG_FSCACHE_DEBUG
=n \
254 CONFIG_FSCACHE_OBJECT_LIST
=n \
256 CONFIG_CACHEFILES_DEBUG
=n \
257 CONFIG_CACHEFILES_HISTOGRAM
=n
259 $(LINUX_DIR
)/fs
/fscache
/fscache.ko \
260 $(LINUX_DIR
)/fs
/cachefiles
/cachefiles.ko
261 AUTOLOAD
:=$(call AutoLoad
,29,fscache cachefiles
)
264 $(eval
$(call KernelPackage
,fs-fscache
))
267 define KernelPackage
/fs-hfs
269 TITLE
:=HFS filesystem support
271 KCONFIG
:=CONFIG_HFS_FS
272 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
273 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
274 $(call AddDepends
/nls
)
277 define KernelPackage
/fs-hfs
/description
278 Kernel module for HFS filesystem support
281 $(eval
$(call KernelPackage
,fs-hfs
))
284 define KernelPackage
/fs-hfsplus
286 TITLE
:=HFS
+ filesystem support
288 KCONFIG
:=CONFIG_HFSPLUS_FS
289 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
290 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
291 $(call AddDepends
/nls
,utf8
)
294 define KernelPackage
/fs-hfsplus
/description
295 Kernel module for HFS
+ filesystem support
298 $(eval
$(call KernelPackage
,fs-hfsplus
))
301 define KernelPackage
/fs-isofs
303 TITLE
:=ISO9660 filesystem support
304 DEPENDS
:=+kmod-lib-zlib-inflate
+kmod-cdrom
305 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
306 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
307 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
308 $(call AddDepends
/nls
)
311 define KernelPackage
/fs-isofs
/description
312 Kernel module for ISO9660 filesystem support
315 $(eval
$(call KernelPackage
,fs-isofs
))
318 define KernelPackage
/fs-jfs
320 TITLE
:=JFS filesystem support
321 KCONFIG
:=CONFIG_JFS_FS
322 FILES
:=$(LINUX_DIR
)/fs
/jfs
/jfs.ko
323 AUTOLOAD
:=$(call AutoLoad
,30,jfs
,1)
324 $(call AddDepends
/nls
)
327 define KernelPackage
/fs-jfs
/description
328 Kernel module for JFS support
331 $(eval
$(call KernelPackage
,fs-jfs
))
333 define KernelPackage
/fs-minix
335 TITLE
:=Minix filesystem support
336 KCONFIG
:=CONFIG_MINIX_FS
337 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
338 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
341 define KernelPackage
/fs-minix
/description
342 Kernel module for Minix filesystem support
345 $(eval
$(call KernelPackage
,fs-minix
))
348 define KernelPackage
/fs-msdos
350 TITLE
:=MSDOS filesystem support
351 DEPENDS
:=+kmod-fs-vfat
352 KCONFIG
:=CONFIG_MSDOS_FS
353 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
354 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
355 $(call AddDepends
/nls
)
358 define KernelPackage
/fs-msdos
/description
359 Kernel module for MSDOS filesystem support
362 $(eval
$(call KernelPackage
,fs-msdos
))
365 define KernelPackage
/fs-netfs
367 TITLE
:=Network Filesystems support
368 KCONFIG
:= CONFIG_NETFS_SUPPORT
369 FILES
:=$(LINUX_DIR
)/fs
/netfs
/netfs.ko
370 AUTOLOAD
:=$(call AutoLoad
,28,netfs
)
373 $(eval
$(call KernelPackage
,fs-netfs
))
376 define KernelPackage
/fs-nfs
378 TITLE
:=NFS filesystem client support
379 DEPENDS
:=+kmod-fs-nfs-common
+kmod-dnsresolver
382 CONFIG_NFS_USE_LEGACY_DNS
=n \
383 CONFIG_NFS_USE_NEW_IDMAPPER
=n
385 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
386 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
389 define KernelPackage
/fs-nfs
/description
390 Kernel module for NFS client support
393 $(eval
$(call KernelPackage
,fs-nfs
))
396 define KernelPackage
/fs-nfs-common
398 TITLE
:=Common NFS filesystem modules
399 DEPENDS
:=+kmod-oid-registry
403 CONFIG_GRACE_PERIOD \
406 CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN
="kernel.org" \
407 CONFIG_NFS_V4_1_MIGRATION
=n \
409 CONFIG_NFS_V4_2_READ_PLUS
=n
411 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
412 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko \
413 $(LINUX_DIR
)/fs
/nfs_common
/grace.ko \
414 $(LINUX_DIR
)/fs
/nfs_common
/nfs_ssc.ko
415 AUTOLOAD
:=$(call AutoLoad
,30,grace sunrpc lockd
)
418 $(eval
$(call KernelPackage
,fs-nfs-common
))
421 define KernelPackage
/fs-nfs-common-rpcsec
423 TITLE
:=NFS Secure RPC
425 +kmod-fs-nfs-common \
436 CONFIG_RPCSEC_GSS_KRB5
438 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko \
439 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/rpcsec_gss_krb5.ko
440 AUTOLOAD
:=$(call AutoLoad
,31,auth_rpcgss rpcsec_gss_krb5
)
443 define KernelPackage
/fs-nfs-common-rpcsec
/description
444 Kernel modules for NFS Secure RPC
447 $(eval
$(call KernelPackage
,fs-nfs-common-rpcsec
))
450 define KernelPackage
/fs-nfs-v3
452 TITLE
:=NFS3 filesystem client support
453 DEPENDS
:=+kmod-fs-nfs
455 $(LINUX_DIR
)/fs
/nfs
/nfsv3.ko
456 AUTOLOAD
:=$(call AutoLoad
,41,nfsv3
)
459 define KernelPackage
/fs-nfs-v3
/description
460 Kernel module for NFS v3 client support
463 $(eval
$(call KernelPackage
,fs-nfs-v3
))
466 define KernelPackage
/fs-nfs-v4
468 TITLE
:=NFS4 filesystem client support
469 DEPENDS
:=+kmod-fs-nfs
473 $(LINUX_DIR
)/fs
/nfs
/nfsv4.ko
474 AUTOLOAD
:=$(call AutoLoad
,41,nfsv4
)
477 define KernelPackage
/fs-nfs-v4
/description
478 Kernel module for NFS v4 client support
481 $(eval
$(call KernelPackage
,fs-nfs-v4
))
484 define KernelPackage
/fs-nfsd
486 TITLE
:=NFS kernel server support
487 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
+kmod-fs-nfs-common-rpcsec
491 CONFIG_NFSD_V4_SECURITY_LABEL
=n \
492 CONFIG_NFSD_BLOCKLAYOUT
=n \
493 CONFIG_NFSD_SCSILAYOUT
=n \
494 CONFIG_NFSD_FLEXFILELAYOUT
=n \
495 CONFIG_NFSD_FAULT_INJECTION
=n \
496 CONFIG_NFSD_V4_2_INTER_SSC
=n
497 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
498 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
501 define KernelPackage
/fs-nfsd
/description
502 Kernel module for NFS kernel server support
505 $(eval
$(call KernelPackage
,fs-nfsd
))
508 define KernelPackage
/fs-ntfs
510 TITLE
:=NTFS filesystem read-only
(old driver
) support
511 KCONFIG
:=CONFIG_NTFS_FS
512 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
513 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
514 $(call AddDepends
/nls
)
517 define KernelPackage
/fs-ntfs
/description
518 Kernel module for limited NTFS filesystem support. Support for writing
519 is extremely limited and disabled
as a result.
522 $(eval
$(call KernelPackage
,fs-ntfs
))
525 define KernelPackage
/fs-ntfs3
527 TITLE
:=NTFS filesystem read
& write
(new driver
) support
528 KCONFIG
:= CONFIG_NTFS3_FS CONFIG_NTFS3_FS_POSIX_ACL
=y
529 FILES
:=$(LINUX_DIR
)/fs
/ntfs3
/ntfs3.ko
530 $(call AddDepends
/nls
)
531 AUTOLOAD
:=$(call AutoLoad
,80,ntfs3
)
534 define KernelPackage
/fs-ntfs3
/description
535 Kernel module for fully functional NTFS filesystem support. It allows
536 reading
as well
as writing.
538 It supports NTFS versions up to
3.1.
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
))