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
93 CONFIG_CIFS_DFS_UPCALL
=n \
94 CONFIG_CIFS_UPCALL
=n \
96 FILES
:=$(LINUX_DIR
)/fs
/cifs
/cifs.ko
97 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
98 $(call AddDepends
/nls
)
109 define KernelPackage
/fs-cifs
/description
110 Kernel module for CIFS support
113 $(eval
$(call KernelPackage
,fs-cifs
))
116 define KernelPackage
/fs-configfs
118 TITLE
:=Configuration filesystem support
121 FILES
:=$(LINUX_DIR
)/fs
/configfs
/configfs.ko
122 AUTOLOAD
:=$(call AutoLoad
,30,configfs
)
125 define KernelPackage
/fs-configfs
/description
126 Kernel module for configfs support
129 $(eval
$(call KernelPackage
,fs-configfs
))
132 define KernelPackage
/fs-cramfs
134 TITLE
:=Compressed RAM
/ROM filesystem support
135 DEPENDS
:=+kmod-lib-zlib-inflate
138 FILES
:=$(LINUX_DIR
)/fs
/cramfs
/cramfs.ko
139 AUTOLOAD
:=$(call AutoLoad
,30,cramfs
)
142 define KernelPackage
/fs-cramfs
/description
143 Kernel module for cramfs support
146 $(eval
$(call KernelPackage
,fs-cramfs
))
149 define KernelPackage
/fs-efivarfs
151 TITLE
:=efivar filesystem support
152 KCONFIG
:=CONFIG_EFIVAR_FS
153 FILES
:=$(LINUX_DIR
)/fs
/efivarfs
/efivarfs.ko
154 DEPENDS
:=@
(x86_64||x86
)
155 AUTOLOAD
:=$(call Autoload
,90,efivarfs
)
158 define KernelPackage
/fs-efivarfs
/description
159 Kernel module to support efivarfs file system mountpoint.
162 $(eval
$(call KernelPackage
,fs-efivarfs
))
165 define KernelPackage
/fs-exportfs
167 TITLE
:=exportfs kernel server support
168 KCONFIG
:=CONFIG_EXPORTFS
169 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
170 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
,1)
173 define KernelPackage
/fs-exportfs
/description
174 Kernel module for exportfs. Needed for some other modules.
177 $(eval
$(call KernelPackage
,fs-exportfs
))
180 define KernelPackage
/fs-ext4
182 TITLE
:=EXT4 filesystem support
189 CONFIG_EXT4_ENCRYPTION
=n \
192 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
193 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko \
194 $(LINUX_DIR
)/fs
/mbcache.ko
195 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
198 define KernelPackage
/fs-ext4
/description
199 Kernel module for EXT4 filesystem support
202 $(eval
$(call KernelPackage
,fs-ext4
))
205 define KernelPackage
/fs-f2fs
207 TITLE
:=F2FS filesystem support
208 DEPENDS
:= +kmod-crypto-hash
+kmod-crypto-crc32
+!LINUX_4_19
:kmod-nls-base
209 KCONFIG
:=CONFIG_F2FS_FS
210 FILES
:=$(LINUX_DIR
)/fs
/f2fs
/f2fs.ko
211 AUTOLOAD
:=$(call AutoLoad
,30,f2fs
,1)
214 define KernelPackage
/fs-f2fs
/description
215 Kernel module for F2FS filesystem support
218 $(eval
$(call KernelPackage
,fs-f2fs
))
221 define KernelPackage
/fs-fscache
223 TITLE
:=General filesystem local cache manager
227 CONFIG_FSCACHE_STATS
=y \
228 CONFIG_FSCACHE_HISTOGRAM
=n \
229 CONFIG_FSCACHE_DEBUG
=n \
230 CONFIG_FSCACHE_OBJECT_LIST
=n \
231 CONFIG_CACHEFILES
=y \
232 CONFIG_CACHEFILES_DEBUG
=n \
233 CONFIG_CACHEFILES_HISTOGRAM
=n
234 FILES
:=$(LINUX_DIR
)/fs
/fscache
/fscache.ko
235 AUTOLOAD
:=$(call AutoLoad
,29,fscache
)
238 $(eval
$(call KernelPackage
,fs-fscache
))
241 define KernelPackage
/fs-hfs
243 TITLE
:=HFS filesystem support
244 KCONFIG
:=CONFIG_HFS_FS
245 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
246 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
247 $(call AddDepends
/nls
)
250 define KernelPackage
/fs-hfs
/description
251 Kernel module for HFS filesystem support
254 $(eval
$(call KernelPackage
,fs-hfs
))
257 define KernelPackage
/fs-hfsplus
259 TITLE
:=HFS
+ filesystem support
260 KCONFIG
:=CONFIG_HFSPLUS_FS
261 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
262 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
263 $(call AddDepends
/nls
,utf8
)
266 define KernelPackage
/fs-hfsplus
/description
267 Kernel module for HFS
+ filesystem support
270 $(eval
$(call KernelPackage
,fs-hfsplus
))
273 define KernelPackage
/fs-isofs
275 TITLE
:=ISO9660 filesystem support
276 DEPENDS
:=+kmod-lib-zlib-inflate
277 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
278 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
279 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
280 $(call AddDepends
/nls
)
283 define KernelPackage
/fs-isofs
/description
284 Kernel module for ISO9660 filesystem support
287 $(eval
$(call KernelPackage
,fs-isofs
))
290 define KernelPackage
/fs-jfs
292 TITLE
:=JFS filesystem support
293 KCONFIG
:=CONFIG_JFS_FS
294 FILES
:=$(LINUX_DIR
)/fs
/jfs
/jfs.ko
295 AUTOLOAD
:=$(call AutoLoad
,30,jfs
,1)
296 $(call AddDepends
/nls
)
299 define KernelPackage
/fs-jfs
/description
300 Kernel module for JFS support
303 $(eval
$(call KernelPackage
,fs-jfs
))
305 define KernelPackage
/fs-minix
307 TITLE
:=Minix filesystem support
308 KCONFIG
:=CONFIG_MINIX_FS
309 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
310 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
313 define KernelPackage
/fs-minix
/description
314 Kernel module for Minix filesystem support
317 $(eval
$(call KernelPackage
,fs-minix
))
320 define KernelPackage
/fs-msdos
322 TITLE
:=MSDOS filesystem support
323 DEPENDS
:=+kmod-fs-vfat
324 KCONFIG
:=CONFIG_MSDOS_FS
325 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
326 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
327 $(call AddDepends
/nls
)
330 define KernelPackage
/fs-msdos
/description
331 Kernel module for MSDOS filesystem support
334 $(eval
$(call KernelPackage
,fs-msdos
))
337 define KernelPackage
/fs-nfs
339 TITLE
:=NFS filesystem client support
340 DEPENDS
:=+kmod-fs-nfs-common
+kmod-dnsresolver
343 CONFIG_NFS_USE_LEGACY_DNS
=n \
344 CONFIG_NFS_USE_NEW_IDMAPPER
=n
346 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
347 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
350 define KernelPackage
/fs-nfs
/description
351 Kernel module for NFS client support
354 $(eval
$(call KernelPackage
,fs-nfs
))
357 define KernelPackage
/fs-nfs-common
359 TITLE
:=Common NFS filesystem modules
365 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
366 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko \
367 $(LINUX_DIR
)/fs
/nfs_common
/grace.ko
368 AUTOLOAD
:=$(call AutoLoad
,30,grace sunrpc lockd
)
371 $(eval
$(call KernelPackage
,fs-nfs-common
))
374 define KernelPackage
/fs-nfs-common-rpcsec
376 TITLE
:=NFS Secure RPC
378 +kmod-fs-nfs-common \
389 CONFIG_RPCSEC_GSS_KRB5
391 $(LINUX_DIR
)/lib
/oid_registry.ko \
392 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko \
393 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/rpcsec_gss_krb5.ko
394 AUTOLOAD
:=$(call AutoLoad
,31,oid_registry auth_rpcgss rpcsec_gss_krb5
)
397 define KernelPackage
/fs-nfs-common-rpcsec
/description
398 Kernel modules for NFS Secure RPC
401 $(eval
$(call KernelPackage
,fs-nfs-common-rpcsec
))
404 define KernelPackage
/fs-nfs-v3
406 TITLE
:=NFS3 filesystem client support
407 DEPENDS
:=+kmod-fs-nfs
409 $(LINUX_DIR
)/fs
/nfs
/nfsv3.ko
410 AUTOLOAD
:=$(call AutoLoad
,41,nfsv3
)
413 define KernelPackage
/fs-nfs-v3
/description
414 Kernel module for NFS v3 client support
417 $(eval
$(call KernelPackage
,fs-nfs-v3
))
420 define KernelPackage
/fs-nfs-v4
422 TITLE
:=NFS4 filesystem client support
423 DEPENDS
:=+kmod-fs-nfs
427 $(LINUX_DIR
)/fs
/nfs
/nfsv4.ko
428 AUTOLOAD
:=$(call AutoLoad
,41,nfsv4
)
431 define KernelPackage
/fs-nfs-v4
/description
432 Kernel module for NFS v4 client support
435 $(eval
$(call KernelPackage
,fs-nfs-v4
))
438 define KernelPackage
/fs-nfsd
440 TITLE
:=NFS kernel server support
441 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
+kmod-fs-nfs-common-rpcsec
445 CONFIG_NFSD_V4_SECURITY_LABEL
=n \
446 CONFIG_NFSD_BLOCKLAYOUT
=n \
447 CONFIG_NFSD_SCSILAYOUT
=n \
448 CONFIG_NFSD_FLEXFILELAYOUT
=n \
449 CONFIG_NFSD_FAULT_INJECTION
=n
450 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
451 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
454 define KernelPackage
/fs-nfsd
/description
455 Kernel module for NFS kernel server support
458 $(eval
$(call KernelPackage
,fs-nfsd
))
461 define KernelPackage
/fs-ntfs
463 TITLE
:=NTFS filesystem support
464 KCONFIG
:=CONFIG_NTFS_FS
465 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
466 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
467 $(call AddDepends
/nls
)
470 define KernelPackage
/fs-ntfs
/description
471 Kernel module for NTFS filesystem support
474 $(eval
$(call KernelPackage
,fs-ntfs
))
477 define KernelPackage
/fs-reiserfs
479 TITLE
:=ReiserFS filesystem support
480 KCONFIG
:=CONFIG_REISERFS_FS \
481 CONFIG_REISERFS_FS_XATTR
=y
482 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
483 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
486 define KernelPackage
/fs-reiserfs
/description
487 Kernel module for ReiserFS support
490 $(eval
$(call KernelPackage
,fs-reiserfs
))
493 define KernelPackage
/fs-squashfs
495 TITLE
:=SquashFS
4.0 filesystem support
496 KCONFIG
:=CONFIG_SQUASHFS \
498 FILES
:=$(LINUX_DIR
)/fs
/squashfs
/squashfs.ko
499 AUTOLOAD
:=$(call AutoLoad
,30,squashfs
,1)
502 define KernelPackage
/fs-squashfs
/description
503 Kernel module for SquashFS
4.0 support
506 $(eval
$(call KernelPackage
,fs-squashfs
))
509 define KernelPackage
/fs-udf
511 TITLE
:=UDF filesystem support
512 KCONFIG
:=CONFIG_UDF_FS
513 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
514 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
515 DEPENDS
:=+kmod-lib-crc-itu-t
516 $(call AddDepends
/nls
)
519 define KernelPackage
/fs-udf
/description
520 Kernel module for UDF filesystem support
523 $(eval
$(call KernelPackage
,fs-udf
))
526 define KernelPackage
/fs-vfat
528 TITLE
:=VFAT filesystem support
533 $(LINUX_DIR
)/fs
/fat
/fat.ko \
534 $(LINUX_DIR
)/fs
/fat
/vfat.ko
535 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
536 $(call AddDepends
/nls
,cp437 iso8859-1 utf8
)
539 define KernelPackage
/fs-vfat
/description
540 Kernel module for VFAT filesystem support
543 $(eval
$(call KernelPackage
,fs-vfat
))
546 define KernelPackage
/fs-xfs
548 TITLE
:=XFS filesystem support
549 KCONFIG
:=CONFIG_XFS_FS
550 DEPENDS
:= +kmod-fs-exportfs
+kmod-lib-crc32c
551 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
552 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
555 define KernelPackage
/fs-xfs
/description
556 Kernel module for XFS support
559 $(eval
$(call KernelPackage
,fs-xfs
))
562 define KernelPackage
/fuse
564 TITLE
:=FUSE
(Filesystem in Userspace
) support
565 KCONFIG
:= CONFIG_FUSE_FS
566 FILES
:=$(LINUX_DIR
)/fs
/fuse
/fuse.ko
567 AUTOLOAD
:=$(call AutoLoad
,80,fuse
)
570 define KernelPackage
/fuse
/description
571 Kernel module for userspace filesystem support
574 $(eval
$(call KernelPackage
,fuse
))