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
211 CONFIG_F2FS_STAT_FS
=y \
212 CONFIG_F2FS_FS_XATTR
=y \
213 CONFIG_F2FS_FS_POSIX_ACL
=n \
214 CONFIG_F2FS_FS_SECURITY
=n \
215 CONFIG_F2FS_CHECK_FS
=n
216 FILES
:=$(LINUX_DIR
)/fs
/f2fs
/f2fs.ko
217 AUTOLOAD
:=$(call AutoLoad
,30,f2fs
,1)
220 define KernelPackage
/fs-f2fs
/description
221 Kernel module for F2FS filesystem support
224 $(eval
$(call KernelPackage
,fs-f2fs
))
227 define KernelPackage
/fs-fscache
229 TITLE
:=General filesystem local cache manager
233 CONFIG_FSCACHE_STATS
=y \
234 CONFIG_FSCACHE_HISTOGRAM
=n \
235 CONFIG_FSCACHE_DEBUG
=n \
236 CONFIG_FSCACHE_OBJECT_LIST
=n \
237 CONFIG_CACHEFILES
=y \
238 CONFIG_CACHEFILES_DEBUG
=n \
239 CONFIG_CACHEFILES_HISTOGRAM
=n
240 FILES
:=$(LINUX_DIR
)/fs
/fscache
/fscache.ko
241 AUTOLOAD
:=$(call AutoLoad
,29,fscache
)
244 $(eval
$(call KernelPackage
,fs-fscache
))
247 define KernelPackage
/fs-hfs
249 TITLE
:=HFS filesystem support
250 KCONFIG
:=CONFIG_HFS_FS
251 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
252 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
253 $(call AddDepends
/nls
)
256 define KernelPackage
/fs-hfs
/description
257 Kernel module for HFS filesystem support
260 $(eval
$(call KernelPackage
,fs-hfs
))
263 define KernelPackage
/fs-hfsplus
265 TITLE
:=HFS
+ filesystem support
266 KCONFIG
:=CONFIG_HFSPLUS_FS
267 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
268 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
269 $(call AddDepends
/nls
,utf8
)
272 define KernelPackage
/fs-hfsplus
/description
273 Kernel module for HFS
+ filesystem support
276 $(eval
$(call KernelPackage
,fs-hfsplus
))
279 define KernelPackage
/fs-isofs
281 TITLE
:=ISO9660 filesystem support
282 DEPENDS
:=+kmod-lib-zlib-inflate
283 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
284 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
285 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
286 $(call AddDepends
/nls
)
289 define KernelPackage
/fs-isofs
/description
290 Kernel module for ISO9660 filesystem support
293 $(eval
$(call KernelPackage
,fs-isofs
))
296 define KernelPackage
/fs-jfs
298 TITLE
:=JFS filesystem support
299 KCONFIG
:=CONFIG_JFS_FS
300 FILES
:=$(LINUX_DIR
)/fs
/jfs
/jfs.ko
301 AUTOLOAD
:=$(call AutoLoad
,30,jfs
,1)
302 $(call AddDepends
/nls
)
305 define KernelPackage
/fs-jfs
/description
306 Kernel module for JFS support
309 $(eval
$(call KernelPackage
,fs-jfs
))
311 define KernelPackage
/fs-minix
313 TITLE
:=Minix filesystem support
314 KCONFIG
:=CONFIG_MINIX_FS
315 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
316 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
319 define KernelPackage
/fs-minix
/description
320 Kernel module for Minix filesystem support
323 $(eval
$(call KernelPackage
,fs-minix
))
326 define KernelPackage
/fs-msdos
328 TITLE
:=MSDOS filesystem support
329 DEPENDS
:=+kmod-fs-vfat
330 KCONFIG
:=CONFIG_MSDOS_FS
331 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
332 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
333 $(call AddDepends
/nls
)
336 define KernelPackage
/fs-msdos
/description
337 Kernel module for MSDOS filesystem support
340 $(eval
$(call KernelPackage
,fs-msdos
))
343 define KernelPackage
/fs-nfs
345 TITLE
:=NFS filesystem client support
346 DEPENDS
:=+kmod-fs-nfs-common
+kmod-dnsresolver
349 CONFIG_NFS_USE_LEGACY_DNS
=n \
350 CONFIG_NFS_USE_NEW_IDMAPPER
=n
352 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
353 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
356 define KernelPackage
/fs-nfs
/description
357 Kernel module for NFS client support
360 $(eval
$(call KernelPackage
,fs-nfs
))
363 define KernelPackage
/fs-nfs-common
365 TITLE
:=Common NFS filesystem modules
371 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
372 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko \
373 $(LINUX_DIR
)/fs
/nfs_common
/grace.ko
374 AUTOLOAD
:=$(call AutoLoad
,30,grace sunrpc lockd
)
377 $(eval
$(call KernelPackage
,fs-nfs-common
))
380 define KernelPackage
/fs-nfs-common-rpcsec
382 TITLE
:=NFS Secure RPC
384 +kmod-fs-nfs-common \
395 CONFIG_RPCSEC_GSS_KRB5
397 $(LINUX_DIR
)/lib
/oid_registry.ko \
398 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko \
399 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/rpcsec_gss_krb5.ko
400 AUTOLOAD
:=$(call AutoLoad
,31,oid_registry auth_rpcgss rpcsec_gss_krb5
)
403 define KernelPackage
/fs-nfs-common-rpcsec
/description
404 Kernel modules for NFS Secure RPC
407 $(eval
$(call KernelPackage
,fs-nfs-common-rpcsec
))
410 define KernelPackage
/fs-nfs-v3
412 TITLE
:=NFS3 filesystem client support
413 DEPENDS
:=+kmod-fs-nfs
415 $(LINUX_DIR
)/fs
/nfs
/nfsv3.ko
416 AUTOLOAD
:=$(call AutoLoad
,41,nfsv3
)
419 define KernelPackage
/fs-nfs-v3
/description
420 Kernel module for NFS v3 client support
423 $(eval
$(call KernelPackage
,fs-nfs-v3
))
426 define KernelPackage
/fs-nfs-v4
428 TITLE
:=NFS4 filesystem client support
429 DEPENDS
:=+kmod-fs-nfs
433 $(LINUX_DIR
)/fs
/nfs
/nfsv4.ko
434 AUTOLOAD
:=$(call AutoLoad
,41,nfsv4
)
437 define KernelPackage
/fs-nfs-v4
/description
438 Kernel module for NFS v4 client support
441 $(eval
$(call KernelPackage
,fs-nfs-v4
))
444 define KernelPackage
/fs-nfsd
446 TITLE
:=NFS kernel server support
447 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
+kmod-fs-nfs-common-rpcsec
451 CONFIG_NFSD_V4_SECURITY_LABEL
=n \
452 CONFIG_NFSD_BLOCKLAYOUT
=n \
453 CONFIG_NFSD_SCSILAYOUT
=n \
454 CONFIG_NFSD_FLEXFILELAYOUT
=n \
455 CONFIG_NFSD_FAULT_INJECTION
=n
456 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
457 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
460 define KernelPackage
/fs-nfsd
/description
461 Kernel module for NFS kernel server support
464 $(eval
$(call KernelPackage
,fs-nfsd
))
467 define KernelPackage
/fs-ntfs
469 TITLE
:=NTFS filesystem support
470 KCONFIG
:=CONFIG_NTFS_FS
471 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
472 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
473 $(call AddDepends
/nls
)
476 define KernelPackage
/fs-ntfs
/description
477 Kernel module for NTFS filesystem support
480 $(eval
$(call KernelPackage
,fs-ntfs
))
483 define KernelPackage
/fs-reiserfs
485 TITLE
:=ReiserFS filesystem support
486 KCONFIG
:=CONFIG_REISERFS_FS \
487 CONFIG_REISERFS_FS_XATTR
=y
488 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
489 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
492 define KernelPackage
/fs-reiserfs
/description
493 Kernel module for ReiserFS support
496 $(eval
$(call KernelPackage
,fs-reiserfs
))
499 define KernelPackage
/fs-squashfs
501 TITLE
:=SquashFS
4.0 filesystem support
502 KCONFIG
:=CONFIG_SQUASHFS \
504 FILES
:=$(LINUX_DIR
)/fs
/squashfs
/squashfs.ko
505 AUTOLOAD
:=$(call AutoLoad
,30,squashfs
,1)
508 define KernelPackage
/fs-squashfs
/description
509 Kernel module for SquashFS
4.0 support
512 $(eval
$(call KernelPackage
,fs-squashfs
))
515 define KernelPackage
/fs-udf
517 TITLE
:=UDF filesystem support
518 KCONFIG
:=CONFIG_UDF_FS
519 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
520 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
521 DEPENDS
:=+kmod-lib-crc-itu-t
522 $(call AddDepends
/nls
)
525 define KernelPackage
/fs-udf
/description
526 Kernel module for UDF filesystem support
529 $(eval
$(call KernelPackage
,fs-udf
))
532 define KernelPackage
/fs-vfat
534 TITLE
:=VFAT filesystem support
539 $(LINUX_DIR
)/fs
/fat
/fat.ko \
540 $(LINUX_DIR
)/fs
/fat
/vfat.ko
541 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
542 $(call AddDepends
/nls
,cp437 iso8859-1 utf8
)
545 define KernelPackage
/fs-vfat
/description
546 Kernel module for VFAT filesystem support
549 $(eval
$(call KernelPackage
,fs-vfat
))
552 define KernelPackage
/fs-xfs
554 TITLE
:=XFS filesystem support
555 KCONFIG
:=CONFIG_XFS_FS
556 DEPENDS
:= +kmod-fs-exportfs
+kmod-lib-crc32c
557 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
558 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
561 define KernelPackage
/fs-xfs
/description
562 Kernel module for XFS support
565 $(eval
$(call KernelPackage
,fs-xfs
))
568 define KernelPackage
/fuse
570 TITLE
:=FUSE
(Filesystem in Userspace
) support
571 KCONFIG
:= CONFIG_FUSE_FS
572 FILES
:=$(LINUX_DIR
)/fs
/fuse
/fuse.ko
573 AUTOLOAD
:=$(call AutoLoad
,80,fuse
)
576 define KernelPackage
/fuse
/description
577 Kernel module for userspace filesystem support
580 $(eval
$(call KernelPackage
,fuse
))