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