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
/autofs4
/autofs4.ko@lt4.18 \
57 $(LINUX_DIR
)/fs
/autofs
/autofs4.ko@ge4.18
58 AUTOLOAD
:=$(call AutoLoad
,30,autofs4
)
61 define KernelPackage
/fs-autofs4
/description
62 Kernel module for AutoFS4 support
65 $(eval
$(call KernelPackage
,fs-autofs4
))
68 define KernelPackage
/fs-btrfs
70 TITLE
:=BTRFS filesystem support
71 DEPENDS
:=+kmod-lib-crc32c
+kmod-lib-lzo
+kmod-lib-zlib-inflate
+kmod-lib-zlib-deflate
+kmod-lib-raid6
+kmod-lib-xor
+kmod-lib-zstd
74 CONFIG_BTRFS_FS_POSIX_ACL
=n \
75 CONFIG_BTRFS_FS_CHECK_INTEGRITY
=n
77 $(LINUX_DIR
)/fs
/btrfs
/btrfs.ko
78 AUTOLOAD
:=$(call AutoLoad
,30,btrfs
,1)
81 define KernelPackage
/fs-btrfs
/description
82 Kernel module for BTRFS support
85 $(eval
$(call KernelPackage
,fs-btrfs
))
88 define KernelPackage
/fs-cifs
94 CONFIG_CIFS_DFS_UPCALL
=n \
95 CONFIG_CIFS_UPCALL
=n \
97 FILES
:=$(LINUX_DIR
)/fs
/cifs
/cifs.ko
98 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
99 $(call AddDepends
/nls
)
110 define KernelPackage
/fs-cifs
/description
111 Kernel module for CIFS support
114 $(eval
$(call KernelPackage
,fs-cifs
))
117 define KernelPackage
/fs-configfs
119 TITLE
:=Configuration filesystem support
122 FILES
:=$(LINUX_DIR
)/fs
/configfs
/configfs.ko
123 AUTOLOAD
:=$(call AutoLoad
,30,configfs
)
126 define KernelPackage
/fs-configfs
/description
127 Kernel module for configfs support
130 $(eval
$(call KernelPackage
,fs-configfs
))
133 define KernelPackage
/fs-cramfs
135 TITLE
:=Compressed RAM
/ROM filesystem support
136 DEPENDS
:=+kmod-lib-zlib-inflate
139 FILES
:=$(LINUX_DIR
)/fs
/cramfs
/cramfs.ko
140 AUTOLOAD
:=$(call AutoLoad
,30,cramfs
)
143 define KernelPackage
/fs-cramfs
/description
144 Kernel module for cramfs support
147 $(eval
$(call KernelPackage
,fs-cramfs
))
150 define KernelPackage
/fs-efivarfs
152 TITLE
:=efivar filesystem support
153 KCONFIG
:=CONFIG_EFIVAR_FS
154 FILES
:=$(LINUX_DIR
)/fs
/efivarfs
/efivarfs.ko
155 DEPENDS
:=@
(x86_64||x86
)
156 AUTOLOAD
:=$(call Autoload
,90,efivarfs
)
159 define KernelPackage
/fs-efivarfs
/description
160 Kernel module to support efivarfs file system mountpoint.
163 $(eval
$(call KernelPackage
,fs-efivarfs
))
166 define KernelPackage
/fs-exportfs
168 TITLE
:=exportfs kernel server support
169 KCONFIG
:=CONFIG_EXPORTFS
170 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
171 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
,1)
174 define KernelPackage
/fs-exportfs
/description
175 Kernel module for exportfs. Needed for some other modules.
178 $(eval
$(call KernelPackage
,fs-exportfs
))
181 define KernelPackage
/fs-ext4
183 TITLE
:=EXT4 filesystem support
190 CONFIG_EXT4_ENCRYPTION
=n \
193 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
194 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko \
195 $(LINUX_DIR
)/fs
/mbcache.ko
196 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
199 define KernelPackage
/fs-ext4
/description
200 Kernel module for EXT4 filesystem support
203 $(eval
$(call KernelPackage
,fs-ext4
))
206 define KernelPackage
/fs-f2fs
208 TITLE
:=F2FS filesystem support
209 DEPENDS
:= +kmod-crypto-hash
+kmod-crypto-crc32
+LINUX_5_4
:kmod-nls-base
212 CONFIG_F2FS_STAT_FS
=y \
213 CONFIG_F2FS_FS_XATTR
=y \
214 CONFIG_F2FS_FS_POSIX_ACL
=n \
215 CONFIG_F2FS_FS_SECURITY
=n \
216 CONFIG_F2FS_CHECK_FS
=n
217 FILES
:=$(LINUX_DIR
)/fs
/f2fs
/f2fs.ko
218 AUTOLOAD
:=$(call AutoLoad
,30,f2fs
,1)
221 define KernelPackage
/fs-f2fs
/description
222 Kernel module for F2FS filesystem support
225 $(eval
$(call KernelPackage
,fs-f2fs
))
228 define KernelPackage
/fs-fscache
230 TITLE
:=General filesystem local cache manager
234 CONFIG_FSCACHE_STATS
=y \
235 CONFIG_FSCACHE_HISTOGRAM
=n \
236 CONFIG_FSCACHE_DEBUG
=n \
237 CONFIG_FSCACHE_OBJECT_LIST
=n \
238 CONFIG_CACHEFILES
=y \
239 CONFIG_CACHEFILES_DEBUG
=n \
240 CONFIG_CACHEFILES_HISTOGRAM
=n
241 FILES
:=$(LINUX_DIR
)/fs
/fscache
/fscache.ko
242 AUTOLOAD
:=$(call AutoLoad
,29,fscache
)
245 $(eval
$(call KernelPackage
,fs-fscache
))
248 define KernelPackage
/fs-hfs
250 TITLE
:=HFS filesystem support
251 KCONFIG
:=CONFIG_HFS_FS
252 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
253 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
254 $(call AddDepends
/nls
)
257 define KernelPackage
/fs-hfs
/description
258 Kernel module for HFS filesystem support
261 $(eval
$(call KernelPackage
,fs-hfs
))
264 define KernelPackage
/fs-hfsplus
266 TITLE
:=HFS
+ filesystem support
267 KCONFIG
:=CONFIG_HFSPLUS_FS
268 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
269 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
270 $(call AddDepends
/nls
,utf8
)
273 define KernelPackage
/fs-hfsplus
/description
274 Kernel module for HFS
+ filesystem support
277 $(eval
$(call KernelPackage
,fs-hfsplus
))
280 define KernelPackage
/fs-isofs
282 TITLE
:=ISO9660 filesystem support
283 DEPENDS
:=+kmod-lib-zlib-inflate
284 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
285 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
286 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
287 $(call AddDepends
/nls
)
290 define KernelPackage
/fs-isofs
/description
291 Kernel module for ISO9660 filesystem support
294 $(eval
$(call KernelPackage
,fs-isofs
))
297 define KernelPackage
/fs-jfs
299 TITLE
:=JFS filesystem support
300 KCONFIG
:=CONFIG_JFS_FS
301 FILES
:=$(LINUX_DIR
)/fs
/jfs
/jfs.ko
302 AUTOLOAD
:=$(call AutoLoad
,30,jfs
,1)
303 $(call AddDepends
/nls
)
306 define KernelPackage
/fs-jfs
/description
307 Kernel module for JFS support
310 $(eval
$(call KernelPackage
,fs-jfs
))
312 define KernelPackage
/fs-minix
314 TITLE
:=Minix filesystem support
315 KCONFIG
:=CONFIG_MINIX_FS
316 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
317 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
320 define KernelPackage
/fs-minix
/description
321 Kernel module for Minix filesystem support
324 $(eval
$(call KernelPackage
,fs-minix
))
327 define KernelPackage
/fs-msdos
329 TITLE
:=MSDOS filesystem support
330 DEPENDS
:=+kmod-fs-vfat
331 KCONFIG
:=CONFIG_MSDOS_FS
332 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
333 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
334 $(call AddDepends
/nls
)
337 define KernelPackage
/fs-msdos
/description
338 Kernel module for MSDOS filesystem support
341 $(eval
$(call KernelPackage
,fs-msdos
))
344 define KernelPackage
/fs-nfs
346 TITLE
:=NFS filesystem client support
347 DEPENDS
:=+kmod-fs-nfs-common
+kmod-dnsresolver
350 CONFIG_NFS_USE_LEGACY_DNS
=n \
351 CONFIG_NFS_USE_NEW_IDMAPPER
=n
353 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
354 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
357 define KernelPackage
/fs-nfs
/description
358 Kernel module for NFS client support
361 $(eval
$(call KernelPackage
,fs-nfs
))
364 define KernelPackage
/fs-nfs-common
366 TITLE
:=Common NFS filesystem modules
372 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
373 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko \
374 $(LINUX_DIR
)/fs
/nfs_common
/grace.ko
375 AUTOLOAD
:=$(call AutoLoad
,30,grace sunrpc lockd
)
378 $(eval
$(call KernelPackage
,fs-nfs-common
))
381 define KernelPackage
/fs-nfs-common-rpcsec
383 TITLE
:=NFS Secure RPC
385 +kmod-fs-nfs-common \
396 CONFIG_RPCSEC_GSS_KRB5
398 $(LINUX_DIR
)/lib
/oid_registry.ko \
399 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko \
400 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/rpcsec_gss_krb5.ko
401 AUTOLOAD
:=$(call AutoLoad
,31,oid_registry auth_rpcgss rpcsec_gss_krb5
)
404 define KernelPackage
/fs-nfs-common-rpcsec
/description
405 Kernel modules for NFS Secure RPC
408 $(eval
$(call KernelPackage
,fs-nfs-common-rpcsec
))
411 define KernelPackage
/fs-nfs-v3
413 TITLE
:=NFS3 filesystem client support
414 DEPENDS
:=+kmod-fs-nfs
416 $(LINUX_DIR
)/fs
/nfs
/nfsv3.ko
417 AUTOLOAD
:=$(call AutoLoad
,41,nfsv3
)
420 define KernelPackage
/fs-nfs-v3
/description
421 Kernel module for NFS v3 client support
424 $(eval
$(call KernelPackage
,fs-nfs-v3
))
427 define KernelPackage
/fs-nfs-v4
429 TITLE
:=NFS4 filesystem client support
430 DEPENDS
:=+kmod-fs-nfs
434 $(LINUX_DIR
)/fs
/nfs
/nfsv4.ko
435 AUTOLOAD
:=$(call AutoLoad
,41,nfsv4
)
438 define KernelPackage
/fs-nfs-v4
/description
439 Kernel module for NFS v4 support
442 $(eval
$(call KernelPackage
,fs-nfs-v4
))
445 define KernelPackage
/fs-nfsd
447 TITLE
:=NFS kernel server support
448 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
+kmod-fs-nfs-common-rpcsec
452 CONFIG_NFSD_V4_SECURITY_LABEL
=n \
453 CONFIG_NFSD_BLOCKLAYOUT
=n \
454 CONFIG_NFSD_SCSILAYOUT
=n \
455 CONFIG_NFSD_FLEXFILELAYOUT
=n \
456 CONFIG_NFSD_FAULT_INJECTION
=n
457 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
458 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
461 define KernelPackage
/fs-nfsd
/description
462 Kernel module for NFS kernel server support
465 $(eval
$(call KernelPackage
,fs-nfsd
))
468 define KernelPackage
/fs-ntfs
470 TITLE
:=NTFS filesystem support
471 KCONFIG
:=CONFIG_NTFS_FS
472 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
473 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
474 $(call AddDepends
/nls
)
477 define KernelPackage
/fs-ntfs
/description
478 Kernel module for NTFS filesystem support
481 $(eval
$(call KernelPackage
,fs-ntfs
))
484 define KernelPackage
/fs-reiserfs
486 TITLE
:=ReiserFS filesystem support
487 KCONFIG
:=CONFIG_REISERFS_FS \
488 CONFIG_REISERFS_FS_XATTR
=y
489 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
490 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
493 define KernelPackage
/fs-reiserfs
/description
494 Kernel module for ReiserFS support
497 $(eval
$(call KernelPackage
,fs-reiserfs
))
500 define KernelPackage
/fs-squashfs
502 TITLE
:=SquashFS
4.0 filesystem support
503 KCONFIG
:=CONFIG_SQUASHFS \
505 FILES
:=$(LINUX_DIR
)/fs
/squashfs
/squashfs.ko
506 AUTOLOAD
:=$(call AutoLoad
,30,squashfs
,1)
509 define KernelPackage
/fs-squashfs
/description
510 Kernel module for SquashFS
4.0 support
513 $(eval
$(call KernelPackage
,fs-squashfs
))
516 define KernelPackage
/fs-udf
518 TITLE
:=UDF filesystem support
519 KCONFIG
:=CONFIG_UDF_FS
520 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
521 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
522 DEPENDS
:=+kmod-lib-crc-itu-t
523 $(call AddDepends
/nls
)
526 define KernelPackage
/fs-udf
/description
527 Kernel module for UDF filesystem support
530 $(eval
$(call KernelPackage
,fs-udf
))
533 define KernelPackage
/fs-vfat
535 TITLE
:=VFAT filesystem support
540 $(LINUX_DIR
)/fs
/fat
/fat.ko \
541 $(LINUX_DIR
)/fs
/fat
/vfat.ko
542 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
543 $(call AddDepends
/nls
,cp437 iso8859-1 utf8
)
546 define KernelPackage
/fs-vfat
/description
547 Kernel module for VFAT filesystem support
550 $(eval
$(call KernelPackage
,fs-vfat
))
553 define KernelPackage
/fs-xfs
555 TITLE
:=XFS filesystem support
556 KCONFIG
:=CONFIG_XFS_FS
557 DEPENDS
:= +kmod-fs-exportfs
+kmod-lib-crc32c
558 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
559 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
562 define KernelPackage
/fs-xfs
/description
563 Kernel module for XFS support
566 $(eval
$(call KernelPackage
,fs-xfs
))
569 define KernelPackage
/fuse
571 TITLE
:=FUSE
(Filesystem in Userspace
) support
572 KCONFIG
:= CONFIG_FUSE_FS
573 FILES
:=$(LINUX_DIR
)/fs
/fuse
/fuse.ko
574 AUTOLOAD
:=$(call AutoLoad
,80,fuse
)
577 define KernelPackage
/fuse
/description
578 Kernel module for userspace filesystem support
581 $(eval
$(call KernelPackage
,fuse
))