librecmc : Bump to v1.5.15
[librecmc/librecmc.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/autofs4/autofs4.ko@lt4.18 \
57         $(LINUX_DIR)/fs/autofs/autofs4.ko@ge4.18
58   AUTOLOAD:=$(call AutoLoad,30,autofs4)
59 endef
60
61 define KernelPackage/fs-autofs4/description
62  Kernel module for AutoFS4 support
63 endef
64
65 $(eval $(call KernelPackage,fs-autofs4))
66
67
68 define KernelPackage/fs-btrfs
69   SUBMENU:=$(FS_MENU)
70   TITLE:=BTRFS filesystem support
71   DEPENDS:=+kmod-lib-crc32c +kmod-lib-lzo +kmod-lib-zlib-inflate +kmod-lib-zlib-deflate +kmod-lib-raid6 +kmod-lib-xor +!LINUX_4_9:kmod-lib-zstd
72   KCONFIG:=\
73         CONFIG_BTRFS_FS \
74         CONFIG_BTRFS_FS_POSIX_ACL=n \
75         CONFIG_BTRFS_FS_CHECK_INTEGRITY=n
76   FILES:=\
77         $(LINUX_DIR)/fs/btrfs/btrfs.ko
78   AUTOLOAD:=$(call AutoLoad,30,btrfs,1)
79 endef
80
81 define KernelPackage/fs-btrfs/description
82  Kernel module for BTRFS support
83 endef
84
85 $(eval $(call KernelPackage,fs-btrfs))
86
87
88 define KernelPackage/fs-cifs
89   SUBMENU:=$(FS_MENU)
90   TITLE:=CIFS support
91   KCONFIG:= \
92         CONFIG_CIFS \
93         CONFIG_CIFS_XATTR=y \
94         CONFIG_CIFS_DFS_UPCALL=n \
95         CONFIG_CIFS_UPCALL=n \
96         CONFIG_CIFS_SMB311=n
97   FILES:=$(LINUX_DIR)/fs/cifs/cifs.ko
98   AUTOLOAD:=$(call AutoLoad,30,cifs)
99   $(call AddDepends/nls)
100   DEPENDS+= \
101     +kmod-crypto-hmac \
102     +kmod-crypto-md5 \
103     +kmod-crypto-md4 \
104     +kmod-crypto-des \
105     +kmod-crypto-ecb \
106     +kmod-crypto-sha256
107 endef
108
109 define KernelPackage/fs-cifs/description
110  Kernel module for CIFS support
111 endef
112
113 $(eval $(call KernelPackage,fs-cifs))
114
115
116 define KernelPackage/fs-configfs
117   SUBMENU:=$(FS_MENU)
118   TITLE:=Configuration filesystem support
119   KCONFIG:= \
120         CONFIG_CONFIGFS_FS
121   FILES:=$(LINUX_DIR)/fs/configfs/configfs.ko
122   AUTOLOAD:=$(call AutoLoad,30,configfs)
123 endef
124
125 define KernelPackage/fs-configfs/description
126  Kernel module for configfs support
127 endef
128
129 $(eval $(call KernelPackage,fs-configfs))
130
131
132 define KernelPackage/fs-cramfs
133   SUBMENU:=$(FS_MENU)
134   TITLE:=Compressed RAM/ROM filesystem support
135   DEPENDS:=+kmod-lib-zlib-inflate
136   KCONFIG:= \
137         CONFIG_CRAMFS
138   FILES:=$(LINUX_DIR)/fs/cramfs/cramfs.ko
139   AUTOLOAD:=$(call AutoLoad,30,cramfs)
140 endef
141
142 define KernelPackage/fs-cramfs/description
143  Kernel module for cramfs support
144 endef
145
146 $(eval $(call KernelPackage,fs-cramfs))
147
148
149 define KernelPackage/fs-efivarfs
150   SUBMENU:=$(FS_MENU)
151   TITLE:=efivar filesystem support
152   KCONFIG:=CONFIG_EFIVAR_FS
153   FILES:=$(LINUX_DIR)/fs/efivarfs/efivarfs.ko
154   DEPENDS:=@(x86_64||x86)
155   AUTOLOAD:=$(call Autoload,90,efivarfs)
156 endef
157
158 define KernelPackage/fs-efivarfs/description
159   Kernel module to support efivarfs file system mountpoint.
160 endef
161
162 $(eval $(call KernelPackage,fs-efivarfs))
163
164
165 define KernelPackage/fs-exportfs
166   SUBMENU:=$(FS_MENU)
167   TITLE:=exportfs kernel server support
168   KCONFIG:=CONFIG_EXPORTFS
169   FILES=$(LINUX_DIR)/fs/exportfs/exportfs.ko
170   AUTOLOAD:=$(call AutoLoad,20,exportfs,1)
171 endef
172
173 define KernelPackage/fs-exportfs/description
174  Kernel module for exportfs. Needed for some other modules.
175 endef
176
177 $(eval $(call KernelPackage,fs-exportfs))
178
179
180 define KernelPackage/fs-ext4
181   SUBMENU:=$(FS_MENU)
182   TITLE:=EXT4 filesystem support
183   DEPENDS := \
184     +kmod-lib-crc16 \
185     +kmod-crypto-hash \
186     +kmod-crypto-crc32c
187   KCONFIG:= \
188         CONFIG_EXT4_FS \
189         CONFIG_EXT4_ENCRYPTION=n \
190         CONFIG_JBD2
191   FILES:= \
192         $(LINUX_DIR)/fs/ext4/ext4.ko \
193         $(LINUX_DIR)/fs/jbd2/jbd2.ko \
194         $(LINUX_DIR)/fs/mbcache.ko
195   AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1)
196 endef
197
198 define KernelPackage/fs-ext4/description
199  Kernel module for EXT4 filesystem support
200 endef
201
202 $(eval $(call KernelPackage,fs-ext4))
203
204
205 define KernelPackage/fs-f2fs
206   SUBMENU:=$(FS_MENU)
207   TITLE:=F2FS filesystem support
208   DEPENDS:= +kmod-crypto-hash +kmod-crypto-crc32
209   KCONFIG:= \
210         CONFIG_F2FS_FS \
211         CONFIG_F2FS_STAT_FS=y \
212         CONFIG_F2FS_FS_XATTR=y \
213         CONFIG_F2FS_FS_POSIX_ACL=n \
214         CONFIG_F2FS_FS_SECURITY=n \
215         CONFIG_F2FS_CHECK_FS=n
216   FILES:=$(LINUX_DIR)/fs/f2fs/f2fs.ko
217   AUTOLOAD:=$(call AutoLoad,30,f2fs,1)
218 endef
219
220 define KernelPackage/fs-f2fs/description
221  Kernel module for F2FS filesystem support
222 endef
223
224 $(eval $(call KernelPackage,fs-f2fs))
225
226
227 define KernelPackage/fs-fscache
228   SUBMENU:=$(FS_MENU)
229   TITLE:=General filesystem local cache manager
230   DEPENDS:=
231   KCONFIG:=\
232         CONFIG_FSCACHE=m \
233         CONFIG_FSCACHE_STATS=y \
234         CONFIG_FSCACHE_HISTOGRAM=n \
235         CONFIG_FSCACHE_DEBUG=n \
236         CONFIG_FSCACHE_OBJECT_LIST=n \
237         CONFIG_CACHEFILES=y \
238         CONFIG_CACHEFILES_DEBUG=n \
239         CONFIG_CACHEFILES_HISTOGRAM=n
240   FILES:=$(LINUX_DIR)/fs/fscache/fscache.ko
241   AUTOLOAD:=$(call AutoLoad,29,fscache)
242 endef
243
244 $(eval $(call KernelPackage,fs-fscache))
245
246
247 define KernelPackage/fs-hfs
248   SUBMENU:=$(FS_MENU)
249   TITLE:=HFS filesystem support
250   KCONFIG:=CONFIG_HFS_FS
251   FILES:=$(LINUX_DIR)/fs/hfs/hfs.ko
252   AUTOLOAD:=$(call AutoLoad,30,hfs)
253   $(call AddDepends/nls)
254 endef
255
256 define KernelPackage/fs-hfs/description
257  Kernel module for HFS filesystem support
258 endef
259
260 $(eval $(call KernelPackage,fs-hfs))
261
262
263 define KernelPackage/fs-hfsplus
264   SUBMENU:=$(FS_MENU)
265   TITLE:=HFS+ filesystem support
266   KCONFIG:=CONFIG_HFSPLUS_FS
267   FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.ko
268   AUTOLOAD:=$(call AutoLoad,30,hfsplus)
269   $(call AddDepends/nls,utf8)
270 endef
271
272 define KernelPackage/fs-hfsplus/description
273  Kernel module for HFS+ filesystem support
274 endef
275
276 $(eval $(call KernelPackage,fs-hfsplus))
277
278
279 define KernelPackage/fs-isofs
280   SUBMENU:=$(FS_MENU)
281   TITLE:=ISO9660 filesystem support
282   DEPENDS:=+kmod-lib-zlib-inflate
283   KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
284   FILES:=$(LINUX_DIR)/fs/isofs/isofs.ko
285   AUTOLOAD:=$(call AutoLoad,30,isofs)
286   $(call AddDepends/nls)
287 endef
288
289 define KernelPackage/fs-isofs/description
290  Kernel module for ISO9660 filesystem support
291 endef
292
293 $(eval $(call KernelPackage,fs-isofs))
294
295
296 define KernelPackage/fs-jfs
297   SUBMENU:=$(FS_MENU)
298   TITLE:=JFS filesystem support
299   KCONFIG:=CONFIG_JFS_FS
300   FILES:=$(LINUX_DIR)/fs/jfs/jfs.ko
301   AUTOLOAD:=$(call AutoLoad,30,jfs,1)
302   $(call AddDepends/nls)
303 endef
304
305 define KernelPackage/fs-jfs/description
306  Kernel module for JFS support
307 endef
308
309 $(eval $(call KernelPackage,fs-jfs))
310
311 define KernelPackage/fs-minix
312   SUBMENU:=$(FS_MENU)
313   TITLE:=Minix filesystem support
314   KCONFIG:=CONFIG_MINIX_FS
315   FILES:=$(LINUX_DIR)/fs/minix/minix.ko
316   AUTOLOAD:=$(call AutoLoad,30,minix)
317 endef
318
319 define KernelPackage/fs-minix/description
320  Kernel module for Minix filesystem support
321 endef
322
323 $(eval $(call KernelPackage,fs-minix))
324
325
326 define KernelPackage/fs-msdos
327   SUBMENU:=$(FS_MENU)
328   TITLE:=MSDOS filesystem support
329   DEPENDS:=+kmod-fs-vfat
330   KCONFIG:=CONFIG_MSDOS_FS
331   FILES:=$(LINUX_DIR)/fs/fat/msdos.ko
332   AUTOLOAD:=$(call AutoLoad,40,msdos)
333   $(call AddDepends/nls)
334 endef
335
336 define KernelPackage/fs-msdos/description
337  Kernel module for MSDOS filesystem support
338 endef
339
340 $(eval $(call KernelPackage,fs-msdos))
341
342
343 define KernelPackage/fs-nfs
344   SUBMENU:=$(FS_MENU)
345   TITLE:=NFS filesystem client support
346   DEPENDS:=+kmod-fs-nfs-common +kmod-dnsresolver
347   KCONFIG:= \
348         CONFIG_NFS_FS \
349         CONFIG_NFS_USE_LEGACY_DNS=n \
350         CONFIG_NFS_USE_NEW_IDMAPPER=n
351   FILES:= \
352         $(LINUX_DIR)/fs/nfs/nfs.ko
353   AUTOLOAD:=$(call AutoLoad,40,nfs)
354 endef
355
356 define KernelPackage/fs-nfs/description
357  Kernel module for NFS client support
358 endef
359
360 $(eval $(call KernelPackage,fs-nfs))
361
362
363 define KernelPackage/fs-nfs-common
364   SUBMENU:=$(FS_MENU)
365   TITLE:=Common NFS filesystem modules
366   KCONFIG:= \
367         CONFIG_LOCKD \
368         CONFIG_SUNRPC \
369         CONFIG_GRACE_PERIOD
370   FILES:= \
371         $(LINUX_DIR)/fs/lockd/lockd.ko \
372         $(LINUX_DIR)/net/sunrpc/sunrpc.ko \
373         $(LINUX_DIR)/fs/nfs_common/grace.ko
374   AUTOLOAD:=$(call AutoLoad,30,grace sunrpc lockd)
375 endef
376
377 $(eval $(call KernelPackage,fs-nfs-common))
378
379
380 define KernelPackage/fs-nfs-common-rpcsec
381   SUBMENU:=$(FS_MENU)
382   TITLE:=NFS Secure RPC
383   DEPENDS:= \
384         +kmod-fs-nfs-common \
385         +kmod-crypto-des \
386         +kmod-crypto-cbc \
387         +kmod-crypto-cts \
388         +kmod-crypto-md5 \
389         +kmod-crypto-sha1 \
390         +kmod-crypto-hmac \
391         +kmod-crypto-ecb
392   KCONFIG:= \
393         CONFIG_SUNRPC_GSS \
394         CONFIG_RPCSEC_GSS_KRB5
395   FILES:= \
396         $(LINUX_DIR)/lib/oid_registry.ko \
397         $(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko \
398         $(LINUX_DIR)/net/sunrpc/auth_gss/rpcsec_gss_krb5.ko
399   AUTOLOAD:=$(call AutoLoad,31,oid_registry auth_rpcgss rpcsec_gss_krb5)
400 endef
401
402 define KernelPackage/fs-nfs-common-rpcsec/description
403  Kernel modules for NFS Secure RPC
404 endef
405
406 $(eval $(call KernelPackage,fs-nfs-common-rpcsec))
407
408
409 define KernelPackage/fs-nfs-v3
410   SUBMENU:=$(FS_MENU)
411   TITLE:=NFS3 filesystem client support
412   DEPENDS:=+kmod-fs-nfs
413   FILES:= \
414         $(LINUX_DIR)/fs/nfs/nfsv3.ko
415   AUTOLOAD:=$(call AutoLoad,41,nfsv3)
416 endef
417
418 define KernelPackage/fs-nfs-v3/description
419  Kernel module for NFS v3 client support
420 endef
421
422 $(eval $(call KernelPackage,fs-nfs-v3))
423
424
425 define KernelPackage/fs-nfs-v4
426   SUBMENU:=$(FS_MENU)
427   TITLE:=NFS4 filesystem client support
428   DEPENDS:=+kmod-fs-nfs
429   KCONFIG:= \
430         CONFIG_NFS_V4=y
431   FILES:= \
432         $(LINUX_DIR)/fs/nfs/nfsv4.ko
433   AUTOLOAD:=$(call AutoLoad,41,nfsv4)
434 endef
435
436 define KernelPackage/fs-nfs-v4/description
437  Kernel module for NFS v4 support
438 endef
439
440 $(eval $(call KernelPackage,fs-nfs-v4))
441
442
443 define KernelPackage/fs-nfsd
444   SUBMENU:=$(FS_MENU)
445   TITLE:=NFS kernel server support
446   DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs +kmod-fs-nfs-common-rpcsec
447   KCONFIG:= \
448         CONFIG_NFSD \
449         CONFIG_NFSD_V4=y \
450         CONFIG_NFSD_V4_SECURITY_LABEL=n \
451         CONFIG_NFSD_BLOCKLAYOUT=n \
452         CONFIG_NFSD_SCSILAYOUT=n \
453         CONFIG_NFSD_FLEXFILELAYOUT=n \
454         CONFIG_NFSD_FAULT_INJECTION=n
455   FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
456   AUTOLOAD:=$(call AutoLoad,40,nfsd)
457 endef
458
459 define KernelPackage/fs-nfsd/description
460  Kernel module for NFS kernel server support
461 endef
462
463 $(eval $(call KernelPackage,fs-nfsd))
464
465
466 define KernelPackage/fs-ntfs
467   SUBMENU:=$(FS_MENU)
468   TITLE:=NTFS filesystem support
469   KCONFIG:=CONFIG_NTFS_FS
470   FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.ko
471   AUTOLOAD:=$(call AutoLoad,30,ntfs)
472   $(call AddDepends/nls)
473 endef
474
475 define KernelPackage/fs-ntfs/description
476  Kernel module for NTFS filesystem support
477 endef
478
479 $(eval $(call KernelPackage,fs-ntfs))
480
481
482 define KernelPackage/fs-reiserfs
483   SUBMENU:=$(FS_MENU)
484   TITLE:=ReiserFS filesystem support
485   KCONFIG:=CONFIG_REISERFS_FS \
486         CONFIG_REISERFS_FS_XATTR=y
487   FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.ko
488   AUTOLOAD:=$(call AutoLoad,30,reiserfs,1)
489 endef
490
491 define KernelPackage/fs-reiserfs/description
492  Kernel module for ReiserFS support
493 endef
494
495 $(eval $(call KernelPackage,fs-reiserfs))
496
497
498 define KernelPackage/fs-squashfs
499   SUBMENU:=$(FS_MENU)
500   TITLE:=SquashFS 4.0 filesystem support
501   KCONFIG:=CONFIG_SQUASHFS \
502         CONFIG_SQUASHFS_XZ=y
503   FILES:=$(LINUX_DIR)/fs/squashfs/squashfs.ko
504   AUTOLOAD:=$(call AutoLoad,30,squashfs,1)
505 endef
506
507 define KernelPackage/fs-squashfs/description
508  Kernel module for SquashFS 4.0 support
509 endef
510
511 $(eval $(call KernelPackage,fs-squashfs))
512
513
514 define KernelPackage/fs-udf
515   SUBMENU:=$(FS_MENU)
516   TITLE:=UDF filesystem support
517   KCONFIG:=CONFIG_UDF_FS
518   FILES:=$(LINUX_DIR)/fs/udf/udf.ko
519   AUTOLOAD:=$(call AutoLoad,30,udf)
520   DEPENDS:=+kmod-lib-crc-itu-t
521   $(call AddDepends/nls)
522 endef
523
524 define KernelPackage/fs-udf/description
525  Kernel module for UDF filesystem support
526 endef
527
528 $(eval $(call KernelPackage,fs-udf))
529
530
531 define KernelPackage/fs-vfat
532   SUBMENU:=$(FS_MENU)
533   TITLE:=VFAT filesystem support
534   KCONFIG:= \
535         CONFIG_FAT_FS \
536         CONFIG_VFAT_FS
537   FILES:= \
538         $(LINUX_DIR)/fs/fat/fat.ko \
539         $(LINUX_DIR)/fs/fat/vfat.ko
540   AUTOLOAD:=$(call AutoLoad,30,fat vfat)
541   $(call AddDepends/nls,cp437 iso8859-1 utf8)
542 endef
543
544 define KernelPackage/fs-vfat/description
545  Kernel module for VFAT filesystem support
546 endef
547
548 $(eval $(call KernelPackage,fs-vfat))
549
550
551 define KernelPackage/fs-xfs
552   SUBMENU:=$(FS_MENU)
553   TITLE:=XFS filesystem support
554   KCONFIG:=CONFIG_XFS_FS
555   DEPENDS:= +kmod-fs-exportfs +kmod-lib-crc32c
556   FILES:=$(LINUX_DIR)/fs/xfs/xfs.ko
557   AUTOLOAD:=$(call AutoLoad,30,xfs,1)
558 endef
559
560 define KernelPackage/fs-xfs/description
561  Kernel module for XFS support
562 endef
563
564 $(eval $(call KernelPackage,fs-xfs))
565
566
567 define KernelPackage/fuse
568   SUBMENU:=$(FS_MENU)
569   TITLE:=FUSE (Filesystem in Userspace) support
570   KCONFIG:= CONFIG_FUSE_FS
571   FILES:=$(LINUX_DIR)/fs/fuse/fuse.ko
572   AUTOLOAD:=$(call AutoLoad,80,fuse)
573 endef
574
575 define KernelPackage/fuse/description
576  Kernel module for userspace filesystem support
577 endef
578
579 $(eval $(call KernelPackage,fuse))