f2acaa74398458a69ce2dbc2bfdf19465c492291
[openwrt/staging/robimarko.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-md4 \
363 +kmod-crypto-md5 \
364 +kmod-crypto-hmac \
365 +kmod-crypto-ecb \
366 +kmod-crypto-des \
367 +kmod-crypto-sha256 \
368 +kmod-crypto-cmac \
369 +kmod-crypto-sha512 \
370 +kmod-crypto-aead \
371 +kmod-crypto-ccm \
372 +kmod-crypto-gcm \
373 +kmod-asn1-decoder \
374 +kmod-oid-registry \
375 +kmod-fs-smbfs-common
376 KCONFIG:= \
377 CONFIG_SMB_SERVER \
378 CONFIG_SMB_SERVER_SMBDIRECT=n \
379 CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN=n \
380 CONFIG_SMB_SERVER_KERBEROS5=n
381 FILES:= \
382 $(LINUX_DIR)/fs/ksmbd/ksmbd.ko@lt6.1 \
383 $(LINUX_DIR)/fs/smb/server/ksmbd.ko@ge6.1
384 AUTOLOAD:=$(call AutoLoad,41,ksmbd)
385 endef
386
387 define KernelPackage/fs-ksmbd/description
388 Kernel module for SMB kernel server support
389 endef
390
391 $(eval $(call KernelPackage,fs-ksmbd))
392
393
394 define KernelPackage/fs-minix
395 SUBMENU:=$(FS_MENU)
396 TITLE:=Minix filesystem support
397 KCONFIG:=CONFIG_MINIX_FS
398 FILES:=$(LINUX_DIR)/fs/minix/minix.ko
399 AUTOLOAD:=$(call AutoLoad,30,minix)
400 endef
401
402 define KernelPackage/fs-minix/description
403 Kernel module for Minix filesystem support
404 endef
405
406 $(eval $(call KernelPackage,fs-minix))
407
408
409 define KernelPackage/fs-msdos
410 SUBMENU:=$(FS_MENU)
411 TITLE:=MSDOS filesystem support
412 DEPENDS:=+kmod-fs-vfat
413 KCONFIG:=CONFIG_MSDOS_FS
414 FILES:=$(LINUX_DIR)/fs/fat/msdos.ko
415 AUTOLOAD:=$(call AutoLoad,40,msdos)
416 $(call AddDepends/nls)
417 endef
418
419 define KernelPackage/fs-msdos/description
420 Kernel module for MSDOS filesystem support
421 endef
422
423 $(eval $(call KernelPackage,fs-msdos))
424
425
426 define KernelPackage/fs-netfs
427 SUBMENU:=$(FS_MENU)
428 TITLE:=Network Filesystems support
429 KCONFIG:= CONFIG_NETFS_SUPPORT
430 FILES:=$(LINUX_DIR)/fs/netfs/netfs.ko
431 AUTOLOAD:=$(call AutoLoad,28,netfs)
432 endef
433
434 $(eval $(call KernelPackage,fs-netfs))
435
436
437 define KernelPackage/fs-nfs
438 SUBMENU:=$(FS_MENU)
439 TITLE:=NFS filesystem client support
440 DEPENDS:=+kmod-fs-nfs-common +kmod-dnsresolver
441 KCONFIG:= \
442 CONFIG_NFS_FS \
443 CONFIG_NFS_USE_LEGACY_DNS=n \
444 CONFIG_NFS_USE_NEW_IDMAPPER=n
445 FILES:= \
446 $(LINUX_DIR)/fs/nfs/nfs.ko
447 AUTOLOAD:=$(call AutoLoad,40,nfs)
448 endef
449
450 define KernelPackage/fs-nfs/description
451 Kernel module for NFS client support
452 endef
453
454 $(eval $(call KernelPackage,fs-nfs))
455
456
457 define KernelPackage/fs-nfs-common
458 SUBMENU:=$(FS_MENU)
459 TITLE:=Common NFS filesystem modules
460 DEPENDS:=+kmod-oid-registry
461 KCONFIG:= \
462 CONFIG_LOCKD \
463 CONFIG_SUNRPC \
464 CONFIG_GRACE_PERIOD \
465 CONFIG_NFS_V4=y \
466 CONFIG_NFS_V4_1=y \
467 CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org" \
468 CONFIG_NFS_V4_1_MIGRATION=n \
469 CONFIG_NFS_V4_2=y \
470 CONFIG_NFS_V4_2_READ_PLUS=n
471 FILES:= \
472 $(LINUX_DIR)/fs/lockd/lockd.ko \
473 $(LINUX_DIR)/net/sunrpc/sunrpc.ko \
474 $(LINUX_DIR)/fs/nfs_common/grace.ko \
475 $(LINUX_DIR)/fs/nfs_common/nfs_ssc.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 endef
717
718 define KernelPackage/pstore/description
719 Kernel module for pstore filesystem support
720 endef
721
722 $(eval $(call KernelPackage,pstore))