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-fscache
12 TITLE
:=General filesystem local cache manager
16 CONFIG_FSCACHE_STATS
=y \
17 CONFIG_FSCACHE_HISTOGRAM
=n \
18 CONFIG_FSCACHE_DEBUG
=n \
19 CONFIG_FSCACHE_OBJECT_LIST
=n \
21 CONFIG_CACHEFILES_DEBUG
=n \
22 CONFIG_CACHEFILES_HISTOGRAM
=n
23 FILES
:=$(LINUX_DIR
)/fs
/fscache
/fscache.ko
24 AUTOLOAD
:=$(call AutoLoad
,29,fscache
)
27 $(eval
$(call KernelPackage
,fs-fscache
))
29 define KernelPackage
/fs-9p
31 TITLE
:=Plan
9 Resource Sharing Support
35 CONFIG_9P_FS_POSIX_ACL
=n \
36 CONFIG_9P_FS_SECURITY
=n \
38 FILES
:=$(LINUX_DIR
)/fs
/9p
/9p.ko
39 AUTOLOAD
:=$(call AutoLoad
,30,9p
)
42 define KernelPackage
/fs-9p
/description
43 Kernel module for Plan
9 Resource Sharing Support support
46 $(eval
$(call KernelPackage
,fs-9p
))
48 define KernelPackage
/fs-afs
50 TITLE
:=Andrew FileSystem client
52 DEPENDS
:=+kmod-rxrpc
+kmod-dnsresolver
+kmod-fs-fscache
57 FILES
:=$(LINUX_DIR
)/fs
/afs
/kafs.ko
58 AUTOLOAD
:=$(call AutoLoad
,30,kafs
)
61 define KernelPackage
/fs-afs
/description
62 Kernel module for Andrew FileSystem client support
65 $(eval
$(call KernelPackage
,fs-afs
))
67 define KernelPackage
/fs-autofs4
69 TITLE
:=AUTOFS4 filesystem support
70 KCONFIG
:=CONFIG_AUTOFS4_FS
71 FILES
:=$(LINUX_DIR
)/fs
/autofs4
/autofs4.ko
72 AUTOLOAD
:=$(call AutoLoad
,30,autofs4
)
75 define KernelPackage
/fs-autofs4
/description
76 Kernel module for AutoFS4 support
79 $(eval
$(call KernelPackage
,fs-autofs4
))
82 define KernelPackage
/fs-btrfs
84 TITLE
:=BTRFS filesystem support
85 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
88 CONFIG_BTRFS_FS_POSIX_ACL
=n \
89 CONFIG_BTRFS_FS_CHECK_INTEGRITY
=n
91 $(LINUX_DIR
)/fs
/btrfs
/btrfs.ko
92 AUTOLOAD
:=$(call AutoLoad
,30,btrfs
,1)
95 define KernelPackage
/fs-btrfs
/description
96 Kernel module for BTRFS support
99 $(eval
$(call KernelPackage
,fs-btrfs
))
102 define KernelPackage
/fs-cifs
107 CONFIG_CIFS_XATTR
=y \
108 CONFIG_CIFS_DFS_UPCALL
=n \
109 CONFIG_CIFS_UPCALL
=n \
111 FILES
:=$(LINUX_DIR
)/fs
/cifs
/cifs.ko
112 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
113 $(call AddDepends
/nls
)
123 define KernelPackage
/fs-cifs
/description
124 Kernel module for CIFS support
127 $(eval
$(call KernelPackage
,fs-cifs
))
130 define KernelPackage
/fs-configfs
132 TITLE
:=Configuration filesystem support
135 FILES
:=$(LINUX_DIR
)/fs
/configfs
/configfs.ko
136 AUTOLOAD
:=$(call AutoLoad
,30,configfs
)
139 define KernelPackage
/fs-configfs
/description
140 Kernel module for configfs support
143 $(eval
$(call KernelPackage
,fs-configfs
))
145 define KernelPackage
/fs-cramfs
147 TITLE
:=Compressed RAM
/ROM filesystem support
148 DEPENDS
:=+kmod-lib-zlib-inflate
151 FILES
:=$(LINUX_DIR
)/fs
/cramfs
/cramfs.ko
152 AUTOLOAD
:=$(call AutoLoad
,30,cramfs
)
155 define KernelPackage
/fs-cramfs
/description
156 Kernel module for cramfs support
159 $(eval
$(call KernelPackage
,fs-cramfs
))
161 define KernelPackage
/fs-exportfs
163 TITLE
:=exportfs kernel server support
164 KCONFIG
:=CONFIG_EXPORTFS
165 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
166 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
,1)
169 define KernelPackage
/fs-exportfs
/description
170 Kernel module for exportfs. Needed for some other modules.
173 $(eval
$(call KernelPackage
,fs-exportfs
))
176 define KernelPackage
/fs-ext4
178 TITLE
:=EXT4 filesystem support
185 CONFIG_EXT4_ENCRYPTION
=n \
188 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
189 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko \
190 $(LINUX_DIR
)/fs
/mbcache.ko
191 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
194 define KernelPackage
/fs-ext4
/description
195 Kernel module for EXT4 filesystem support
198 $(eval
$(call KernelPackage
,fs-ext4
))
201 define KernelPackage
/fs-f2fs
203 TITLE
:=F2FS filesystem support
204 DEPENDS
:= +kmod-crypto-hash
+kmod-crypto-crc32
207 CONFIG_F2FS_STAT_FS
=y \
208 CONFIG_F2FS_FS_XATTR
=y \
209 CONFIG_F2FS_FS_POSIX_ACL
=n \
210 CONFIG_F2FS_FS_SECURITY
=n \
211 CONFIG_F2FS_CHECK_FS
=n
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
/fuse
225 TITLE
:=FUSE
(Filesystem in Userspace
) support
226 KCONFIG
:= CONFIG_FUSE_FS
227 FILES
:=$(LINUX_DIR
)/fs
/fuse
/fuse.ko
228 AUTOLOAD
:=$(call AutoLoad
,80,fuse
)
231 define KernelPackage
/fuse
/description
232 Kernel module for userspace filesystem support
235 $(eval
$(call KernelPackage
,fuse
))
238 define KernelPackage
/fs-hfs
240 TITLE
:=HFS filesystem support
241 KCONFIG
:=CONFIG_HFS_FS
242 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
243 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
244 $(call AddDepends
/nls
)
247 define KernelPackage
/fs-hfs
/description
248 Kernel module for HFS filesystem support
251 $(eval
$(call KernelPackage
,fs-hfs
))
254 define KernelPackage
/fs-hfsplus
256 TITLE
:=HFS
+ filesystem support
257 KCONFIG
:=CONFIG_HFSPLUS_FS
258 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
259 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
260 $(call AddDepends
/nls
,utf8
)
263 define KernelPackage
/fs-hfsplus
/description
264 Kernel module for HFS
+ filesystem support
267 $(eval
$(call KernelPackage
,fs-hfsplus
))
270 define KernelPackage
/fs-isofs
272 TITLE
:=ISO9660 filesystem support
273 DEPENDS
:=+kmod-lib-zlib-inflate
274 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
275 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
276 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
277 $(call AddDepends
/nls
)
280 define KernelPackage
/fs-isofs
/description
281 Kernel module for ISO9660 filesystem support
284 $(eval
$(call KernelPackage
,fs-isofs
))
287 define KernelPackage
/fs-minix
289 TITLE
:=Minix filesystem support
290 KCONFIG
:=CONFIG_MINIX_FS
291 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
292 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
295 define KernelPackage
/fs-minix
/description
296 Kernel module for Minix filesystem support
299 $(eval
$(call KernelPackage
,fs-minix
))
302 define KernelPackage
/fs-msdos
304 TITLE
:=MSDOS filesystem support
305 DEPENDS
:=+kmod-fs-vfat
306 KCONFIG
:=CONFIG_MSDOS_FS
307 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
308 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
309 $(call AddDepends
/nls
)
312 define KernelPackage
/fs-msdos
/description
313 Kernel module for MSDOS filesystem support
316 $(eval
$(call KernelPackage
,fs-msdos
))
319 define KernelPackage
/fs-nfs
321 TITLE
:=NFS filesystem client support
322 DEPENDS
:=+kmod-fs-nfs-common
+kmod-dnsresolver
325 CONFIG_NFS_USE_LEGACY_DNS
=n \
326 CONFIG_NFS_USE_NEW_IDMAPPER
=n
328 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
329 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
332 define KernelPackage
/fs-nfs
/description
333 Kernel module for NFS client support
336 $(eval
$(call KernelPackage
,fs-nfs
))
338 define KernelPackage
/fs-nfs-v3
340 TITLE
:=NFS3 filesystem client support
341 DEPENDS
:=+kmod-fs-nfs
343 $(LINUX_DIR
)/fs
/nfs
/nfsv3.ko
344 AUTOLOAD
:=$(call AutoLoad
,41,nfsv3
)
347 define KernelPackage
/fs-nfs-v3
/description
348 Kernel module for NFS v3 client support
351 $(eval
$(call KernelPackage
,fs-nfs-v3
))
353 define KernelPackage
/fs-nfs-v4
355 TITLE
:=NFS4 filesystem client support
356 DEPENDS
:=+kmod-fs-nfs
360 $(LINUX_DIR
)/fs
/nfs
/nfsv4.ko
361 AUTOLOAD
:=$(call AutoLoad
,41,nfsv4
)
364 define KernelPackage
/fs-nfs-v4
/description
365 Kernel module for NFS v4 support
368 $(eval
$(call KernelPackage
,fs-nfs-v4
))
370 define KernelPackage
/fs-nfs-common
372 TITLE
:=Common NFS filesystem modules
378 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
379 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko \
380 $(LINUX_DIR
)/fs
/nfs_common
/grace.ko
381 AUTOLOAD
:=$(call AutoLoad
,30,grace sunrpc lockd
)
384 $(eval
$(call KernelPackage
,fs-nfs-common
))
387 define KernelPackage
/fs-nfs-common-rpcsec
389 TITLE
:=NFS Secure RPC
391 +kmod-fs-nfs-common \
401 CONFIG_RPCSEC_GSS_KRB5
403 $(LINUX_DIR
)/lib
/oid_registry.ko \
404 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko \
405 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/rpcsec_gss_krb5.ko
406 AUTOLOAD
:=$(call AutoLoad
,31,oid_registry auth_rpcgss rpcsec_gss_krb5
)
409 define KernelPackage
/fs-nfs-common-rpcsec
/description
410 Kernel modules for NFS Secure RPC
413 $(eval
$(call KernelPackage
,fs-nfs-common-rpcsec
))
416 define KernelPackage
/fs-nfsd
418 TITLE
:=NFS kernel server support
419 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
422 CONFIG_NFSD_FAULT_INJECTION
=n
423 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
424 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
427 define KernelPackage
/fs-nfsd
/description
428 Kernel module for NFS kernel server support
431 $(eval
$(call KernelPackage
,fs-nfsd
))
434 define KernelPackage
/fs-ntfs
436 TITLE
:=NTFS filesystem support
437 KCONFIG
:=CONFIG_NTFS_FS
438 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
439 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
440 $(call AddDepends
/nls
)
443 define KernelPackage
/fs-ntfs
/description
444 Kernel module for NTFS filesystem support
447 $(eval
$(call KernelPackage
,fs-ntfs
))
450 define KernelPackage
/fs-reiserfs
452 TITLE
:=ReiserFS filesystem support
453 KCONFIG
:=CONFIG_REISERFS_FS \
454 CONFIG_REISERFS_FS_XATTR
=y
455 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
456 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
459 define KernelPackage
/fs-reiserfs
/description
460 Kernel module for ReiserFS support
463 $(eval
$(call KernelPackage
,fs-reiserfs
))
466 define KernelPackage
/fs-squashfs
468 TITLE
:=SquashFS
4.0 filesystem support
469 KCONFIG
:=CONFIG_SQUASHFS \
471 FILES
:=$(LINUX_DIR
)/fs
/squashfs
/squashfs.ko
472 AUTOLOAD
:=$(call AutoLoad
,30,squashfs
,1)
475 define KernelPackage
/fs-squashfs
/description
476 Kernel module for SquashFS
4.0 support
479 $(eval
$(call KernelPackage
,fs-squashfs
))
482 define KernelPackage
/fs-udf
484 TITLE
:=UDF filesystem support
485 KCONFIG
:=CONFIG_UDF_FS
486 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
487 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
488 DEPENDS
:=+kmod-lib-crc-itu-t
489 $(call AddDepends
/nls
)
492 define KernelPackage
/fs-udf
/description
493 Kernel module for UDF filesystem support
496 $(eval
$(call KernelPackage
,fs-udf
))
499 define KernelPackage
/fs-vfat
501 TITLE
:=VFAT filesystem support
506 $(LINUX_DIR
)/fs
/fat
/fat.ko \
507 $(LINUX_DIR
)/fs
/fat
/vfat.ko
508 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
509 $(call AddDepends
/nls
,cp437 iso8859-1 utf8
)
512 define KernelPackage
/fs-vfat
/description
513 Kernel module for VFAT filesystem support
516 $(eval
$(call KernelPackage
,fs-vfat
))
519 define KernelPackage
/fs-xfs
521 TITLE
:=XFS filesystem support
522 KCONFIG
:=CONFIG_XFS_FS
523 DEPENDS
:= +kmod-fs-exportfs
+kmod-lib-crc32c
524 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
525 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
528 define KernelPackage
/fs-xfs
/description
529 Kernel module for XFS support
532 $(eval
$(call KernelPackage
,fs-xfs
))
535 define KernelPackage
/fs-jfs
537 TITLE
:=JFS filesystem support
538 KCONFIG
:=CONFIG_JFS_FS
539 FILES
:=$(LINUX_DIR
)/fs
/jfs
/jfs.ko
540 AUTOLOAD
:=$(call AutoLoad
,30,jfs
,1)
541 $(call AddDepends
/nls
)
544 define KernelPackage
/fs-jfs
/description
545 Kernel module for JFS support
548 $(eval
$(call KernelPackage
,fs-jfs
))