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
52 KCONFIG
:=CONFIG_AUTOFS4_FS
53 FILES
:=$(LINUX_DIR
)/fs
/autofs4
/autofs4.ko
54 AUTOLOAD
:=$(call AutoLoad
,30,autofs4
)
57 define KernelPackage
/fs-autofs4
/description
58 Kernel module for AutoFS4 support
61 $(eval
$(call KernelPackage
,fs-autofs4
))
64 define KernelPackage
/fs-btrfs
66 TITLE
:=BTRFS filesystem support
67 DEPENDS
:=+kmod-lib-crc32c
+kmod-lib-lzo
+kmod-lib-zlib-inflate
+kmod-lib-zlib-deflate
+kmod-lib-raid6
+kmod-lib-xor
+LINUX_4_14
:kmod-lib-zstd
70 CONFIG_BTRFS_FS_POSIX_ACL
=n \
71 CONFIG_BTRFS_FS_CHECK_INTEGRITY
=n
73 $(LINUX_DIR
)/fs
/btrfs
/btrfs.ko
74 AUTOLOAD
:=$(call AutoLoad
,30,btrfs
,1)
77 define KernelPackage
/fs-btrfs
/description
78 Kernel module for BTRFS support
81 $(eval
$(call KernelPackage
,fs-btrfs
))
84 define KernelPackage
/fs-cifs
90 CONFIG_CIFS_DFS_UPCALL
=n \
91 CONFIG_CIFS_UPCALL
=n \
93 FILES
:=$(LINUX_DIR
)/fs
/cifs
/cifs.ko
94 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
95 $(call AddDepends
/nls
)
105 define KernelPackage
/fs-cifs
/description
106 Kernel module for CIFS support
109 $(eval
$(call KernelPackage
,fs-cifs
))
112 define KernelPackage
/fs-configfs
114 TITLE
:=Configuration filesystem support
117 FILES
:=$(LINUX_DIR
)/fs
/configfs
/configfs.ko
118 AUTOLOAD
:=$(call AutoLoad
,30,configfs
)
121 define KernelPackage
/fs-configfs
/description
122 Kernel module for configfs support
125 $(eval
$(call KernelPackage
,fs-configfs
))
128 define KernelPackage
/fs-cramfs
130 TITLE
:=Compressed RAM
/ROM filesystem support
131 DEPENDS
:=+kmod-lib-zlib-inflate
134 FILES
:=$(LINUX_DIR
)/fs
/cramfs
/cramfs.ko
135 AUTOLOAD
:=$(call AutoLoad
,30,cramfs
)
138 define KernelPackage
/fs-cramfs
/description
139 Kernel module for cramfs support
142 $(eval
$(call KernelPackage
,fs-cramfs
))
145 define KernelPackage
/fs-exportfs
147 TITLE
:=exportfs kernel server support
148 KCONFIG
:=CONFIG_EXPORTFS
149 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
150 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
,1)
153 define KernelPackage
/fs-exportfs
/description
154 Kernel module for exportfs. Needed for some other modules.
157 $(eval
$(call KernelPackage
,fs-exportfs
))
160 define KernelPackage
/fs-ext4
162 TITLE
:=EXT4 filesystem support
169 CONFIG_EXT4_ENCRYPTION
=n \
172 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
173 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko \
174 $(LINUX_DIR
)/fs
/mbcache.ko
175 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
178 define KernelPackage
/fs-ext4
/description
179 Kernel module for EXT4 filesystem support
182 $(eval
$(call KernelPackage
,fs-ext4
))
185 define KernelPackage
/fs-f2fs
187 TITLE
:=F2FS filesystem support
188 DEPENDS
:= +kmod-crypto-hash
+kmod-crypto-crc32
191 CONFIG_F2FS_STAT_FS
=y \
192 CONFIG_F2FS_FS_XATTR
=y \
193 CONFIG_F2FS_FS_POSIX_ACL
=n \
194 CONFIG_F2FS_FS_SECURITY
=n \
195 CONFIG_F2FS_CHECK_FS
=n
196 FILES
:=$(LINUX_DIR
)/fs
/f2fs
/f2fs.ko
197 AUTOLOAD
:=$(call AutoLoad
,30,f2fs
,1)
200 define KernelPackage
/fs-f2fs
/description
201 Kernel module for F2FS filesystem support
204 $(eval
$(call KernelPackage
,fs-f2fs
))
207 define KernelPackage
/fs-fscache
209 TITLE
:=General filesystem local cache manager
213 CONFIG_FSCACHE_STATS
=y \
214 CONFIG_FSCACHE_HISTOGRAM
=n \
215 CONFIG_FSCACHE_DEBUG
=n \
216 CONFIG_FSCACHE_OBJECT_LIST
=n \
217 CONFIG_CACHEFILES
=y \
218 CONFIG_CACHEFILES_DEBUG
=n \
219 CONFIG_CACHEFILES_HISTOGRAM
=n
220 FILES
:=$(LINUX_DIR
)/fs
/fscache
/fscache.ko
221 AUTOLOAD
:=$(call AutoLoad
,29,fscache
)
224 $(eval
$(call KernelPackage
,fs-fscache
))
227 define KernelPackage
/fs-hfs
229 TITLE
:=HFS filesystem support
230 KCONFIG
:=CONFIG_HFS_FS
231 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
232 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
233 $(call AddDepends
/nls
)
236 define KernelPackage
/fs-hfs
/description
237 Kernel module for HFS filesystem support
240 $(eval
$(call KernelPackage
,fs-hfs
))
243 define KernelPackage
/fs-hfsplus
245 TITLE
:=HFS
+ filesystem support
246 KCONFIG
:=CONFIG_HFSPLUS_FS
247 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
248 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
249 $(call AddDepends
/nls
,utf8
)
252 define KernelPackage
/fs-hfsplus
/description
253 Kernel module for HFS
+ filesystem support
256 $(eval
$(call KernelPackage
,fs-hfsplus
))
259 define KernelPackage
/fs-isofs
261 TITLE
:=ISO9660 filesystem support
262 DEPENDS
:=+kmod-lib-zlib-inflate
263 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
264 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
265 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
266 $(call AddDepends
/nls
)
269 define KernelPackage
/fs-isofs
/description
270 Kernel module for ISO9660 filesystem support
273 $(eval
$(call KernelPackage
,fs-isofs
))
276 define KernelPackage
/fs-jfs
278 TITLE
:=JFS filesystem support
279 KCONFIG
:=CONFIG_JFS_FS
280 FILES
:=$(LINUX_DIR
)/fs
/jfs
/jfs.ko
281 AUTOLOAD
:=$(call AutoLoad
,30,jfs
,1)
282 $(call AddDepends
/nls
)
285 define KernelPackage
/fs-jfs
/description
286 Kernel module for JFS support
289 $(eval
$(call KernelPackage
,fs-jfs
))
291 define KernelPackage
/fs-minix
293 TITLE
:=Minix filesystem support
294 KCONFIG
:=CONFIG_MINIX_FS
295 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
296 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
299 define KernelPackage
/fs-minix
/description
300 Kernel module for Minix filesystem support
303 $(eval
$(call KernelPackage
,fs-minix
))
306 define KernelPackage
/fs-msdos
308 TITLE
:=MSDOS filesystem support
309 DEPENDS
:=+kmod-fs-vfat
310 KCONFIG
:=CONFIG_MSDOS_FS
311 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
312 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
313 $(call AddDepends
/nls
)
316 define KernelPackage
/fs-msdos
/description
317 Kernel module for MSDOS filesystem support
320 $(eval
$(call KernelPackage
,fs-msdos
))
323 define KernelPackage
/fs-nfs
325 TITLE
:=NFS filesystem client support
326 DEPENDS
:=+kmod-fs-nfs-common
+kmod-dnsresolver
329 CONFIG_NFS_USE_LEGACY_DNS
=n \
330 CONFIG_NFS_USE_NEW_IDMAPPER
=n
332 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
333 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
336 define KernelPackage
/fs-nfs
/description
337 Kernel module for NFS client support
340 $(eval
$(call KernelPackage
,fs-nfs
))
343 define KernelPackage
/fs-nfs-common
345 TITLE
:=Common NFS filesystem modules
351 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
352 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko \
353 $(LINUX_DIR
)/fs
/nfs_common
/grace.ko
354 AUTOLOAD
:=$(call AutoLoad
,30,grace sunrpc lockd
)
357 $(eval
$(call KernelPackage
,fs-nfs-common
))
360 define KernelPackage
/fs-nfs-common-rpcsec
362 TITLE
:=NFS Secure RPC
364 +kmod-fs-nfs-common \
374 CONFIG_RPCSEC_GSS_KRB5
376 $(LINUX_DIR
)/lib
/oid_registry.ko \
377 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko \
378 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/rpcsec_gss_krb5.ko
379 AUTOLOAD
:=$(call AutoLoad
,31,oid_registry auth_rpcgss rpcsec_gss_krb5
)
382 define KernelPackage
/fs-nfs-common-rpcsec
/description
383 Kernel modules for NFS Secure RPC
386 $(eval
$(call KernelPackage
,fs-nfs-common-rpcsec
))
389 define KernelPackage
/fs-nfs-v3
391 TITLE
:=NFS3 filesystem client support
392 DEPENDS
:=+kmod-fs-nfs
394 $(LINUX_DIR
)/fs
/nfs
/nfsv3.ko
395 AUTOLOAD
:=$(call AutoLoad
,41,nfsv3
)
398 define KernelPackage
/fs-nfs-v3
/description
399 Kernel module for NFS v3 client support
402 $(eval
$(call KernelPackage
,fs-nfs-v3
))
405 define KernelPackage
/fs-nfs-v4
407 TITLE
:=NFS4 filesystem client support
408 DEPENDS
:=+kmod-fs-nfs
412 $(LINUX_DIR
)/fs
/nfs
/nfsv4.ko
413 AUTOLOAD
:=$(call AutoLoad
,41,nfsv4
)
416 define KernelPackage
/fs-nfs-v4
/description
417 Kernel module for NFS v4 support
420 $(eval
$(call KernelPackage
,fs-nfs-v4
))
423 define KernelPackage
/fs-nfsd
425 TITLE
:=NFS kernel server support
426 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
429 CONFIG_NFSD_FAULT_INJECTION
=n
430 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
431 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
434 define KernelPackage
/fs-nfsd
/description
435 Kernel module for NFS kernel server support
438 $(eval
$(call KernelPackage
,fs-nfsd
))
441 define KernelPackage
/fs-ntfs
443 TITLE
:=NTFS filesystem support
444 KCONFIG
:=CONFIG_NTFS_FS
445 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
446 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
447 $(call AddDepends
/nls
)
450 define KernelPackage
/fs-ntfs
/description
451 Kernel module for NTFS filesystem support
454 $(eval
$(call KernelPackage
,fs-ntfs
))
457 define KernelPackage
/fs-reiserfs
459 TITLE
:=ReiserFS filesystem support
460 KCONFIG
:=CONFIG_REISERFS_FS \
461 CONFIG_REISERFS_FS_XATTR
=y
462 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
463 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
466 define KernelPackage
/fs-reiserfs
/description
467 Kernel module for ReiserFS support
470 $(eval
$(call KernelPackage
,fs-reiserfs
))
473 define KernelPackage
/fs-squashfs
475 TITLE
:=SquashFS
4.0 filesystem support
476 KCONFIG
:=CONFIG_SQUASHFS \
478 FILES
:=$(LINUX_DIR
)/fs
/squashfs
/squashfs.ko
479 AUTOLOAD
:=$(call AutoLoad
,30,squashfs
,1)
482 define KernelPackage
/fs-squashfs
/description
483 Kernel module for SquashFS
4.0 support
486 $(eval
$(call KernelPackage
,fs-squashfs
))
489 define KernelPackage
/fs-udf
491 TITLE
:=UDF filesystem support
492 KCONFIG
:=CONFIG_UDF_FS
493 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
494 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
495 DEPENDS
:=+kmod-lib-crc-itu-t
496 $(call AddDepends
/nls
)
499 define KernelPackage
/fs-udf
/description
500 Kernel module for UDF filesystem support
503 $(eval
$(call KernelPackage
,fs-udf
))
506 define KernelPackage
/fs-vfat
508 TITLE
:=VFAT filesystem support
513 $(LINUX_DIR
)/fs
/fat
/fat.ko \
514 $(LINUX_DIR
)/fs
/fat
/vfat.ko
515 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
516 $(call AddDepends
/nls
,cp437 iso8859-1 utf8
)
519 define KernelPackage
/fs-vfat
/description
520 Kernel module for VFAT filesystem support
523 $(eval
$(call KernelPackage
,fs-vfat
))
526 define KernelPackage
/fs-xfs
528 TITLE
:=XFS filesystem support
529 KCONFIG
:=CONFIG_XFS_FS
530 DEPENDS
:= +kmod-fs-exportfs
+kmod-lib-crc32c
531 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
532 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
535 define KernelPackage
/fs-xfs
/description
536 Kernel module for XFS support
539 $(eval
$(call KernelPackage
,fs-xfs
))
542 define KernelPackage
/fuse
544 TITLE
:=FUSE
(Filesystem in Userspace
) support
545 KCONFIG
:= CONFIG_FUSE_FS
546 FILES
:=$(LINUX_DIR
)/fs
/fuse
/fuse.ko
547 AUTOLOAD
:=$(call AutoLoad
,80,fuse
)
550 define KernelPackage
/fuse
/description
551 Kernel module for userspace filesystem support
554 $(eval
$(call KernelPackage
,fuse
))