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 \
94 FILES
:=$(LINUX_DIR
)/fs
/cifs
/cifs.ko
95 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
96 $(call AddDepends
/nls
)
100 +kmod-crypto-sha256 \
101 +kmod-crypto-sha512 \
111 define KernelPackage
/fs-cifs
/description
112 Kernel module for CIFS support
115 $(eval
$(call KernelPackage
,fs-cifs
))
118 define KernelPackage
/fs-configfs
120 TITLE
:=Configuration filesystem support
123 FILES
:=$(LINUX_DIR
)/fs
/configfs
/configfs.ko
124 AUTOLOAD
:=$(call AutoLoad
,30,configfs
)
127 define KernelPackage
/fs-configfs
/description
128 Kernel module for configfs support
131 $(eval
$(call KernelPackage
,fs-configfs
))
134 define KernelPackage
/fs-cramfs
136 TITLE
:=Compressed RAM
/ROM filesystem support
137 DEPENDS
:=+kmod-lib-zlib-inflate
140 FILES
:=$(LINUX_DIR
)/fs
/cramfs
/cramfs.ko
141 AUTOLOAD
:=$(call AutoLoad
,30,cramfs
)
144 define KernelPackage
/fs-cramfs
/description
145 Kernel module for cramfs support
148 $(eval
$(call KernelPackage
,fs-cramfs
))
151 define KernelPackage
/fs-efivarfs
153 TITLE
:=efivar filesystem support
154 KCONFIG
:=CONFIG_EFIVAR_FS
155 FILES
:=$(LINUX_DIR
)/fs
/efivarfs
/efivarfs.ko
156 DEPENDS
:=@
(x86_64||x86
)
157 AUTOLOAD
:=$(call Autoload
,90,efivarfs
)
160 define KernelPackage
/fs-efivarfs
/description
161 Kernel module to support efivarfs file system mountpoint.
164 $(eval
$(call KernelPackage
,fs-efivarfs
))
167 define KernelPackage
/fs-exportfs
169 TITLE
:=exportfs kernel server support
170 KCONFIG
:=CONFIG_EXPORTFS
171 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
172 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
,1)
175 define KernelPackage
/fs-exportfs
/description
176 Kernel module for exportfs. Needed for some other modules.
179 $(eval
$(call KernelPackage
,fs-exportfs
))
182 define KernelPackage
/fs-ext4
184 TITLE
:=EXT4 filesystem support
191 CONFIG_EXT4_ENCRYPTION
=n \
194 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
195 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko \
196 $(LINUX_DIR
)/fs
/mbcache.ko
197 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
200 define KernelPackage
/fs-ext4
/description
201 Kernel module for EXT4 filesystem support
204 $(eval
$(call KernelPackage
,fs-ext4
))
207 define KernelPackage
/fs-f2fs
209 TITLE
:=F2FS filesystem support
210 DEPENDS
:= +kmod-crypto-hash
+kmod-crypto-crc32
+kmod-nls-base
211 KCONFIG
:=CONFIG_F2FS_FS
212 FILES
:=$(LINUX_DIR
)/fs
/f2fs
/f2fs.ko
213 AUTOLOAD
:=$(call AutoLoad
,30,f2fs
,1)
216 define KernelPackage
/fs-f2fs
/description
217 Kernel module for F2FS filesystem support
220 $(eval
$(call KernelPackage
,fs-f2fs
))
223 define KernelPackage
/fs-fscache
225 TITLE
:=General filesystem local cache manager
229 CONFIG_FSCACHE_STATS
=y \
230 CONFIG_FSCACHE_HISTOGRAM
=n \
231 CONFIG_FSCACHE_DEBUG
=n \
232 CONFIG_FSCACHE_OBJECT_LIST
=n \
233 CONFIG_CACHEFILES
=y \
234 CONFIG_CACHEFILES_DEBUG
=n \
235 CONFIG_CACHEFILES_HISTOGRAM
=n
236 FILES
:=$(LINUX_DIR
)/fs
/fscache
/fscache.ko
237 AUTOLOAD
:=$(call AutoLoad
,29,fscache
)
240 $(eval
$(call KernelPackage
,fs-fscache
))
243 define KernelPackage
/fs-hfs
245 TITLE
:=HFS filesystem support
247 KCONFIG
:=CONFIG_HFS_FS
248 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
249 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
250 $(call AddDepends
/nls
)
253 define KernelPackage
/fs-hfs
/description
254 Kernel module for HFS filesystem support
257 $(eval
$(call KernelPackage
,fs-hfs
))
260 define KernelPackage
/fs-hfsplus
262 TITLE
:=HFS
+ filesystem support
264 KCONFIG
:=CONFIG_HFSPLUS_FS
265 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
266 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
267 $(call AddDepends
/nls
,utf8
)
270 define KernelPackage
/fs-hfsplus
/description
271 Kernel module for HFS
+ filesystem support
274 $(eval
$(call KernelPackage
,fs-hfsplus
))
277 define KernelPackage
/fs-isofs
279 TITLE
:=ISO9660 filesystem support
280 DEPENDS
:=+kmod-lib-zlib-inflate
+kmod-cdrom
281 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
282 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
283 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
284 $(call AddDepends
/nls
)
287 define KernelPackage
/fs-isofs
/description
288 Kernel module for ISO9660 filesystem support
291 $(eval
$(call KernelPackage
,fs-isofs
))
294 define KernelPackage
/fs-jfs
296 TITLE
:=JFS filesystem support
297 KCONFIG
:=CONFIG_JFS_FS
298 FILES
:=$(LINUX_DIR
)/fs
/jfs
/jfs.ko
299 AUTOLOAD
:=$(call AutoLoad
,30,jfs
,1)
300 $(call AddDepends
/nls
)
303 define KernelPackage
/fs-jfs
/description
304 Kernel module for JFS support
307 $(eval
$(call KernelPackage
,fs-jfs
))
309 define KernelPackage
/fs-minix
311 TITLE
:=Minix filesystem support
312 KCONFIG
:=CONFIG_MINIX_FS
313 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
314 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
317 define KernelPackage
/fs-minix
/description
318 Kernel module for Minix filesystem support
321 $(eval
$(call KernelPackage
,fs-minix
))
324 define KernelPackage
/fs-msdos
326 TITLE
:=MSDOS filesystem support
327 DEPENDS
:=+kmod-fs-vfat
328 KCONFIG
:=CONFIG_MSDOS_FS
329 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
330 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
331 $(call AddDepends
/nls
)
334 define KernelPackage
/fs-msdos
/description
335 Kernel module for MSDOS filesystem support
338 $(eval
$(call KernelPackage
,fs-msdos
))
341 define KernelPackage
/fs-nfs
343 TITLE
:=NFS filesystem client support
344 DEPENDS
:=+kmod-fs-nfs-common
+kmod-dnsresolver
347 CONFIG_NFS_USE_LEGACY_DNS
=n \
348 CONFIG_NFS_USE_NEW_IDMAPPER
=n
350 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
351 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
354 define KernelPackage
/fs-nfs
/description
355 Kernel module for NFS client support
358 $(eval
$(call KernelPackage
,fs-nfs
))
361 define KernelPackage
/fs-nfs-common
363 TITLE
:=Common NFS filesystem modules
369 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
370 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko \
371 $(LINUX_DIR
)/fs
/nfs_common
/grace.ko
372 AUTOLOAD
:=$(call AutoLoad
,30,grace sunrpc lockd
)
375 $(eval
$(call KernelPackage
,fs-nfs-common
))
378 define KernelPackage
/fs-nfs-common-rpcsec
380 TITLE
:=NFS Secure RPC
382 +kmod-fs-nfs-common \
393 CONFIG_RPCSEC_GSS_KRB5
395 $(LINUX_DIR
)/lib
/oid_registry.ko \
396 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko \
397 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/rpcsec_gss_krb5.ko
398 AUTOLOAD
:=$(call AutoLoad
,31,oid_registry auth_rpcgss rpcsec_gss_krb5
)
401 define KernelPackage
/fs-nfs-common-rpcsec
/description
402 Kernel modules for NFS Secure RPC
405 $(eval
$(call KernelPackage
,fs-nfs-common-rpcsec
))
408 define KernelPackage
/fs-nfs-v3
410 TITLE
:=NFS3 filesystem client support
411 DEPENDS
:=+kmod-fs-nfs
413 $(LINUX_DIR
)/fs
/nfs
/nfsv3.ko
414 AUTOLOAD
:=$(call AutoLoad
,41,nfsv3
)
417 define KernelPackage
/fs-nfs-v3
/description
418 Kernel module for NFS v3 client support
421 $(eval
$(call KernelPackage
,fs-nfs-v3
))
424 define KernelPackage
/fs-nfs-v4
426 TITLE
:=NFS4 filesystem client support
427 DEPENDS
:=+kmod-fs-nfs
431 $(LINUX_DIR
)/fs
/nfs
/nfsv4.ko
432 AUTOLOAD
:=$(call AutoLoad
,41,nfsv4
)
435 define KernelPackage
/fs-nfs-v4
/description
436 Kernel module for NFS v4 client support
439 $(eval
$(call KernelPackage
,fs-nfs-v4
))
442 define KernelPackage
/fs-nfsd
444 TITLE
:=NFS kernel server support
445 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
+kmod-fs-nfs-common-rpcsec
449 CONFIG_NFSD_V4_SECURITY_LABEL
=n \
450 CONFIG_NFSD_BLOCKLAYOUT
=n \
451 CONFIG_NFSD_SCSILAYOUT
=n \
452 CONFIG_NFSD_FLEXFILELAYOUT
=n \
453 CONFIG_NFSD_FAULT_INJECTION
=n
454 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
455 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
458 define KernelPackage
/fs-nfsd
/description
459 Kernel module for NFS kernel server support
462 $(eval
$(call KernelPackage
,fs-nfsd
))
465 define KernelPackage
/fs-ntfs
467 TITLE
:=NTFS filesystem support
468 KCONFIG
:=CONFIG_NTFS_FS
469 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
470 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
471 $(call AddDepends
/nls
)
474 define KernelPackage
/fs-ntfs
/description
475 Kernel module for NTFS filesystem support
478 $(eval
$(call KernelPackage
,fs-ntfs
))
481 define KernelPackage
/fs-reiserfs
483 TITLE
:=ReiserFS filesystem support
484 KCONFIG
:=CONFIG_REISERFS_FS
485 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
486 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
489 define KernelPackage
/fs-reiserfs
/description
490 Kernel module for ReiserFS support
493 $(eval
$(call KernelPackage
,fs-reiserfs
))
496 define KernelPackage
/fs-squashfs
498 TITLE
:=SquashFS
4.0 filesystem support
499 KCONFIG
:=CONFIG_SQUASHFS \
501 FILES
:=$(LINUX_DIR
)/fs
/squashfs
/squashfs.ko
502 AUTOLOAD
:=$(call AutoLoad
,30,squashfs
,1)
505 define KernelPackage
/fs-squashfs
/description
506 Kernel module for SquashFS
4.0 support
509 $(eval
$(call KernelPackage
,fs-squashfs
))
512 define KernelPackage
/fs-udf
514 TITLE
:=UDF filesystem support
515 KCONFIG
:=CONFIG_UDF_FS
516 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
517 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
518 DEPENDS
:=+kmod-lib-crc-itu-t
+kmod-cdrom
519 $(call AddDepends
/nls
)
522 define KernelPackage
/fs-udf
/description
523 Kernel module for UDF filesystem support
526 $(eval
$(call KernelPackage
,fs-udf
))
529 define KernelPackage
/fs-vfat
531 TITLE
:=VFAT filesystem support
536 $(LINUX_DIR
)/fs
/fat
/fat.ko \
537 $(LINUX_DIR
)/fs
/fat
/vfat.ko
538 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
539 $(call AddDepends
/nls
,cp437 iso8859-1 utf8
)
542 define KernelPackage
/fs-vfat
/description
543 Kernel module for VFAT filesystem support
546 $(eval
$(call KernelPackage
,fs-vfat
))
549 define KernelPackage
/fs-xfs
551 TITLE
:=XFS filesystem support
552 KCONFIG
:=CONFIG_XFS_FS
553 DEPENDS
:= +kmod-fs-exportfs
+kmod-lib-crc32c
554 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
555 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
558 define KernelPackage
/fs-xfs
/description
559 Kernel module for XFS support
562 $(eval
$(call KernelPackage
,fs-xfs
))
565 define KernelPackage
/fuse
567 TITLE
:=FUSE
(Filesystem in Userspace
) support
568 KCONFIG
:= CONFIG_FUSE_FS
569 FILES
:=$(LINUX_DIR
)/fs
/fuse
/fuse.ko
570 AUTOLOAD
:=$(call AutoLoad
,80,fuse
)
573 define KernelPackage
/fuse
/description
574 Kernel module for userspace filesystem support
577 $(eval
$(call KernelPackage
,fuse
))