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