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-exfat
169 TITLE
:=exFAT filesystem support
172 CONFIG_EXFAT_DEFAULT_IOCHARSET
="utf8"
174 $(LINUX_DIR
)/drivers
/staging
/exfat
/exfat.ko@lt5.7 \
175 $(LINUX_DIR
)/fs
/exfat
/exfat.ko@ge5.7
176 AUTOLOAD
:=$(call AutoLoad
,30,exfat
,1)
177 DEPENDS
:=+kmod-nls-base
180 define KernelPackage
/fs-exfat
/description
181 Kernel module for exFAT filesystem support
184 $(eval
$(call KernelPackage
,fs-exfat
))
187 define KernelPackage
/fs-exportfs
189 TITLE
:=exportfs kernel server support
190 KCONFIG
:=CONFIG_EXPORTFS
191 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
192 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
,1)
195 define KernelPackage
/fs-exportfs
/description
196 Kernel module for exportfs. Needed for some other modules.
199 $(eval
$(call KernelPackage
,fs-exportfs
))
202 define KernelPackage
/fs-ext4
204 TITLE
:=EXT4 filesystem support
211 CONFIG_EXT4_ENCRYPTION
=n \
214 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
215 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko \
216 $(LINUX_DIR
)/fs
/mbcache.ko
217 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
220 define KernelPackage
/fs-ext4
/description
221 Kernel module for EXT4 filesystem support
224 $(eval
$(call KernelPackage
,fs-ext4
))
227 define KernelPackage
/fs-f2fs
229 TITLE
:=F2FS filesystem support
230 DEPENDS
:= +kmod-crypto-hash
+kmod-crypto-crc32
+kmod-nls-base
231 KCONFIG
:=CONFIG_F2FS_FS
232 FILES
:=$(LINUX_DIR
)/fs
/f2fs
/f2fs.ko
233 AUTOLOAD
:=$(call AutoLoad
,30,f2fs
,1)
236 define KernelPackage
/fs-f2fs
/description
237 Kernel module for F2FS filesystem support
240 $(eval
$(call KernelPackage
,fs-f2fs
))
243 define KernelPackage
/fs-fscache
245 TITLE
:=General filesystem local cache manager
249 CONFIG_FSCACHE_STATS
=y \
250 CONFIG_FSCACHE_HISTOGRAM
=n \
251 CONFIG_FSCACHE_DEBUG
=n \
252 CONFIG_FSCACHE_OBJECT_LIST
=n \
253 CONFIG_CACHEFILES
=y \
254 CONFIG_CACHEFILES_DEBUG
=n \
255 CONFIG_CACHEFILES_HISTOGRAM
=n
256 FILES
:=$(LINUX_DIR
)/fs
/fscache
/fscache.ko
257 AUTOLOAD
:=$(call AutoLoad
,29,fscache
)
260 $(eval
$(call KernelPackage
,fs-fscache
))
263 define KernelPackage
/fs-hfs
265 TITLE
:=HFS filesystem support
267 KCONFIG
:=CONFIG_HFS_FS
268 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
269 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
270 $(call AddDepends
/nls
)
273 define KernelPackage
/fs-hfs
/description
274 Kernel module for HFS filesystem support
277 $(eval
$(call KernelPackage
,fs-hfs
))
280 define KernelPackage
/fs-hfsplus
282 TITLE
:=HFS
+ filesystem support
284 KCONFIG
:=CONFIG_HFSPLUS_FS
285 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
286 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
287 $(call AddDepends
/nls
,utf8
)
290 define KernelPackage
/fs-hfsplus
/description
291 Kernel module for HFS
+ filesystem support
294 $(eval
$(call KernelPackage
,fs-hfsplus
))
297 define KernelPackage
/fs-isofs
299 TITLE
:=ISO9660 filesystem support
300 DEPENDS
:=+kmod-lib-zlib-inflate
+kmod-cdrom
301 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
302 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
303 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
304 $(call AddDepends
/nls
)
307 define KernelPackage
/fs-isofs
/description
308 Kernel module for ISO9660 filesystem support
311 $(eval
$(call KernelPackage
,fs-isofs
))
314 define KernelPackage
/fs-jfs
316 TITLE
:=JFS filesystem support
317 KCONFIG
:=CONFIG_JFS_FS
318 FILES
:=$(LINUX_DIR
)/fs
/jfs
/jfs.ko
319 AUTOLOAD
:=$(call AutoLoad
,30,jfs
,1)
320 $(call AddDepends
/nls
)
323 define KernelPackage
/fs-jfs
/description
324 Kernel module for JFS support
327 $(eval
$(call KernelPackage
,fs-jfs
))
329 define KernelPackage
/fs-minix
331 TITLE
:=Minix filesystem support
332 KCONFIG
:=CONFIG_MINIX_FS
333 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
334 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
337 define KernelPackage
/fs-minix
/description
338 Kernel module for Minix filesystem support
341 $(eval
$(call KernelPackage
,fs-minix
))
344 define KernelPackage
/fs-msdos
346 TITLE
:=MSDOS filesystem support
347 DEPENDS
:=+kmod-fs-vfat
348 KCONFIG
:=CONFIG_MSDOS_FS
349 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
350 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
351 $(call AddDepends
/nls
)
354 define KernelPackage
/fs-msdos
/description
355 Kernel module for MSDOS filesystem support
358 $(eval
$(call KernelPackage
,fs-msdos
))
361 define KernelPackage
/fs-nfs
363 TITLE
:=NFS filesystem client support
364 DEPENDS
:=+kmod-fs-nfs-common
+kmod-dnsresolver
367 CONFIG_NFS_USE_LEGACY_DNS
=n \
368 CONFIG_NFS_USE_NEW_IDMAPPER
=n
370 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
371 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
374 define KernelPackage
/fs-nfs
/description
375 Kernel module for NFS client support
378 $(eval
$(call KernelPackage
,fs-nfs
))
381 define KernelPackage
/fs-nfs-common
383 TITLE
:=Common NFS filesystem modules
389 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
390 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko \
391 $(LINUX_DIR
)/fs
/nfs_common
/grace.ko \
392 $(LINUX_DIR
)/fs
/nfs_common
/nfs_ssc.ko@ge5.10
393 AUTOLOAD
:=$(call AutoLoad
,30,grace sunrpc lockd
)
396 $(eval
$(call KernelPackage
,fs-nfs-common
))
399 define KernelPackage
/fs-nfs-common-rpcsec
401 TITLE
:=NFS Secure RPC
403 +kmod-fs-nfs-common \
414 CONFIG_RPCSEC_GSS_KRB5
416 $(LINUX_DIR
)/lib
/oid_registry.ko \
417 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko \
418 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/rpcsec_gss_krb5.ko
419 AUTOLOAD
:=$(call AutoLoad
,31,oid_registry auth_rpcgss rpcsec_gss_krb5
)
422 define KernelPackage
/fs-nfs-common-rpcsec
/description
423 Kernel modules for NFS Secure RPC
426 $(eval
$(call KernelPackage
,fs-nfs-common-rpcsec
))
429 define KernelPackage
/fs-nfs-v3
431 TITLE
:=NFS3 filesystem client support
432 DEPENDS
:=+kmod-fs-nfs
434 $(LINUX_DIR
)/fs
/nfs
/nfsv3.ko
435 AUTOLOAD
:=$(call AutoLoad
,41,nfsv3
)
438 define KernelPackage
/fs-nfs-v3
/description
439 Kernel module for NFS v3 client support
442 $(eval
$(call KernelPackage
,fs-nfs-v3
))
445 define KernelPackage
/fs-nfs-v4
447 TITLE
:=NFS4 filesystem client support
448 DEPENDS
:=+kmod-fs-nfs
452 $(LINUX_DIR
)/fs
/nfs
/nfsv4.ko
453 AUTOLOAD
:=$(call AutoLoad
,41,nfsv4
)
456 define KernelPackage
/fs-nfs-v4
/description
457 Kernel module for NFS v4 client support
460 $(eval
$(call KernelPackage
,fs-nfs-v4
))
463 define KernelPackage
/fs-nfsd
465 TITLE
:=NFS kernel server support
466 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
+kmod-fs-nfs-common-rpcsec
470 CONFIG_NFSD_V4_SECURITY_LABEL
=n \
471 CONFIG_NFSD_BLOCKLAYOUT
=n \
472 CONFIG_NFSD_SCSILAYOUT
=n \
473 CONFIG_NFSD_FLEXFILELAYOUT
=n \
474 CONFIG_NFSD_FAULT_INJECTION
=n
475 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
476 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
479 define KernelPackage
/fs-nfsd
/description
480 Kernel module for NFS kernel server support
483 $(eval
$(call KernelPackage
,fs-nfsd
))
486 define KernelPackage
/fs-ntfs
488 TITLE
:=NTFS filesystem support
489 KCONFIG
:=CONFIG_NTFS_FS
490 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
491 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
492 $(call AddDepends
/nls
)
495 define KernelPackage
/fs-ntfs
/description
496 Kernel module for NTFS filesystem support
499 $(eval
$(call KernelPackage
,fs-ntfs
))
502 define KernelPackage
/fs-reiserfs
504 TITLE
:=ReiserFS filesystem support
505 KCONFIG
:=CONFIG_REISERFS_FS
506 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
507 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
510 define KernelPackage
/fs-reiserfs
/description
511 Kernel module for ReiserFS support
514 $(eval
$(call KernelPackage
,fs-reiserfs
))
517 define KernelPackage
/fs-squashfs
519 TITLE
:=SquashFS
4.0 filesystem support
520 KCONFIG
:=CONFIG_SQUASHFS \
522 FILES
:=$(LINUX_DIR
)/fs
/squashfs
/squashfs.ko
523 AUTOLOAD
:=$(call AutoLoad
,30,squashfs
,1)
526 define KernelPackage
/fs-squashfs
/description
527 Kernel module for SquashFS
4.0 support
530 $(eval
$(call KernelPackage
,fs-squashfs
))
533 define KernelPackage
/fs-udf
535 TITLE
:=UDF filesystem support
536 KCONFIG
:=CONFIG_UDF_FS
537 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
538 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
539 DEPENDS
:=+kmod-lib-crc-itu-t
+kmod-cdrom
540 $(call AddDepends
/nls
)
543 define KernelPackage
/fs-udf
/description
544 Kernel module for UDF filesystem support
547 $(eval
$(call KernelPackage
,fs-udf
))
550 define KernelPackage
/fs-vfat
552 TITLE
:=VFAT filesystem support
557 $(LINUX_DIR
)/fs
/fat
/fat.ko \
558 $(LINUX_DIR
)/fs
/fat
/vfat.ko
559 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
560 $(call AddDepends
/nls
,cp437 iso8859-1 utf8
)
563 define KernelPackage
/fs-vfat
/description
564 Kernel module for VFAT filesystem support
567 $(eval
$(call KernelPackage
,fs-vfat
))
570 define KernelPackage
/fs-xfs
572 TITLE
:=XFS filesystem support
573 KCONFIG
:=CONFIG_XFS_FS
574 DEPENDS
:= +kmod-fs-exportfs
+kmod-lib-crc32c
575 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
576 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
579 define KernelPackage
/fs-xfs
/description
580 Kernel module for XFS support
583 $(eval
$(call KernelPackage
,fs-xfs
))
586 define KernelPackage
/fuse
588 TITLE
:=FUSE
(Filesystem in Userspace
) support
589 KCONFIG
:= CONFIG_FUSE_FS
590 FILES
:=$(LINUX_DIR
)/fs
/fuse
/fuse.ko
591 AUTOLOAD
:=$(call AutoLoad
,80,fuse
)
594 define KernelPackage
/fuse
/description
595 Kernel module for userspace filesystem support
598 $(eval
$(call KernelPackage
,fuse
))