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_CHECK_INTEGRITY
=n
75 $(LINUX_DIR
)/fs
/btrfs
/btrfs.ko
76 AUTOLOAD
:=$(call AutoLoad
,30,btrfs
,1)
79 define KernelPackage
/fs-btrfs
/description
80 Kernel module for BTRFS support
83 $(eval
$(call KernelPackage
,fs-btrfs
))
86 define KernelPackage
/fs-cifs
91 CONFIG_CIFS_DFS_UPCALL
=n \
93 FILES
:=$(LINUX_DIR
)/fs
/cifs
/cifs.ko
94 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
95 $(call AddDepends
/nls
)
100 +kmod-crypto-sha512 \
110 define KernelPackage
/fs-cifs
/description
111 Kernel module for CIFS support
114 $(eval
$(call KernelPackage
,fs-cifs
))
117 define KernelPackage
/fs-configfs
119 TITLE
:=Configuration filesystem support
122 FILES
:=$(LINUX_DIR
)/fs
/configfs
/configfs.ko
123 AUTOLOAD
:=$(call AutoLoad
,30,configfs
)
126 define KernelPackage
/fs-configfs
/description
127 Kernel module for configfs support
130 $(eval
$(call KernelPackage
,fs-configfs
))
133 define KernelPackage
/fs-cramfs
135 TITLE
:=Compressed RAM
/ROM filesystem support
136 DEPENDS
:=+kmod-lib-zlib-inflate
139 FILES
:=$(LINUX_DIR
)/fs
/cramfs
/cramfs.ko
140 AUTOLOAD
:=$(call AutoLoad
,30,cramfs
)
143 define KernelPackage
/fs-cramfs
/description
144 Kernel module for cramfs support
147 $(eval
$(call KernelPackage
,fs-cramfs
))
150 define KernelPackage
/fs-efivarfs
152 TITLE
:=efivar filesystem support
153 KCONFIG
:=CONFIG_EFIVAR_FS
154 FILES
:=$(LINUX_DIR
)/fs
/efivarfs
/efivarfs.ko
155 DEPENDS
:=@
(x86_64||x86
)
156 AUTOLOAD
:=$(call Autoload
,90,efivarfs
)
159 define KernelPackage
/fs-efivarfs
/description
160 Kernel module to support efivarfs file system mountpoint.
163 $(eval
$(call KernelPackage
,fs-efivarfs
))
166 define KernelPackage
/fs-exfat
168 TITLE
:=exFAT filesystem support
171 CONFIG_EXFAT_DEFAULT_IOCHARSET
="utf8"
173 $(LINUX_DIR
)/drivers
/staging
/exfat
/exfat.ko@lt5.7 \
174 $(LINUX_DIR
)/fs
/exfat
/exfat.ko@ge5.7
175 AUTOLOAD
:=$(call AutoLoad
,30,exfat
,1)
176 DEPENDS
:=+kmod-nls-base
179 define KernelPackage
/fs-exfat
/description
180 Kernel module for exFAT filesystem support
183 $(eval
$(call KernelPackage
,fs-exfat
))
186 define KernelPackage
/fs-exportfs
188 TITLE
:=exportfs kernel server support
189 KCONFIG
:=CONFIG_EXPORTFS
190 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
191 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
,1)
194 define KernelPackage
/fs-exportfs
/description
195 Kernel module for exportfs. Needed for some other modules.
198 $(eval
$(call KernelPackage
,fs-exportfs
))
201 define KernelPackage
/fs-ext4
203 TITLE
:=EXT4 filesystem support
210 CONFIG_EXT4_ENCRYPTION
=n \
213 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
214 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko \
215 $(LINUX_DIR
)/fs
/mbcache.ko
216 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
219 define KernelPackage
/fs-ext4
/description
220 Kernel module for EXT4 filesystem support
223 $(eval
$(call KernelPackage
,fs-ext4
))
226 define KernelPackage
/fs-f2fs
228 TITLE
:=F2FS filesystem support
229 DEPENDS
:= +kmod-crypto-hash
+kmod-crypto-crc32
+kmod-nls-base
230 KCONFIG
:=CONFIG_F2FS_FS
231 FILES
:=$(LINUX_DIR
)/fs
/f2fs
/f2fs.ko
232 AUTOLOAD
:=$(call AutoLoad
,30,f2fs
,1)
235 define KernelPackage
/fs-f2fs
/description
236 Kernel module for F2FS filesystem support
239 $(eval
$(call KernelPackage
,fs-f2fs
))
242 define KernelPackage
/fs-fscache
244 TITLE
:=General filesystem local cache manager
248 CONFIG_FSCACHE_STATS
=y \
249 CONFIG_FSCACHE_HISTOGRAM
=n \
250 CONFIG_FSCACHE_DEBUG
=n \
251 CONFIG_FSCACHE_OBJECT_LIST
=n \
252 CONFIG_CACHEFILES
=y \
253 CONFIG_CACHEFILES_DEBUG
=n \
254 CONFIG_CACHEFILES_HISTOGRAM
=n
255 FILES
:=$(LINUX_DIR
)/fs
/fscache
/fscache.ko
256 AUTOLOAD
:=$(call AutoLoad
,29,fscache
)
259 $(eval
$(call KernelPackage
,fs-fscache
))
262 define KernelPackage
/fs-hfs
264 TITLE
:=HFS filesystem support
266 KCONFIG
:=CONFIG_HFS_FS
267 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
268 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
269 $(call AddDepends
/nls
)
272 define KernelPackage
/fs-hfs
/description
273 Kernel module for HFS filesystem support
276 $(eval
$(call KernelPackage
,fs-hfs
))
279 define KernelPackage
/fs-hfsplus
281 TITLE
:=HFS
+ filesystem support
283 KCONFIG
:=CONFIG_HFSPLUS_FS
284 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
285 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
286 $(call AddDepends
/nls
,utf8
)
289 define KernelPackage
/fs-hfsplus
/description
290 Kernel module for HFS
+ filesystem support
293 $(eval
$(call KernelPackage
,fs-hfsplus
))
296 define KernelPackage
/fs-isofs
298 TITLE
:=ISO9660 filesystem support
299 DEPENDS
:=+kmod-lib-zlib-inflate
+kmod-cdrom
300 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
301 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
302 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
303 $(call AddDepends
/nls
)
306 define KernelPackage
/fs-isofs
/description
307 Kernel module for ISO9660 filesystem support
310 $(eval
$(call KernelPackage
,fs-isofs
))
313 define KernelPackage
/fs-jfs
315 TITLE
:=JFS filesystem support
316 KCONFIG
:=CONFIG_JFS_FS
317 FILES
:=$(LINUX_DIR
)/fs
/jfs
/jfs.ko
318 AUTOLOAD
:=$(call AutoLoad
,30,jfs
,1)
319 $(call AddDepends
/nls
)
322 define KernelPackage
/fs-jfs
/description
323 Kernel module for JFS support
326 $(eval
$(call KernelPackage
,fs-jfs
))
328 define KernelPackage
/fs-minix
330 TITLE
:=Minix filesystem support
331 KCONFIG
:=CONFIG_MINIX_FS
332 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
333 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
336 define KernelPackage
/fs-minix
/description
337 Kernel module for Minix filesystem support
340 $(eval
$(call KernelPackage
,fs-minix
))
343 define KernelPackage
/fs-msdos
345 TITLE
:=MSDOS filesystem support
346 DEPENDS
:=+kmod-fs-vfat
347 KCONFIG
:=CONFIG_MSDOS_FS
348 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
349 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
350 $(call AddDepends
/nls
)
353 define KernelPackage
/fs-msdos
/description
354 Kernel module for MSDOS filesystem support
357 $(eval
$(call KernelPackage
,fs-msdos
))
360 define KernelPackage
/fs-nfs
362 TITLE
:=NFS filesystem client support
363 DEPENDS
:=+kmod-fs-nfs-common
+kmod-dnsresolver
366 CONFIG_NFS_USE_LEGACY_DNS
=n \
367 CONFIG_NFS_USE_NEW_IDMAPPER
=n
369 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
370 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
373 define KernelPackage
/fs-nfs
/description
374 Kernel module for NFS client support
377 $(eval
$(call KernelPackage
,fs-nfs
))
380 define KernelPackage
/fs-nfs-common
382 TITLE
:=Common NFS filesystem modules
383 DEPENDS
:=+kmod-oid-registry
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
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko \
417 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/rpcsec_gss_krb5.ko
418 AUTOLOAD
:=$(call AutoLoad
,31,auth_rpcgss rpcsec_gss_krb5
)
421 define KernelPackage
/fs-nfs-common-rpcsec
/description
422 Kernel modules for NFS Secure RPC
425 $(eval
$(call KernelPackage
,fs-nfs-common-rpcsec
))
428 define KernelPackage
/fs-nfs-v3
430 TITLE
:=NFS3 filesystem client support
431 DEPENDS
:=+kmod-fs-nfs
433 $(LINUX_DIR
)/fs
/nfs
/nfsv3.ko
434 AUTOLOAD
:=$(call AutoLoad
,41,nfsv3
)
437 define KernelPackage
/fs-nfs-v3
/description
438 Kernel module for NFS v3 client support
441 $(eval
$(call KernelPackage
,fs-nfs-v3
))
444 define KernelPackage
/fs-nfs-v4
446 TITLE
:=NFS4 filesystem client support
447 DEPENDS
:=+kmod-fs-nfs
451 $(LINUX_DIR
)/fs
/nfs
/nfsv4.ko
452 AUTOLOAD
:=$(call AutoLoad
,41,nfsv4
)
455 define KernelPackage
/fs-nfs-v4
/description
456 Kernel module for NFS v4 client support
459 $(eval
$(call KernelPackage
,fs-nfs-v4
))
462 define KernelPackage
/fs-nfsd
464 TITLE
:=NFS kernel server support
465 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
+kmod-fs-nfs-common-rpcsec
469 CONFIG_NFSD_V4_SECURITY_LABEL
=n \
470 CONFIG_NFSD_BLOCKLAYOUT
=n \
471 CONFIG_NFSD_SCSILAYOUT
=n \
472 CONFIG_NFSD_FLEXFILELAYOUT
=n \
473 CONFIG_NFSD_FAULT_INJECTION
=n
474 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
475 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
478 define KernelPackage
/fs-nfsd
/description
479 Kernel module for NFS kernel server support
482 $(eval
$(call KernelPackage
,fs-nfsd
))
485 define KernelPackage
/fs-ntfs
487 TITLE
:=NTFS filesystem support
488 KCONFIG
:=CONFIG_NTFS_FS
489 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
490 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
491 $(call AddDepends
/nls
)
494 define KernelPackage
/fs-ntfs
/description
495 Kernel module for NTFS filesystem support
498 $(eval
$(call KernelPackage
,fs-ntfs
))
501 define KernelPackage
/pstore
503 TITLE
:=Pstore file system
504 DEFAULT
:=m if ALL_KMODS
507 CONFIG_PSTORE_COMPRESS
=y \
508 CONFIG_PSTORE_COMPRESS_DEFAULT
="deflate" \
509 CONFIG_PSTORE_DEFLATE_COMPRESS
=y \
510 CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT
=y
511 FILES
:= $(LINUX_DIR
)/fs
/pstore
/pstore.ko
512 AUTOLOAD
:=$(call AutoLoad
,30,pstore
,1)
515 define KernelPackage
/pstore
/description
516 Kernel module for pstore filesystem support
519 $(eval
$(call KernelPackage
,pstore
))
522 define KernelPackage
/fs-reiserfs
524 TITLE
:=ReiserFS filesystem support
525 KCONFIG
:=CONFIG_REISERFS_FS
526 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
527 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
530 define KernelPackage
/fs-reiserfs
/description
531 Kernel module for ReiserFS support
534 $(eval
$(call KernelPackage
,fs-reiserfs
))
537 define KernelPackage
/fs-squashfs
539 TITLE
:=SquashFS
4.0 filesystem support
540 KCONFIG
:=CONFIG_SQUASHFS \
542 FILES
:=$(LINUX_DIR
)/fs
/squashfs
/squashfs.ko
543 AUTOLOAD
:=$(call AutoLoad
,30,squashfs
,1)
546 define KernelPackage
/fs-squashfs
/description
547 Kernel module for SquashFS
4.0 support
550 $(eval
$(call KernelPackage
,fs-squashfs
))
553 define KernelPackage
/fs-udf
555 TITLE
:=UDF filesystem support
556 KCONFIG
:=CONFIG_UDF_FS
557 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
558 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
559 DEPENDS
:=+kmod-lib-crc-itu-t
+kmod-cdrom
560 $(call AddDepends
/nls
)
563 define KernelPackage
/fs-udf
/description
564 Kernel module for UDF filesystem support
567 $(eval
$(call KernelPackage
,fs-udf
))
570 define KernelPackage
/fs-vfat
572 TITLE
:=VFAT filesystem support
577 $(LINUX_DIR
)/fs
/fat
/fat.ko \
578 $(LINUX_DIR
)/fs
/fat
/vfat.ko
579 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
580 $(call AddDepends
/nls
,cp437 iso8859-1 utf8
)
583 define KernelPackage
/fs-vfat
/description
584 Kernel module for VFAT filesystem support
587 $(eval
$(call KernelPackage
,fs-vfat
))
590 define KernelPackage
/fs-xfs
592 TITLE
:=XFS filesystem support
593 KCONFIG
:=CONFIG_XFS_FS
594 DEPENDS
:= +kmod-fs-exportfs
+kmod-lib-crc32c
595 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
596 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
599 define KernelPackage
/fs-xfs
/description
600 Kernel module for XFS support
603 $(eval
$(call KernelPackage
,fs-xfs
))
606 define KernelPackage
/fuse
608 TITLE
:=FUSE
(Filesystem in Userspace
) support
609 KCONFIG
:= CONFIG_FUSE_FS
610 FILES
:=$(LINUX_DIR
)/fs
/fuse
/fuse.ko
611 AUTOLOAD
:=$(call AutoLoad
,80,fuse
)
614 define KernelPackage
/fuse
/description
615 Kernel module for userspace filesystem support
618 $(eval
$(call KernelPackage
,fuse
))