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_POSIX_ACL
=n \
74 CONFIG_BTRFS_FS_CHECK_INTEGRITY
=n
76 $(LINUX_DIR
)/fs
/btrfs
/btrfs.ko
77 AUTOLOAD
:=$(call AutoLoad
,30,btrfs
,1)
80 define KernelPackage
/fs-btrfs
/description
81 Kernel module for BTRFS support
84 $(eval
$(call KernelPackage
,fs-btrfs
))
87 define KernelPackage
/fs-cifs
92 CONFIG_CIFS_DFS_UPCALL
=n \
93 CONFIG_CIFS_UPCALL
=n \
95 FILES
:=$(LINUX_DIR
)/fs
/cifs
/cifs.ko
96 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
97 $(call AddDepends
/nls
)
108 define KernelPackage
/fs-cifs
/description
109 Kernel module for CIFS support
112 $(eval
$(call KernelPackage
,fs-cifs
))
115 define KernelPackage
/fs-configfs
117 TITLE
:=Configuration filesystem support
120 FILES
:=$(LINUX_DIR
)/fs
/configfs
/configfs.ko
121 AUTOLOAD
:=$(call AutoLoad
,30,configfs
)
124 define KernelPackage
/fs-configfs
/description
125 Kernel module for configfs support
128 $(eval
$(call KernelPackage
,fs-configfs
))
131 define KernelPackage
/fs-cramfs
133 TITLE
:=Compressed RAM
/ROM filesystem support
134 DEPENDS
:=+kmod-lib-zlib-inflate
137 FILES
:=$(LINUX_DIR
)/fs
/cramfs
/cramfs.ko
138 AUTOLOAD
:=$(call AutoLoad
,30,cramfs
)
141 define KernelPackage
/fs-cramfs
/description
142 Kernel module for cramfs support
145 $(eval
$(call KernelPackage
,fs-cramfs
))
148 define KernelPackage
/fs-efivarfs
150 TITLE
:=efivar filesystem support
151 KCONFIG
:=CONFIG_EFIVAR_FS
152 FILES
:=$(LINUX_DIR
)/fs
/efivarfs
/efivarfs.ko
153 DEPENDS
:=@
(x86_64||x86
)
154 AUTOLOAD
:=$(call Autoload
,90,efivarfs
)
157 define KernelPackage
/fs-efivarfs
/description
158 Kernel module to support efivarfs file system mountpoint.
161 $(eval
$(call KernelPackage
,fs-efivarfs
))
164 define KernelPackage
/fs-exportfs
166 TITLE
:=exportfs kernel server support
167 KCONFIG
:=CONFIG_EXPORTFS
168 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
169 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
,1)
172 define KernelPackage
/fs-exportfs
/description
173 Kernel module for exportfs. Needed for some other modules.
176 $(eval
$(call KernelPackage
,fs-exportfs
))
179 define KernelPackage
/fs-ext4
181 TITLE
:=EXT4 filesystem support
188 CONFIG_EXT4_ENCRYPTION
=n \
191 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
192 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko \
193 $(LINUX_DIR
)/fs
/mbcache.ko
194 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
197 define KernelPackage
/fs-ext4
/description
198 Kernel module for EXT4 filesystem support
201 $(eval
$(call KernelPackage
,fs-ext4
))
204 define KernelPackage
/fs-f2fs
206 TITLE
:=F2FS filesystem support
207 DEPENDS
:= +kmod-crypto-hash
+kmod-crypto-crc32
+!LINUX_4_19
:kmod-nls-base
208 KCONFIG
:=CONFIG_F2FS_FS
209 FILES
:=$(LINUX_DIR
)/fs
/f2fs
/f2fs.ko
210 AUTOLOAD
:=$(call AutoLoad
,30,f2fs
,1)
213 define KernelPackage
/fs-f2fs
/description
214 Kernel module for F2FS filesystem support
217 $(eval
$(call KernelPackage
,fs-f2fs
))
220 define KernelPackage
/fs-fscache
222 TITLE
:=General filesystem local cache manager
226 CONFIG_FSCACHE_STATS
=y \
227 CONFIG_FSCACHE_HISTOGRAM
=n \
228 CONFIG_FSCACHE_DEBUG
=n \
229 CONFIG_FSCACHE_OBJECT_LIST
=n \
230 CONFIG_CACHEFILES
=y \
231 CONFIG_CACHEFILES_DEBUG
=n \
232 CONFIG_CACHEFILES_HISTOGRAM
=n
233 FILES
:=$(LINUX_DIR
)/fs
/fscache
/fscache.ko
234 AUTOLOAD
:=$(call AutoLoad
,29,fscache
)
237 $(eval
$(call KernelPackage
,fs-fscache
))
240 define KernelPackage
/fs-hfs
242 TITLE
:=HFS filesystem support
243 KCONFIG
:=CONFIG_HFS_FS
244 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
245 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
246 $(call AddDepends
/nls
)
249 define KernelPackage
/fs-hfs
/description
250 Kernel module for HFS filesystem support
253 $(eval
$(call KernelPackage
,fs-hfs
))
256 define KernelPackage
/fs-hfsplus
258 TITLE
:=HFS
+ filesystem support
259 KCONFIG
:=CONFIG_HFSPLUS_FS
260 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
261 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
262 $(call AddDepends
/nls
,utf8
)
265 define KernelPackage
/fs-hfsplus
/description
266 Kernel module for HFS
+ filesystem support
269 $(eval
$(call KernelPackage
,fs-hfsplus
))
272 define KernelPackage
/fs-isofs
274 TITLE
:=ISO9660 filesystem support
275 DEPENDS
:=+kmod-lib-zlib-inflate
276 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
277 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
278 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
279 $(call AddDepends
/nls
)
282 define KernelPackage
/fs-isofs
/description
283 Kernel module for ISO9660 filesystem support
286 $(eval
$(call KernelPackage
,fs-isofs
))
289 define KernelPackage
/fs-jfs
291 TITLE
:=JFS filesystem support
292 KCONFIG
:=CONFIG_JFS_FS
293 FILES
:=$(LINUX_DIR
)/fs
/jfs
/jfs.ko
294 AUTOLOAD
:=$(call AutoLoad
,30,jfs
,1)
295 $(call AddDepends
/nls
)
298 define KernelPackage
/fs-jfs
/description
299 Kernel module for JFS support
302 $(eval
$(call KernelPackage
,fs-jfs
))
304 define KernelPackage
/fs-minix
306 TITLE
:=Minix filesystem support
307 KCONFIG
:=CONFIG_MINIX_FS
308 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
309 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
312 define KernelPackage
/fs-minix
/description
313 Kernel module for Minix filesystem support
316 $(eval
$(call KernelPackage
,fs-minix
))
319 define KernelPackage
/fs-msdos
321 TITLE
:=MSDOS filesystem support
322 DEPENDS
:=+kmod-fs-vfat
323 KCONFIG
:=CONFIG_MSDOS_FS
324 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
325 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
326 $(call AddDepends
/nls
)
329 define KernelPackage
/fs-msdos
/description
330 Kernel module for MSDOS filesystem support
333 $(eval
$(call KernelPackage
,fs-msdos
))
336 define KernelPackage
/fs-nfs
338 TITLE
:=NFS filesystem client support
339 DEPENDS
:=+kmod-fs-nfs-common
+kmod-dnsresolver
342 CONFIG_NFS_USE_LEGACY_DNS
=n \
343 CONFIG_NFS_USE_NEW_IDMAPPER
=n
345 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
346 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
349 define KernelPackage
/fs-nfs
/description
350 Kernel module for NFS client support
353 $(eval
$(call KernelPackage
,fs-nfs
))
356 define KernelPackage
/fs-nfs-common
358 TITLE
:=Common NFS filesystem modules
364 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
365 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko \
366 $(LINUX_DIR
)/fs
/nfs_common
/grace.ko
367 AUTOLOAD
:=$(call AutoLoad
,30,grace sunrpc lockd
)
370 $(eval
$(call KernelPackage
,fs-nfs-common
))
373 define KernelPackage
/fs-nfs-common-rpcsec
375 TITLE
:=NFS Secure RPC
377 +kmod-fs-nfs-common \
388 CONFIG_RPCSEC_GSS_KRB5
390 $(LINUX_DIR
)/lib
/oid_registry.ko \
391 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko \
392 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/rpcsec_gss_krb5.ko
393 AUTOLOAD
:=$(call AutoLoad
,31,oid_registry auth_rpcgss rpcsec_gss_krb5
)
396 define KernelPackage
/fs-nfs-common-rpcsec
/description
397 Kernel modules for NFS Secure RPC
400 $(eval
$(call KernelPackage
,fs-nfs-common-rpcsec
))
403 define KernelPackage
/fs-nfs-v3
405 TITLE
:=NFS3 filesystem client support
406 DEPENDS
:=+kmod-fs-nfs
408 $(LINUX_DIR
)/fs
/nfs
/nfsv3.ko
409 AUTOLOAD
:=$(call AutoLoad
,41,nfsv3
)
412 define KernelPackage
/fs-nfs-v3
/description
413 Kernel module for NFS v3 client support
416 $(eval
$(call KernelPackage
,fs-nfs-v3
))
419 define KernelPackage
/fs-nfs-v4
421 TITLE
:=NFS4 filesystem client support
422 DEPENDS
:=+kmod-fs-nfs
426 $(LINUX_DIR
)/fs
/nfs
/nfsv4.ko
427 AUTOLOAD
:=$(call AutoLoad
,41,nfsv4
)
430 define KernelPackage
/fs-nfs-v4
/description
431 Kernel module for NFS v4 client support
434 $(eval
$(call KernelPackage
,fs-nfs-v4
))
437 define KernelPackage
/fs-nfsd
439 TITLE
:=NFS kernel server support
440 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
+kmod-fs-nfs-common-rpcsec
444 CONFIG_NFSD_V4_SECURITY_LABEL
=n \
445 CONFIG_NFSD_BLOCKLAYOUT
=n \
446 CONFIG_NFSD_SCSILAYOUT
=n \
447 CONFIG_NFSD_FLEXFILELAYOUT
=n \
448 CONFIG_NFSD_FAULT_INJECTION
=n
449 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
450 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
453 define KernelPackage
/fs-nfsd
/description
454 Kernel module for NFS kernel server support
457 $(eval
$(call KernelPackage
,fs-nfsd
))
460 define KernelPackage
/fs-ntfs
462 TITLE
:=NTFS filesystem support
463 KCONFIG
:=CONFIG_NTFS_FS
464 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
465 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
466 $(call AddDepends
/nls
)
469 define KernelPackage
/fs-ntfs
/description
470 Kernel module for NTFS filesystem support
473 $(eval
$(call KernelPackage
,fs-ntfs
))
476 define KernelPackage
/fs-reiserfs
478 TITLE
:=ReiserFS filesystem support
479 KCONFIG
:=CONFIG_REISERFS_FS
480 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
481 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
484 define KernelPackage
/fs-reiserfs
/description
485 Kernel module for ReiserFS support
488 $(eval
$(call KernelPackage
,fs-reiserfs
))
491 define KernelPackage
/fs-squashfs
493 TITLE
:=SquashFS
4.0 filesystem support
494 KCONFIG
:=CONFIG_SQUASHFS \
496 FILES
:=$(LINUX_DIR
)/fs
/squashfs
/squashfs.ko
497 AUTOLOAD
:=$(call AutoLoad
,30,squashfs
,1)
500 define KernelPackage
/fs-squashfs
/description
501 Kernel module for SquashFS
4.0 support
504 $(eval
$(call KernelPackage
,fs-squashfs
))
507 define KernelPackage
/fs-udf
509 TITLE
:=UDF filesystem support
510 KCONFIG
:=CONFIG_UDF_FS
511 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
512 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
513 DEPENDS
:=+kmod-lib-crc-itu-t
514 $(call AddDepends
/nls
)
517 define KernelPackage
/fs-udf
/description
518 Kernel module for UDF filesystem support
521 $(eval
$(call KernelPackage
,fs-udf
))
524 define KernelPackage
/fs-vfat
526 TITLE
:=VFAT filesystem support
531 $(LINUX_DIR
)/fs
/fat
/fat.ko \
532 $(LINUX_DIR
)/fs
/fat
/vfat.ko
533 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
534 $(call AddDepends
/nls
,cp437 iso8859-1 utf8
)
537 define KernelPackage
/fs-vfat
/description
538 Kernel module for VFAT filesystem support
541 $(eval
$(call KernelPackage
,fs-vfat
))
544 define KernelPackage
/fs-xfs
546 TITLE
:=XFS filesystem support
547 KCONFIG
:=CONFIG_XFS_FS
548 DEPENDS
:= +kmod-fs-exportfs
+kmod-lib-crc32c
549 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
550 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
553 define KernelPackage
/fs-xfs
/description
554 Kernel module for XFS support
557 $(eval
$(call KernelPackage
,fs-xfs
))
560 define KernelPackage
/fuse
562 TITLE
:=FUSE
(Filesystem in Userspace
) support
563 KCONFIG
:= CONFIG_FUSE_FS
564 FILES
:=$(LINUX_DIR
)/fs
/fuse
/fuse.ko
565 AUTOLOAD
:=$(call AutoLoad
,80,fuse
)
568 define KernelPackage
/fuse
/description
569 Kernel module for userspace filesystem support
572 $(eval
$(call KernelPackage
,fuse
))