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