kernel: modules: fs: adapt for kernel 6.1
[openwrt/openwrt.git] / package / kernel / linux / modules / fs.mk
1 #
2 # Copyright (C) 2006-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 FS_MENU:=Filesystems
9
10 define KernelPackage/fs-9p
11 SUBMENU:=$(FS_MENU)
12 TITLE:=Plan 9 Resource Sharing Support
13 DEPENDS:=+kmod-9pnet +LINUX_6_1:kmod-fs-netfs
14 KCONFIG:=\
15 CONFIG_9P_FS \
16 CONFIG_9P_FS_POSIX_ACL=n \
17 CONFIG_9P_FS_SECURITY=n \
18 CONFIG_9P_FSCACHE=n
19 FILES:=$(LINUX_DIR)/fs/9p/9p.ko
20 AUTOLOAD:=$(call AutoLoad,30,9p)
21 endef
22
23 define KernelPackage/fs-9p/description
24 Kernel module for Plan 9 Resource Sharing Support support
25 endef
26
27 $(eval $(call KernelPackage,fs-9p))
28
29
30 define KernelPackage/fs-afs
31 SUBMENU:=$(FS_MENU)
32 TITLE:=Andrew FileSystem client
33 DEFAULT:=n
34 DEPENDS:=+kmod-rxrpc +kmod-dnsresolver +kmod-fs-fscache
35 KCONFIG:=\
36 CONFIG_AFS_FS=m \
37 CONFIG_AFS_DEBUG=n \
38 CONFIG_AFS_FSCACHE=y
39 FILES:=$(LINUX_DIR)/fs/afs/kafs.ko
40 AUTOLOAD:=$(call AutoLoad,30,kafs)
41 endef
42
43 define KernelPackage/fs-afs/description
44 Kernel module for Andrew FileSystem client support
45 endef
46
47 $(eval $(call KernelPackage,fs-afs))
48
49 define KernelPackage/fs-autofs4
50 SUBMENU:=$(FS_MENU)
51 TITLE:=AUTOFS4 filesystem support
52 KCONFIG:= \
53 CONFIG_AUTOFS4_FS \
54 CONFIG_AUTOFS_FS
55 FILES:= \
56 $(LINUX_DIR)/fs/autofs/autofs4.ko
57 AUTOLOAD:=$(call AutoLoad,30,autofs4)
58 endef
59
60 define KernelPackage/fs-autofs4/description
61 Kernel module for AutoFS4 support
62 endef
63
64 $(eval $(call KernelPackage,fs-autofs4))
65
66
67 define KernelPackage/fs-btrfs
68 SUBMENU:=$(FS_MENU)
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
71 KCONFIG:=\
72 CONFIG_BTRFS_FS \
73 CONFIG_BTRFS_FS_CHECK_INTEGRITY=n
74 FILES:=\
75 $(LINUX_DIR)/fs/btrfs/btrfs.ko
76 AUTOLOAD:=$(call AutoLoad,30,btrfs,1)
77 endef
78
79 define KernelPackage/fs-btrfs/description
80 Kernel module for BTRFS support
81 endef
82
83 $(eval $(call KernelPackage,fs-btrfs))
84
85
86 define KernelPackage/fs-smbfs-common
87 SUBMENU:=$(FS_MENU)
88 TITLE:=SMBFS common dependencies support
89 HIDDEN:=1
90 KCONFIG:=CONFIG_SMBFS_COMMON
91 FILES:= \
92 $(LINUX_DIR)/fs/smbfs_common/cifs_arc4.ko \
93 $(LINUX_DIR)/fs/smbfs_common/cifs_md4.ko
94 endef
95
96 define KernelPackage/fs-smbfs-common/description
97 Kernel module dependency for CIFS or SMB_SERVER support
98 endef
99
100 $(eval $(call KernelPackage,fs-smbfs-common))
101
102
103 define KernelPackage/fs-cifs
104 SUBMENU:=$(FS_MENU)
105 TITLE:=CIFS support
106 KCONFIG:= \
107 CONFIG_CIFS \
108 CONFIG_CIFS_DFS_UPCALL=n \
109 CONFIG_CIFS_UPCALL=n
110 FILES:= \
111 $(LINUX_DIR)/fs/cifs/cifs.ko
112 AUTOLOAD:=$(call AutoLoad,30,cifs)
113 $(call AddDepends/nls)
114 DEPENDS+= \
115 +kmod-fs-smbfs-common \
116 +kmod-crypto-md5 \
117 +kmod-crypto-sha256 \
118 +kmod-crypto-sha512 \
119 +kmod-crypto-cmac \
120 +kmod-crypto-hmac \
121 +kmod-crypto-aead \
122 +kmod-crypto-ccm \
123 +kmod-crypto-ecb \
124 +kmod-crypto-des \
125 +kmod-asn1-decoder \
126 +kmod-oid-registry \
127 +kmod-dnsresolver
128 endef
129
130 define KernelPackage/fs-cifs/description
131 Kernel module for CIFS support
132 endef
133
134 $(eval $(call KernelPackage,fs-cifs))
135
136
137 define KernelPackage/fs-configfs
138 SUBMENU:=$(FS_MENU)
139 TITLE:=Configuration filesystem support
140 KCONFIG:= \
141 CONFIG_CONFIGFS_FS
142 FILES:=$(LINUX_DIR)/fs/configfs/configfs.ko
143 AUTOLOAD:=$(call AutoLoad,30,configfs)
144 endef
145
146 define KernelPackage/fs-configfs/description
147 Kernel module for configfs support
148 endef
149
150 $(eval $(call KernelPackage,fs-configfs))
151
152
153 define KernelPackage/fs-cramfs
154 SUBMENU:=$(FS_MENU)
155 TITLE:=Compressed RAM/ROM filesystem support
156 DEPENDS:=+kmod-lib-zlib-inflate
157 KCONFIG:= \
158 CONFIG_CRAMFS
159 FILES:=$(LINUX_DIR)/fs/cramfs/cramfs.ko
160 AUTOLOAD:=$(call AutoLoad,30,cramfs)
161 endef
162
163 define KernelPackage/fs-cramfs/description
164 Kernel module for cramfs support
165 endef
166
167 $(eval $(call KernelPackage,fs-cramfs))
168
169
170 define KernelPackage/fs-efivarfs
171 SUBMENU:=$(FS_MENU)
172 TITLE:=efivar filesystem support
173 KCONFIG:=CONFIG_EFIVAR_FS
174 FILES:=$(LINUX_DIR)/fs/efivarfs/efivarfs.ko
175 DEPENDS:=@(x86_64||x86)
176 AUTOLOAD:=$(call Autoload,90,efivarfs)
177 endef
178
179 define KernelPackage/fs-efivarfs/description
180 Kernel module to support efivarfs file system mountpoint.
181 endef
182
183 $(eval $(call KernelPackage,fs-efivarfs))
184
185
186 define KernelPackage/fs-exfat
187 SUBMENU:=$(FS_MENU)
188 TITLE:=exFAT filesystem support
189 KCONFIG:= \
190 CONFIG_EXFAT_FS \
191 CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"
192 FILES:= $(LINUX_DIR)/fs/exfat/exfat.ko
193 AUTOLOAD:=$(call AutoLoad,30,exfat,1)
194 DEPENDS:=+kmod-nls-base
195 endef
196
197 define KernelPackage/fs-exfat/description
198 Kernel module for exFAT filesystem support
199 endef
200
201 $(eval $(call KernelPackage,fs-exfat))
202
203
204 define KernelPackage/fs-exportfs
205 SUBMENU:=$(FS_MENU)
206 TITLE:=exportfs kernel server support
207 KCONFIG:=CONFIG_EXPORTFS
208 FILES=$(LINUX_DIR)/fs/exportfs/exportfs.ko
209 AUTOLOAD:=$(call AutoLoad,20,exportfs,1)
210 endef
211
212 define KernelPackage/fs-exportfs/description
213 Kernel module for exportfs. Needed for some other modules.
214 endef
215
216 $(eval $(call KernelPackage,fs-exportfs))
217
218
219 define KernelPackage/fs-ext4
220 SUBMENU:=$(FS_MENU)
221 TITLE:=EXT4 filesystem support
222 DEPENDS := \
223 +kmod-lib-crc16 \
224 +kmod-crypto-hash \
225 +kmod-crypto-crc32c
226 KCONFIG:= \
227 CONFIG_EXT4_FS \
228 CONFIG_EXT4_ENCRYPTION=n \
229 CONFIG_JBD2
230 FILES:= \
231 $(LINUX_DIR)/fs/ext4/ext4.ko \
232 $(LINUX_DIR)/fs/jbd2/jbd2.ko \
233 $(LINUX_DIR)/fs/mbcache.ko
234 AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1)
235 endef
236
237 define KernelPackage/fs-ext4/description
238 Kernel module for EXT4 filesystem support
239 endef
240
241 $(eval $(call KernelPackage,fs-ext4))
242
243
244 define KernelPackage/fs-f2fs
245 SUBMENU:=$(FS_MENU)
246 TITLE:=F2FS filesystem support
247 DEPENDS:= +kmod-crypto-hash +kmod-crypto-crc32 +kmod-nls-base
248 KCONFIG:=CONFIG_F2FS_FS
249 FILES:=$(LINUX_DIR)/fs/f2fs/f2fs.ko
250 AUTOLOAD:=$(call AutoLoad,30,f2fs,1)
251 endef
252
253 define KernelPackage/fs-f2fs/description
254 Kernel module for F2FS filesystem support
255 endef
256
257 $(eval $(call KernelPackage,fs-f2fs))
258
259
260 define KernelPackage/fs-fscache
261 SUBMENU:=$(FS_MENU)
262 TITLE:=General filesystem local cache manager
263 DEPENDS:=+kmod-fs-netfs
264 KCONFIG:=\
265 CONFIG_FSCACHE \
266 CONFIG_FSCACHE_STATS=y \
267 CONFIG_FSCACHE_HISTOGRAM=n \
268 CONFIG_FSCACHE_DEBUG=n \
269 CONFIG_FSCACHE_OBJECT_LIST=n \
270 CONFIG_CACHEFILES \
271 CONFIG_CACHEFILES_DEBUG=n \
272 CONFIG_CACHEFILES_HISTOGRAM=n \
273 CONFIG_CACHEFILES_ERROR_INJECTION=n@ge5.17 \
274 CONFIG_CACHEFILES_ONDEMAND=n@ge5.19
275 FILES:= \
276 $(LINUX_DIR)/fs/fscache/fscache.ko \
277 $(LINUX_DIR)/fs/cachefiles/cachefiles.ko
278 AUTOLOAD:=$(call AutoLoad,29,fscache cachefiles)
279 endef
280
281 $(eval $(call KernelPackage,fs-fscache))
282
283
284 define KernelPackage/fs-hfs
285 SUBMENU:=$(FS_MENU)
286 TITLE:=HFS filesystem support
287 DEPENDS:=+kmod-cdrom
288 KCONFIG:=CONFIG_HFS_FS
289 FILES:=$(LINUX_DIR)/fs/hfs/hfs.ko
290 AUTOLOAD:=$(call AutoLoad,30,hfs)
291 $(call AddDepends/nls)
292 endef
293
294 define KernelPackage/fs-hfs/description
295 Kernel module for HFS filesystem support
296 endef
297
298 $(eval $(call KernelPackage,fs-hfs))
299
300
301 define KernelPackage/fs-hfsplus
302 SUBMENU:=$(FS_MENU)
303 TITLE:=HFS+ filesystem support
304 DEPENDS:=+kmod-cdrom
305 KCONFIG:=CONFIG_HFSPLUS_FS
306 FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.ko
307 AUTOLOAD:=$(call AutoLoad,30,hfsplus)
308 $(call AddDepends/nls,utf8)
309 endef
310
311 define KernelPackage/fs-hfsplus/description
312 Kernel module for HFS+ filesystem support
313 endef
314
315 $(eval $(call KernelPackage,fs-hfsplus))
316
317
318 define KernelPackage/fs-isofs
319 SUBMENU:=$(FS_MENU)
320 TITLE:=ISO9660 filesystem support
321 DEPENDS:=+kmod-lib-zlib-inflate +kmod-cdrom
322 KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
323 FILES:=$(LINUX_DIR)/fs/isofs/isofs.ko
324 AUTOLOAD:=$(call AutoLoad,30,isofs)
325 $(call AddDepends/nls)
326 endef
327
328 define KernelPackage/fs-isofs/description
329 Kernel module for ISO9660 filesystem support
330 endef
331
332 $(eval $(call KernelPackage,fs-isofs))
333
334
335 define KernelPackage/fs-jfs
336 SUBMENU:=$(FS_MENU)
337 TITLE:=JFS filesystem support
338 KCONFIG:=CONFIG_JFS_FS
339 FILES:=$(LINUX_DIR)/fs/jfs/jfs.ko
340 AUTOLOAD:=$(call AutoLoad,30,jfs,1)
341 $(call AddDepends/nls)
342 endef
343
344 define KernelPackage/fs-jfs/description
345 Kernel module for JFS support
346 endef
347
348 $(eval $(call KernelPackage,fs-jfs))
349
350
351 define KernelPackage/fs-ksmbd
352 SUBMENU:=$(FS_MENU)
353 TITLE:=SMB kernel server support
354 DEPENDS:= \
355 +kmod-nls-base \
356 +kmod-nls-utf8 \
357 +kmod-crypto-md4 \
358 +kmod-crypto-md5 \
359 +kmod-crypto-hmac \
360 +kmod-crypto-ecb \
361 +kmod-crypto-des \
362 +kmod-crypto-sha256 \
363 +kmod-crypto-cmac \
364 +kmod-crypto-sha512 \
365 +kmod-crypto-aead \
366 +kmod-crypto-ccm \
367 +kmod-crypto-gcm \
368 +kmod-asn1-decoder \
369 +kmod-oid-registry \
370 +kmod-fs-smbfs-common
371 KCONFIG:= \
372 CONFIG_SMB_SERVER \
373 CONFIG_SMB_SERVER_SMBDIRECT=n \
374 CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN=n \
375 CONFIG_SMB_SERVER_KERBEROS5=n
376 FILES:=$(LINUX_DIR)/fs/ksmbd/ksmbd.ko
377 AUTOLOAD:=$(call AutoLoad,41,ksmbd)
378 endef
379
380 define KernelPackage/fs-ksmbd/description
381 Kernel module for SMB kernel server support
382 endef
383
384 $(eval $(call KernelPackage,fs-ksmbd))
385
386
387 define KernelPackage/fs-minix
388 SUBMENU:=$(FS_MENU)
389 TITLE:=Minix filesystem support
390 KCONFIG:=CONFIG_MINIX_FS
391 FILES:=$(LINUX_DIR)/fs/minix/minix.ko
392 AUTOLOAD:=$(call AutoLoad,30,minix)
393 endef
394
395 define KernelPackage/fs-minix/description
396 Kernel module for Minix filesystem support
397 endef
398
399 $(eval $(call KernelPackage,fs-minix))
400
401
402 define KernelPackage/fs-msdos
403 SUBMENU:=$(FS_MENU)
404 TITLE:=MSDOS filesystem support
405 DEPENDS:=+kmod-fs-vfat
406 KCONFIG:=CONFIG_MSDOS_FS
407 FILES:=$(LINUX_DIR)/fs/fat/msdos.ko
408 AUTOLOAD:=$(call AutoLoad,40,msdos)
409 $(call AddDepends/nls)
410 endef
411
412 define KernelPackage/fs-msdos/description
413 Kernel module for MSDOS filesystem support
414 endef
415
416 $(eval $(call KernelPackage,fs-msdos))
417
418
419 define KernelPackage/fs-netfs
420 SUBMENU:=$(FS_MENU)
421 TITLE:=Network Filesystems support
422 KCONFIG:= CONFIG_NETFS_SUPPORT
423 FILES:=$(LINUX_DIR)/fs/netfs/netfs.ko
424 AUTOLOAD:=$(call AutoLoad,28,netfs)
425 endef
426
427 $(eval $(call KernelPackage,fs-netfs))
428
429
430 define KernelPackage/fs-nfs
431 SUBMENU:=$(FS_MENU)
432 TITLE:=NFS filesystem client support
433 DEPENDS:=+kmod-fs-nfs-common +kmod-dnsresolver
434 KCONFIG:= \
435 CONFIG_NFS_FS \
436 CONFIG_NFS_USE_LEGACY_DNS=n \
437 CONFIG_NFS_USE_NEW_IDMAPPER=n
438 FILES:= \
439 $(LINUX_DIR)/fs/nfs/nfs.ko
440 AUTOLOAD:=$(call AutoLoad,40,nfs)
441 endef
442
443 define KernelPackage/fs-nfs/description
444 Kernel module for NFS client support
445 endef
446
447 $(eval $(call KernelPackage,fs-nfs))
448
449
450 define KernelPackage/fs-nfs-common
451 SUBMENU:=$(FS_MENU)
452 TITLE:=Common NFS filesystem modules
453 DEPENDS:=+kmod-oid-registry
454 KCONFIG:= \
455 CONFIG_LOCKD \
456 CONFIG_SUNRPC \
457 CONFIG_GRACE_PERIOD \
458 CONFIG_NFS_V4=y \
459 CONFIG_NFS_V4_1=y \
460 CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org" \
461 CONFIG_NFS_V4_1_MIGRATION=n \
462 CONFIG_NFS_V4_2=y \
463 CONFIG_NFS_V4_2_READ_PLUS=n
464 FILES:= \
465 $(LINUX_DIR)/fs/lockd/lockd.ko \
466 $(LINUX_DIR)/net/sunrpc/sunrpc.ko \
467 $(LINUX_DIR)/fs/nfs_common/grace.ko \
468 $(LINUX_DIR)/fs/nfs_common/nfs_ssc.ko
469 AUTOLOAD:=$(call AutoLoad,30,grace sunrpc lockd)
470 endef
471
472 $(eval $(call KernelPackage,fs-nfs-common))
473
474
475 define KernelPackage/fs-nfs-common-rpcsec
476 SUBMENU:=$(FS_MENU)
477 TITLE:=NFS Secure RPC
478 DEPENDS:= \
479 +kmod-fs-nfs-common \
480 +kmod-crypto-des \
481 +kmod-crypto-cbc \
482 +kmod-crypto-cts \
483 +kmod-crypto-md5 \
484 +kmod-crypto-sha1 \
485 +kmod-crypto-hmac \
486 +kmod-crypto-ecb \
487 +kmod-crypto-arc4
488 KCONFIG:= \
489 CONFIG_SUNRPC_GSS \
490 CONFIG_RPCSEC_GSS_KRB5
491 FILES:= \
492 $(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko \
493 $(LINUX_DIR)/net/sunrpc/auth_gss/rpcsec_gss_krb5.ko
494 AUTOLOAD:=$(call AutoLoad,31,auth_rpcgss rpcsec_gss_krb5)
495 endef
496
497 define KernelPackage/fs-nfs-common-rpcsec/description
498 Kernel modules for NFS Secure RPC
499 endef
500
501 $(eval $(call KernelPackage,fs-nfs-common-rpcsec))
502
503
504 define KernelPackage/fs-nfs-v3
505 SUBMENU:=$(FS_MENU)
506 TITLE:=NFS3 filesystem client support
507 DEPENDS:=+kmod-fs-nfs
508 FILES:= \
509 $(LINUX_DIR)/fs/nfs/nfsv3.ko
510 AUTOLOAD:=$(call AutoLoad,41,nfsv3)
511 endef
512
513 define KernelPackage/fs-nfs-v3/description
514 Kernel module for NFS v3 client support
515 endef
516
517 $(eval $(call KernelPackage,fs-nfs-v3))
518
519
520 define KernelPackage/fs-nfs-v4
521 SUBMENU:=$(FS_MENU)
522 TITLE:=NFS4 filesystem client support
523 DEPENDS:=+kmod-fs-nfs
524 KCONFIG:= \
525 CONFIG_NFS_V4=y
526 FILES:= \
527 $(LINUX_DIR)/fs/nfs/nfsv4.ko
528 AUTOLOAD:=$(call AutoLoad,41,nfsv4)
529 endef
530
531 define KernelPackage/fs-nfs-v4/description
532 Kernel module for NFS v4 client support
533 endef
534
535 $(eval $(call KernelPackage,fs-nfs-v4))
536
537
538 define KernelPackage/fs-nfsd
539 SUBMENU:=$(FS_MENU)
540 TITLE:=NFS kernel server support
541 DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs +kmod-fs-nfs-common-rpcsec
542 KCONFIG:= \
543 CONFIG_NFSD \
544 CONFIG_NFSD_V4=y \
545 CONFIG_NFSD_V4_SECURITY_LABEL=n \
546 CONFIG_NFSD_BLOCKLAYOUT=n \
547 CONFIG_NFSD_SCSILAYOUT=n \
548 CONFIG_NFSD_FLEXFILELAYOUT=n \
549 CONFIG_NFSD_FAULT_INJECTION=n \
550 CONFIG_NFSD_V4_2_INTER_SSC=n
551 FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
552 AUTOLOAD:=$(call AutoLoad,40,nfsd)
553 endef
554
555 define KernelPackage/fs-nfsd/description
556 Kernel module for NFS kernel server support
557 endef
558
559 $(eval $(call KernelPackage,fs-nfsd))
560
561
562 define KernelPackage/fs-ntfs
563 SUBMENU:=$(FS_MENU)
564 TITLE:=NTFS filesystem read-only (old driver) support
565 KCONFIG:=CONFIG_NTFS_FS
566 FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.ko
567 AUTOLOAD:=$(call AutoLoad,30,ntfs)
568 $(call AddDepends/nls)
569 endef
570
571 define KernelPackage/fs-ntfs/description
572 Kernel module for limited NTFS filesystem support. Support for writing
573 is extremely limited and disabled as a result.
574 endef
575
576 $(eval $(call KernelPackage,fs-ntfs))
577
578
579 define KernelPackage/fs-ntfs3
580 SUBMENU:=$(FS_MENU)
581 TITLE:=NTFS filesystem read & write (new driver) support
582 KCONFIG:= CONFIG_NTFS3_FS CONFIG_NTFS3_FS_POSIX_ACL=y
583 FILES:=$(LINUX_DIR)/fs/ntfs3/ntfs3.ko
584 $(call AddDepends/nls)
585 AUTOLOAD:=$(call AutoLoad,80,ntfs3)
586 endef
587
588 define KernelPackage/fs-ntfs3/description
589 Kernel module for fully functional NTFS filesystem support. It allows
590 reading as well as writing.
591
592 It supports NTFS versions up to 3.1.
593 endef
594
595 $(eval $(call KernelPackage,fs-ntfs3))
596
597
598 define KernelPackage/fs-reiserfs
599 SUBMENU:=$(FS_MENU)
600 TITLE:=ReiserFS filesystem support
601 KCONFIG:=CONFIG_REISERFS_FS
602 FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.ko
603 AUTOLOAD:=$(call AutoLoad,30,reiserfs,1)
604 endef
605
606 define KernelPackage/fs-reiserfs/description
607 Kernel module for ReiserFS support
608 endef
609
610 $(eval $(call KernelPackage,fs-reiserfs))
611
612
613 define KernelPackage/fs-squashfs
614 SUBMENU:=$(FS_MENU)
615 TITLE:=SquashFS 4.0 filesystem support
616 KCONFIG:=CONFIG_SQUASHFS \
617 CONFIG_SQUASHFS_XZ=y
618 FILES:=$(LINUX_DIR)/fs/squashfs/squashfs.ko
619 AUTOLOAD:=$(call AutoLoad,30,squashfs,1)
620 endef
621
622 define KernelPackage/fs-squashfs/description
623 Kernel module for SquashFS 4.0 support
624 endef
625
626 $(eval $(call KernelPackage,fs-squashfs))
627
628
629 define KernelPackage/fs-udf
630 SUBMENU:=$(FS_MENU)
631 TITLE:=UDF filesystem support
632 KCONFIG:=CONFIG_UDF_FS
633 FILES:=$(LINUX_DIR)/fs/udf/udf.ko
634 AUTOLOAD:=$(call AutoLoad,30,udf)
635 DEPENDS:=+kmod-lib-crc-itu-t +kmod-cdrom
636 $(call AddDepends/nls)
637 endef
638
639 define KernelPackage/fs-udf/description
640 Kernel module for UDF filesystem support
641 endef
642
643 $(eval $(call KernelPackage,fs-udf))
644
645
646 define KernelPackage/fs-vfat
647 SUBMENU:=$(FS_MENU)
648 TITLE:=VFAT filesystem support
649 KCONFIG:= \
650 CONFIG_FAT_FS \
651 CONFIG_VFAT_FS
652 FILES:= \
653 $(LINUX_DIR)/fs/fat/fat.ko \
654 $(LINUX_DIR)/fs/fat/vfat.ko
655 AUTOLOAD:=$(call AutoLoad,30,fat vfat,1)
656 $(call AddDepends/nls,cp437 iso8859-1 utf8)
657 endef
658
659 define KernelPackage/fs-vfat/description
660 Kernel module for VFAT filesystem support
661 endef
662
663 $(eval $(call KernelPackage,fs-vfat))
664
665
666 define KernelPackage/fs-xfs
667 SUBMENU:=$(FS_MENU)
668 TITLE:=XFS filesystem support
669 KCONFIG:=CONFIG_XFS_FS
670 DEPENDS:= +kmod-fs-exportfs +kmod-lib-crc32c
671 FILES:=$(LINUX_DIR)/fs/xfs/xfs.ko
672 AUTOLOAD:=$(call AutoLoad,30,xfs,1)
673 endef
674
675 define KernelPackage/fs-xfs/description
676 Kernel module for XFS support
677 endef
678
679 $(eval $(call KernelPackage,fs-xfs))
680
681
682 define KernelPackage/fuse
683 SUBMENU:=$(FS_MENU)
684 TITLE:=FUSE (Filesystem in Userspace) support
685 KCONFIG:= CONFIG_FUSE_FS
686 FILES:=$(LINUX_DIR)/fs/fuse/fuse.ko
687 AUTOLOAD:=$(call AutoLoad,80,fuse)
688 endef
689
690 define KernelPackage/fuse/description
691 Kernel module for userspace filesystem support
692 endef
693
694 $(eval $(call KernelPackage,fuse))
695
696
697 define KernelPackage/pstore
698 SUBMENU:=$(FS_MENU)
699 TITLE:=Pstore file system
700 DEFAULT:=m if ALL_KMODS
701 KCONFIG:= \
702 CONFIG_PSTORE \
703 CONFIG_PSTORE_COMPRESS=y \
704 CONFIG_PSTORE_COMPRESS_DEFAULT="deflate" \
705 CONFIG_PSTORE_DEFLATE_COMPRESS=y \
706 CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT=y
707 FILES:= $(LINUX_DIR)/fs/pstore/pstore.ko
708 AUTOLOAD:=$(call AutoLoad,30,pstore,1)
709 endef
710
711 define KernelPackage/pstore/description
712 Kernel module for pstore filesystem support
713 endef
714
715 $(eval $(call KernelPackage,pstore))