2 # Copyright (C) 2006-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
10 define KernelPackage/fs-fscache
12 TITLE:=General filesystem local cache manager
16 CONFIG_FSCACHE_STATS=y \
17 CONFIG_FSCACHE_HISTOGRAM=n \
18 CONFIG_FSCACHE_DEBUG=n \
19 CONFIG_FSCACHE_OBJECT_LIST=n \
21 CONFIG_CACHEFILES_DEBUG=n \
22 CONFIG_CACHEFILES_HISTOGRAM=n
23 FILES:=$(LINUX_DIR)/fs/fscache/fscache.ko
24 AUTOLOAD:=$(call AutoLoad,29,fscache)
27 $(eval $(call KernelPackage,fs-fscache))
29 define KernelPackage/fs-9p
31 TITLE:=Plan 9 Resource Sharing Support
35 CONFIG_9P_FS_POSIX_ACL=n \
36 CONFIG_9P_FS_SECURITY=n \
38 FILES:=$(LINUX_DIR)/fs/9p/9p.ko
39 AUTOLOAD:=$(call AutoLoad,30,9p)
42 define KernelPackage/fs-9p/description
43 Kernel module for Plan 9 Resource Sharing Support support
46 $(eval $(call KernelPackage,fs-9p))
48 define KernelPackage/fs-afs
50 TITLE:=Andrew FileSystem client
52 DEPENDS:=+kmod-rxrpc +kmod-dnsresolver +kmod-fs-fscache
57 FILES:=$(LINUX_DIR)/fs/afs/kafs.ko
58 AUTOLOAD:=$(call AutoLoad,30,kafs)
61 define KernelPackage/fs-afs/description
62 Kernel module for Andrew FileSystem client support
65 $(eval $(call KernelPackage,fs-afs))
67 define KernelPackage/fs-autofs4
69 TITLE:=AUTOFS4 filesystem support
70 KCONFIG:=CONFIG_AUTOFS4_FS
71 FILES:=$(LINUX_DIR)/fs/autofs4/autofs4.ko
72 AUTOLOAD:=$(call AutoLoad,30,autofs4)
75 define KernelPackage/fs-autofs4/description
76 Kernel module for AutoFS4 support
79 $(eval $(call KernelPackage,fs-autofs4))
82 define KernelPackage/fs-btrfs
84 TITLE:=BTRFS filesystem support
85 DEPENDS:=+kmod-lib-crc32c +kmod-lib-lzo +kmod-lib-zlib-inflate +kmod-lib-zlib-deflate +kmod-lib-raid6 +kmod-lib-xor
88 CONFIG_BTRFS_FS_POSIX_ACL=n \
89 CONFIG_BTRFS_FS_CHECK_INTEGRITY=n
91 $(LINUX_DIR)/fs/btrfs/btrfs.ko
92 AUTOLOAD:=$(call AutoLoad,30,btrfs,1)
95 define KernelPackage/fs-btrfs/description
96 Kernel module for BTRFS support
99 $(eval $(call KernelPackage,fs-btrfs))
102 define KernelPackage/fs-cifs
107 CONFIG_CIFS_XATTR=y \
108 CONFIG_CIFS_DFS_UPCALL=n \
110 FILES:=$(LINUX_DIR)/fs/cifs/cifs.ko
111 AUTOLOAD:=$(call AutoLoad,30,cifs)
112 $(call AddDepends/nls)
122 define KernelPackage/fs-cifs/description
123 Kernel module for CIFS support
126 $(eval $(call KernelPackage,fs-cifs))
129 define KernelPackage/fs-configfs
131 TITLE:=Configuration filesystem support
134 FILES:=$(LINUX_DIR)/fs/configfs/configfs.ko
135 AUTOLOAD:=$(call AutoLoad,30,configfs)
138 define KernelPackage/fs-configfs/description
139 Kernel module for configfs support
142 $(eval $(call KernelPackage,fs-configfs))
144 define KernelPackage/fs-cramfs
146 TITLE:=Compressed RAM/ROM filesystem support
147 DEPENDS:=+kmod-lib-zlib-inflate
150 FILES:=$(LINUX_DIR)/fs/cramfs/cramfs.ko
151 AUTOLOAD:=$(call AutoLoad,30,cramfs)
154 define KernelPackage/fs-cramfs/description
155 Kernel module for cramfs support
158 $(eval $(call KernelPackage,fs-cramfs))
160 define KernelPackage/fs-exportfs
162 TITLE:=exportfs kernel server support
163 KCONFIG:=CONFIG_EXPORTFS
164 FILES=$(LINUX_DIR)/fs/exportfs/exportfs.ko
165 AUTOLOAD:=$(call AutoLoad,20,exportfs,1)
168 define KernelPackage/fs-exportfs/description
169 Kernel module for exportfs. Needed for some other modules.
172 $(eval $(call KernelPackage,fs-exportfs))
175 define KernelPackage/fs-ext4
177 TITLE:=EXT4 filesystem support
184 CONFIG_EXT4_ENCRYPTION=n \
187 $(LINUX_DIR)/fs/ext4/ext4.ko \
188 $(LINUX_DIR)/fs/jbd2/jbd2.ko \
189 $(LINUX_DIR)/fs/mbcache.ko
190 AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1)
193 define KernelPackage/fs-ext4/description
194 Kernel module for EXT4 filesystem support
197 $(eval $(call KernelPackage,fs-ext4))
200 define KernelPackage/fs-f2fs
202 TITLE:=F2FS filesystem support
205 CONFIG_F2FS_STAT_FS=y \
206 CONFIG_F2FS_FS_XATTR=y \
207 CONFIG_F2FS_FS_POSIX_ACL=n \
208 CONFIG_F2FS_FS_SECURITY=n \
209 CONFIG_F2FS_CHECK_FS=n
210 FILES:=$(LINUX_DIR)/fs/f2fs/f2fs.ko
211 AUTOLOAD:=$(call AutoLoad,30,f2fs,1)
214 define KernelPackage/fs-f2fs/description
215 Kernel module for F2FS filesystem support
218 $(eval $(call KernelPackage,fs-f2fs))
221 define KernelPackage/fuse
223 TITLE:=FUSE (Filesystem in Userspace) support
224 KCONFIG:= CONFIG_FUSE_FS
225 FILES:=$(LINUX_DIR)/fs/fuse/fuse.ko
226 AUTOLOAD:=$(call AutoLoad,80,fuse)
229 define KernelPackage/fuse/description
230 Kernel module for userspace filesystem support
233 $(eval $(call KernelPackage,fuse))
236 define KernelPackage/fs-hfs
238 TITLE:=HFS filesystem support
239 KCONFIG:=CONFIG_HFS_FS
240 FILES:=$(LINUX_DIR)/fs/hfs/hfs.ko
241 AUTOLOAD:=$(call AutoLoad,30,hfs)
242 $(call AddDepends/nls)
245 define KernelPackage/fs-hfs/description
246 Kernel module for HFS filesystem support
249 $(eval $(call KernelPackage,fs-hfs))
252 define KernelPackage/fs-hfsplus
254 TITLE:=HFS+ filesystem support
255 KCONFIG:=CONFIG_HFSPLUS_FS
256 FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.ko
257 AUTOLOAD:=$(call AutoLoad,30,hfsplus)
258 $(call AddDepends/nls,utf8)
261 define KernelPackage/fs-hfsplus/description
262 Kernel module for HFS+ filesystem support
265 $(eval $(call KernelPackage,fs-hfsplus))
268 define KernelPackage/fs-isofs
270 TITLE:=ISO9660 filesystem support
271 DEPENDS:=+kmod-lib-zlib-inflate
272 KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
273 FILES:=$(LINUX_DIR)/fs/isofs/isofs.ko
274 AUTOLOAD:=$(call AutoLoad,30,isofs)
275 $(call AddDepends/nls)
278 define KernelPackage/fs-isofs/description
279 Kernel module for ISO9660 filesystem support
282 $(eval $(call KernelPackage,fs-isofs))
285 define KernelPackage/fs-minix
287 TITLE:=Minix filesystem support
288 KCONFIG:=CONFIG_MINIX_FS
289 FILES:=$(LINUX_DIR)/fs/minix/minix.ko
290 AUTOLOAD:=$(call AutoLoad,30,minix)
293 define KernelPackage/fs-minix/description
294 Kernel module for Minix filesystem support
297 $(eval $(call KernelPackage,fs-minix))
300 define KernelPackage/fs-msdos
302 TITLE:=MSDOS filesystem support
303 DEPENDS:=+kmod-fs-vfat
304 KCONFIG:=CONFIG_MSDOS_FS
305 FILES:=$(LINUX_DIR)/fs/fat/msdos.ko
306 AUTOLOAD:=$(call AutoLoad,40,msdos)
307 $(call AddDepends/nls)
310 define KernelPackage/fs-msdos/description
311 Kernel module for MSDOS filesystem support
314 $(eval $(call KernelPackage,fs-msdos))
317 define KernelPackage/fs-nfs
319 TITLE:=NFS filesystem support
320 DEPENDS:=+kmod-fs-nfs-common +kmod-dnsresolver
323 CONFIG_NFS_USE_LEGACY_DNS=n \
324 CONFIG_NFS_USE_NEW_IDMAPPER=n
326 $(LINUX_DIR)/fs/nfs/nfs.ko \
327 $(LINUX_DIR)/fs/nfs/nfsv3.ko
328 AUTOLOAD:=$(call AutoLoad,40,nfs nfsv3)
331 define KernelPackage/fs-nfs/description
332 Kernel module for NFS support
335 $(eval $(call KernelPackage,fs-nfs))
338 define KernelPackage/fs-nfs-common
340 TITLE:=Common NFS filesystem modules
346 $(LINUX_DIR)/fs/lockd/lockd.ko \
347 $(LINUX_DIR)/net/sunrpc/sunrpc.ko \
348 $(LINUX_DIR)/fs/nfs_common/grace.ko
349 AUTOLOAD:=$(call AutoLoad,30,grace sunrpc lockd)
352 $(eval $(call KernelPackage,fs-nfs-common))
355 define KernelPackage/fs-nfs-common-v4
357 TITLE:=Common NFS V4 filesystem modules
363 FILES+=$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko
364 AUTOLOAD=$(call AutoLoad,30,auth_rpcgss)
367 define KernelPackage/fs-nfs-common-v4/description
368 Kernel modules for NFS V4 & NFSD V4 kernel support
371 $(eval $(call KernelPackage,fs-nfs-common-v4))
374 define KernelPackage/fs-nfsd
376 TITLE:=NFS kernel server support
377 DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs
380 CONFIG_NFSD_FAULT_INJECTION=n
381 FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
382 AUTOLOAD:=$(call AutoLoad,40,nfsd)
385 define KernelPackage/fs-nfsd/description
386 Kernel module for NFS kernel server support
389 $(eval $(call KernelPackage,fs-nfsd))
392 define KernelPackage/fs-ntfs
394 TITLE:=NTFS filesystem support
395 KCONFIG:=CONFIG_NTFS_FS
396 FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.ko
397 AUTOLOAD:=$(call AutoLoad,30,ntfs)
398 $(call AddDepends/nls)
401 define KernelPackage/fs-ntfs/description
402 Kernel module for NTFS filesystem support
405 $(eval $(call KernelPackage,fs-ntfs))
408 define KernelPackage/fs-reiserfs
410 TITLE:=ReiserFS filesystem support
411 KCONFIG:=CONFIG_REISERFS_FS \
412 CONFIG_REISERFS_FS_XATTR=y
413 FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.ko
414 AUTOLOAD:=$(call AutoLoad,30,reiserfs,1)
417 define KernelPackage/fs-reiserfs/description
418 Kernel module for ReiserFS support
421 $(eval $(call KernelPackage,fs-reiserfs))
424 define KernelPackage/fs-squashfs
426 TITLE:=SquashFS 4.0 filesystem support
427 KCONFIG:=CONFIG_SQUASHFS \
429 FILES:=$(LINUX_DIR)/fs/squashfs/squashfs.ko
430 AUTOLOAD:=$(call AutoLoad,30,squashfs,1)
433 define KernelPackage/fs-squashfs/description
434 Kernel module for SquashFS 4.0 support
437 $(eval $(call KernelPackage,fs-squashfs))
440 define KernelPackage/fs-udf
442 TITLE:=UDF filesystem support
443 KCONFIG:=CONFIG_UDF_FS
444 FILES:=$(LINUX_DIR)/fs/udf/udf.ko
445 AUTOLOAD:=$(call AutoLoad,30,udf)
446 DEPENDS:=+kmod-lib-crc-itu-t
447 $(call AddDepends/nls)
450 define KernelPackage/fs-udf/description
451 Kernel module for UDF filesystem support
454 $(eval $(call KernelPackage,fs-udf))
457 define KernelPackage/fs-vfat
459 TITLE:=VFAT filesystem support
464 $(LINUX_DIR)/fs/fat/fat.ko \
465 $(LINUX_DIR)/fs/fat/vfat.ko
466 AUTOLOAD:=$(call AutoLoad,30,fat vfat)
467 $(call AddDepends/nls,cp437 iso8859-1 utf8)
470 define KernelPackage/fs-vfat/description
471 Kernel module for VFAT filesystem support
474 $(eval $(call KernelPackage,fs-vfat))
477 define KernelPackage/fs-xfs
479 TITLE:=XFS filesystem support
480 KCONFIG:=CONFIG_XFS_FS
481 DEPENDS:= +kmod-fs-exportfs +kmod-lib-crc32c
482 FILES:=$(LINUX_DIR)/fs/xfs/xfs.ko
483 AUTOLOAD:=$(call AutoLoad,30,xfs,1)
486 define KernelPackage/fs-xfs/description
487 Kernel module for XFS support
490 $(eval $(call KernelPackage,fs-xfs))
493 define KernelPackage/fs-jfs
495 TITLE:=JFS filesystem support
496 KCONFIG:=CONFIG_JFS_FS
497 FILES:=$(LINUX_DIR)/fs/jfs/jfs.ko
498 AUTOLOAD:=$(call AutoLoad,30,jfs,1)
499 $(call AddDepends/nls)
502 define KernelPackage/fs-jfs/description
503 Kernel module for JFS support
506 $(eval $(call KernelPackage,fs-jfs))