linux/modules: add ksmbd support for 5.15
[openwrt/staging/nbd.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
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 FILES:= \
274 $(LINUX_DIR)/fs/fscache/fscache.ko \
275 $(LINUX_DIR)/fs/cachefiles/cachefiles.ko
276 AUTOLOAD:=$(call AutoLoad,29,fscache cachefiles)
277 endef
278
279 $(eval $(call KernelPackage,fs-fscache))
280
281
282 define KernelPackage/fs-hfs
283 SUBMENU:=$(FS_MENU)
284 TITLE:=HFS filesystem support
285 DEPENDS:=+kmod-cdrom
286 KCONFIG:=CONFIG_HFS_FS
287 FILES:=$(LINUX_DIR)/fs/hfs/hfs.ko
288 AUTOLOAD:=$(call AutoLoad,30,hfs)
289 $(call AddDepends/nls)
290 endef
291
292 define KernelPackage/fs-hfs/description
293 Kernel module for HFS filesystem support
294 endef
295
296 $(eval $(call KernelPackage,fs-hfs))
297
298
299 define KernelPackage/fs-hfsplus
300 SUBMENU:=$(FS_MENU)
301 TITLE:=HFS+ filesystem support
302 DEPENDS:=+kmod-cdrom
303 KCONFIG:=CONFIG_HFSPLUS_FS
304 FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.ko
305 AUTOLOAD:=$(call AutoLoad,30,hfsplus)
306 $(call AddDepends/nls,utf8)
307 endef
308
309 define KernelPackage/fs-hfsplus/description
310 Kernel module for HFS+ filesystem support
311 endef
312
313 $(eval $(call KernelPackage,fs-hfsplus))
314
315
316 define KernelPackage/fs-isofs
317 SUBMENU:=$(FS_MENU)
318 TITLE:=ISO9660 filesystem support
319 DEPENDS:=+kmod-lib-zlib-inflate +kmod-cdrom
320 KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
321 FILES:=$(LINUX_DIR)/fs/isofs/isofs.ko
322 AUTOLOAD:=$(call AutoLoad,30,isofs)
323 $(call AddDepends/nls)
324 endef
325
326 define KernelPackage/fs-isofs/description
327 Kernel module for ISO9660 filesystem support
328 endef
329
330 $(eval $(call KernelPackage,fs-isofs))
331
332
333 define KernelPackage/fs-jfs
334 SUBMENU:=$(FS_MENU)
335 TITLE:=JFS filesystem support
336 KCONFIG:=CONFIG_JFS_FS
337 FILES:=$(LINUX_DIR)/fs/jfs/jfs.ko
338 AUTOLOAD:=$(call AutoLoad,30,jfs,1)
339 $(call AddDepends/nls)
340 endef
341
342 define KernelPackage/fs-jfs/description
343 Kernel module for JFS support
344 endef
345
346 $(eval $(call KernelPackage,fs-jfs))
347
348
349 define KernelPackage/fs-ksmbd
350 SUBMENU:=$(FS_MENU)
351 TITLE:=SMB kernel server support
352 DEPENDS:= \
353 +kmod-nls-base \
354 +kmod-nls-utf8 \
355 +kmod-crypto-md4 \
356 +kmod-crypto-md5 \
357 +kmod-crypto-hmac \
358 +kmod-crypto-ecb \
359 +kmod-crypto-des \
360 +kmod-crypto-sha256 \
361 +kmod-crypto-cmac \
362 +kmod-crypto-sha512 \
363 +kmod-crypto-aead \
364 +kmod-crypto-ccm \
365 +kmod-crypto-gcm \
366 +kmod-asn1-decoder \
367 +kmod-oid-registry \
368 +kmod-fs-smbfs-common
369 KCONFIG:= \
370 CONFIG_SMB_SERVER \
371 CONFIG_SMB_SERVER_SMBDIRECT=n \
372 CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN=n \
373 CONFIG_SMB_SERVER_KERBEROS5=n
374 FILES:=$(LINUX_DIR)/fs/ksmbd/ksmbd.ko
375 AUTOLOAD:=$(call AutoLoad,41,ksmbd)
376 endef
377
378 define KernelPackage/fs-ksmbd/description
379 Kernel module for SMB kernel server support
380 endef
381
382 $(eval $(call KernelPackage,fs-ksmbd))
383
384
385 define KernelPackage/fs-minix
386 SUBMENU:=$(FS_MENU)
387 TITLE:=Minix filesystem support
388 KCONFIG:=CONFIG_MINIX_FS
389 FILES:=$(LINUX_DIR)/fs/minix/minix.ko
390 AUTOLOAD:=$(call AutoLoad,30,minix)
391 endef
392
393 define KernelPackage/fs-minix/description
394 Kernel module for Minix filesystem support
395 endef
396
397 $(eval $(call KernelPackage,fs-minix))
398
399
400 define KernelPackage/fs-msdos
401 SUBMENU:=$(FS_MENU)
402 TITLE:=MSDOS filesystem support
403 DEPENDS:=+kmod-fs-vfat
404 KCONFIG:=CONFIG_MSDOS_FS
405 FILES:=$(LINUX_DIR)/fs/fat/msdos.ko
406 AUTOLOAD:=$(call AutoLoad,40,msdos)
407 $(call AddDepends/nls)
408 endef
409
410 define KernelPackage/fs-msdos/description
411 Kernel module for MSDOS filesystem support
412 endef
413
414 $(eval $(call KernelPackage,fs-msdos))
415
416
417 define KernelPackage/fs-netfs
418 SUBMENU:=$(FS_MENU)
419 TITLE:=Network Filesystems support
420 KCONFIG:= CONFIG_NETFS_SUPPORT
421 FILES:=$(LINUX_DIR)/fs/netfs/netfs.ko
422 AUTOLOAD:=$(call AutoLoad,28,netfs)
423 endef
424
425 $(eval $(call KernelPackage,fs-netfs))
426
427
428 define KernelPackage/fs-nfs
429 SUBMENU:=$(FS_MENU)
430 TITLE:=NFS filesystem client support
431 DEPENDS:=+kmod-fs-nfs-common +kmod-dnsresolver
432 KCONFIG:= \
433 CONFIG_NFS_FS \
434 CONFIG_NFS_USE_LEGACY_DNS=n \
435 CONFIG_NFS_USE_NEW_IDMAPPER=n
436 FILES:= \
437 $(LINUX_DIR)/fs/nfs/nfs.ko
438 AUTOLOAD:=$(call AutoLoad,40,nfs)
439 endef
440
441 define KernelPackage/fs-nfs/description
442 Kernel module for NFS client support
443 endef
444
445 $(eval $(call KernelPackage,fs-nfs))
446
447
448 define KernelPackage/fs-nfs-common
449 SUBMENU:=$(FS_MENU)
450 TITLE:=Common NFS filesystem modules
451 DEPENDS:=+kmod-oid-registry
452 KCONFIG:= \
453 CONFIG_LOCKD \
454 CONFIG_SUNRPC \
455 CONFIG_GRACE_PERIOD \
456 CONFIG_NFS_V4=y \
457 CONFIG_NFS_V4_1=y \
458 CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org" \
459 CONFIG_NFS_V4_1_MIGRATION=n \
460 CONFIG_NFS_V4_2=y \
461 CONFIG_NFS_V4_2_READ_PLUS=n
462 FILES:= \
463 $(LINUX_DIR)/fs/lockd/lockd.ko \
464 $(LINUX_DIR)/net/sunrpc/sunrpc.ko \
465 $(LINUX_DIR)/fs/nfs_common/grace.ko \
466 $(LINUX_DIR)/fs/nfs_common/nfs_ssc.ko
467 AUTOLOAD:=$(call AutoLoad,30,grace sunrpc lockd)
468 endef
469
470 $(eval $(call KernelPackage,fs-nfs-common))
471
472
473 define KernelPackage/fs-nfs-common-rpcsec
474 SUBMENU:=$(FS_MENU)
475 TITLE:=NFS Secure RPC
476 DEPENDS:= \
477 +kmod-fs-nfs-common \
478 +kmod-crypto-des \
479 +kmod-crypto-cbc \
480 +kmod-crypto-cts \
481 +kmod-crypto-md5 \
482 +kmod-crypto-sha1 \
483 +kmod-crypto-hmac \
484 +kmod-crypto-ecb \
485 +kmod-crypto-arc4
486 KCONFIG:= \
487 CONFIG_SUNRPC_GSS \
488 CONFIG_RPCSEC_GSS_KRB5
489 FILES:= \
490 $(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko \
491 $(LINUX_DIR)/net/sunrpc/auth_gss/rpcsec_gss_krb5.ko
492 AUTOLOAD:=$(call AutoLoad,31,auth_rpcgss rpcsec_gss_krb5)
493 endef
494
495 define KernelPackage/fs-nfs-common-rpcsec/description
496 Kernel modules for NFS Secure RPC
497 endef
498
499 $(eval $(call KernelPackage,fs-nfs-common-rpcsec))
500
501
502 define KernelPackage/fs-nfs-v3
503 SUBMENU:=$(FS_MENU)
504 TITLE:=NFS3 filesystem client support
505 DEPENDS:=+kmod-fs-nfs
506 FILES:= \
507 $(LINUX_DIR)/fs/nfs/nfsv3.ko
508 AUTOLOAD:=$(call AutoLoad,41,nfsv3)
509 endef
510
511 define KernelPackage/fs-nfs-v3/description
512 Kernel module for NFS v3 client support
513 endef
514
515 $(eval $(call KernelPackage,fs-nfs-v3))
516
517
518 define KernelPackage/fs-nfs-v4
519 SUBMENU:=$(FS_MENU)
520 TITLE:=NFS4 filesystem client support
521 DEPENDS:=+kmod-fs-nfs
522 KCONFIG:= \
523 CONFIG_NFS_V4=y
524 FILES:= \
525 $(LINUX_DIR)/fs/nfs/nfsv4.ko
526 AUTOLOAD:=$(call AutoLoad,41,nfsv4)
527 endef
528
529 define KernelPackage/fs-nfs-v4/description
530 Kernel module for NFS v4 client support
531 endef
532
533 $(eval $(call KernelPackage,fs-nfs-v4))
534
535
536 define KernelPackage/fs-nfsd
537 SUBMENU:=$(FS_MENU)
538 TITLE:=NFS kernel server support
539 DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs +kmod-fs-nfs-common-rpcsec
540 KCONFIG:= \
541 CONFIG_NFSD \
542 CONFIG_NFSD_V4=y \
543 CONFIG_NFSD_V4_SECURITY_LABEL=n \
544 CONFIG_NFSD_BLOCKLAYOUT=n \
545 CONFIG_NFSD_SCSILAYOUT=n \
546 CONFIG_NFSD_FLEXFILELAYOUT=n \
547 CONFIG_NFSD_FAULT_INJECTION=n \
548 CONFIG_NFSD_V4_2_INTER_SSC=n
549 FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
550 AUTOLOAD:=$(call AutoLoad,40,nfsd)
551 endef
552
553 define KernelPackage/fs-nfsd/description
554 Kernel module for NFS kernel server support
555 endef
556
557 $(eval $(call KernelPackage,fs-nfsd))
558
559
560 define KernelPackage/fs-ntfs
561 SUBMENU:=$(FS_MENU)
562 TITLE:=NTFS filesystem read-only (old driver) support
563 KCONFIG:=CONFIG_NTFS_FS
564 FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.ko
565 AUTOLOAD:=$(call AutoLoad,30,ntfs)
566 $(call AddDepends/nls)
567 endef
568
569 define KernelPackage/fs-ntfs/description
570 Kernel module for limited NTFS filesystem support. Support for writing
571 is extremely limited and disabled as a result.
572 endef
573
574 $(eval $(call KernelPackage,fs-ntfs))
575
576
577 define KernelPackage/fs-ntfs3
578 SUBMENU:=$(FS_MENU)
579 TITLE:=NTFS filesystem read & write (new driver) support
580 KCONFIG:= CONFIG_NTFS3_FS CONFIG_NTFS3_FS_POSIX_ACL=y
581 FILES:=$(LINUX_DIR)/fs/ntfs3/ntfs3.ko
582 $(call AddDepends/nls)
583 AUTOLOAD:=$(call AutoLoad,80,ntfs3)
584 endef
585
586 define KernelPackage/fs-ntfs3/description
587 Kernel module for fully functional NTFS filesystem support. It allows
588 reading as well as writing.
589
590 It supports NTFS versions up to 3.1.
591 endef
592
593 $(eval $(call KernelPackage,fs-ntfs3))
594
595
596 define KernelPackage/fs-reiserfs
597 SUBMENU:=$(FS_MENU)
598 TITLE:=ReiserFS filesystem support
599 KCONFIG:=CONFIG_REISERFS_FS
600 FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.ko
601 AUTOLOAD:=$(call AutoLoad,30,reiserfs,1)
602 endef
603
604 define KernelPackage/fs-reiserfs/description
605 Kernel module for ReiserFS support
606 endef
607
608 $(eval $(call KernelPackage,fs-reiserfs))
609
610
611 define KernelPackage/fs-squashfs
612 SUBMENU:=$(FS_MENU)
613 TITLE:=SquashFS 4.0 filesystem support
614 KCONFIG:=CONFIG_SQUASHFS \
615 CONFIG_SQUASHFS_XZ=y
616 FILES:=$(LINUX_DIR)/fs/squashfs/squashfs.ko
617 AUTOLOAD:=$(call AutoLoad,30,squashfs,1)
618 endef
619
620 define KernelPackage/fs-squashfs/description
621 Kernel module for SquashFS 4.0 support
622 endef
623
624 $(eval $(call KernelPackage,fs-squashfs))
625
626
627 define KernelPackage/fs-udf
628 SUBMENU:=$(FS_MENU)
629 TITLE:=UDF filesystem support
630 KCONFIG:=CONFIG_UDF_FS
631 FILES:=$(LINUX_DIR)/fs/udf/udf.ko
632 AUTOLOAD:=$(call AutoLoad,30,udf)
633 DEPENDS:=+kmod-lib-crc-itu-t +kmod-cdrom
634 $(call AddDepends/nls)
635 endef
636
637 define KernelPackage/fs-udf/description
638 Kernel module for UDF filesystem support
639 endef
640
641 $(eval $(call KernelPackage,fs-udf))
642
643
644 define KernelPackage/fs-vfat
645 SUBMENU:=$(FS_MENU)
646 TITLE:=VFAT filesystem support
647 KCONFIG:= \
648 CONFIG_FAT_FS \
649 CONFIG_VFAT_FS
650 FILES:= \
651 $(LINUX_DIR)/fs/fat/fat.ko \
652 $(LINUX_DIR)/fs/fat/vfat.ko
653 AUTOLOAD:=$(call AutoLoad,30,fat vfat,1)
654 $(call AddDepends/nls,cp437 iso8859-1 utf8)
655 endef
656
657 define KernelPackage/fs-vfat/description
658 Kernel module for VFAT filesystem support
659 endef
660
661 $(eval $(call KernelPackage,fs-vfat))
662
663
664 define KernelPackage/fs-xfs
665 SUBMENU:=$(FS_MENU)
666 TITLE:=XFS filesystem support
667 KCONFIG:=CONFIG_XFS_FS
668 DEPENDS:= +kmod-fs-exportfs +kmod-lib-crc32c
669 FILES:=$(LINUX_DIR)/fs/xfs/xfs.ko
670 AUTOLOAD:=$(call AutoLoad,30,xfs,1)
671 endef
672
673 define KernelPackage/fs-xfs/description
674 Kernel module for XFS support
675 endef
676
677 $(eval $(call KernelPackage,fs-xfs))
678
679
680 define KernelPackage/fuse
681 SUBMENU:=$(FS_MENU)
682 TITLE:=FUSE (Filesystem in Userspace) support
683 KCONFIG:= CONFIG_FUSE_FS
684 FILES:=$(LINUX_DIR)/fs/fuse/fuse.ko
685 AUTOLOAD:=$(call AutoLoad,80,fuse)
686 endef
687
688 define KernelPackage/fuse/description
689 Kernel module for userspace filesystem support
690 endef
691
692 $(eval $(call KernelPackage,fuse))
693
694
695 define KernelPackage/pstore
696 SUBMENU:=$(FS_MENU)
697 TITLE:=Pstore file system
698 DEFAULT:=m if ALL_KMODS
699 KCONFIG:= \
700 CONFIG_PSTORE \
701 CONFIG_PSTORE_COMPRESS=y \
702 CONFIG_PSTORE_COMPRESS_DEFAULT="deflate" \
703 CONFIG_PSTORE_DEFLATE_COMPRESS=y \
704 CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT=y
705 FILES:= $(LINUX_DIR)/fs/pstore/pstore.ko
706 AUTOLOAD:=$(call AutoLoad,30,pstore,1)
707 endef
708
709 define KernelPackage/pstore/description
710 Kernel module for pstore filesystem support
711 endef
712
713 $(eval $(call KernelPackage,pstore))