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
203 DEPENDS:= +kmod-crypto-hash +kmod-crypto-crc32
206 CONFIG_F2FS_STAT_FS=y \
207 CONFIG_F2FS_FS_XATTR=y \
208 CONFIG_F2FS_FS_POSIX_ACL=n \
209 CONFIG_F2FS_FS_SECURITY=n \
210 CONFIG_F2FS_CHECK_FS=n
211 FILES:=$(LINUX_DIR)/fs/f2fs/f2fs.ko
212 AUTOLOAD:=$(call AutoLoad,30,f2fs,1)
215 define KernelPackage/fs-f2fs/description
216 Kernel module for F2FS filesystem support
219 $(eval $(call KernelPackage,fs-f2fs))
222 define KernelPackage/fuse
224 TITLE:=FUSE (Filesystem in Userspace) support
225 KCONFIG:= CONFIG_FUSE_FS
226 FILES:=$(LINUX_DIR)/fs/fuse/fuse.ko
227 AUTOLOAD:=$(call AutoLoad,80,fuse)
230 define KernelPackage/fuse/description
231 Kernel module for userspace filesystem support
234 $(eval $(call KernelPackage,fuse))
237 define KernelPackage/fs-hfs
239 TITLE:=HFS filesystem support
240 KCONFIG:=CONFIG_HFS_FS
241 FILES:=$(LINUX_DIR)/fs/hfs/hfs.ko
242 AUTOLOAD:=$(call AutoLoad,30,hfs)
243 $(call AddDepends/nls)
246 define KernelPackage/fs-hfs/description
247 Kernel module for HFS filesystem support
250 $(eval $(call KernelPackage,fs-hfs))
253 define KernelPackage/fs-hfsplus
255 TITLE:=HFS+ filesystem support
256 KCONFIG:=CONFIG_HFSPLUS_FS
257 FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.ko
258 AUTOLOAD:=$(call AutoLoad,30,hfsplus)
259 $(call AddDepends/nls,utf8)
262 define KernelPackage/fs-hfsplus/description
263 Kernel module for HFS+ filesystem support
266 $(eval $(call KernelPackage,fs-hfsplus))
269 define KernelPackage/fs-isofs
271 TITLE:=ISO9660 filesystem support
272 DEPENDS:=+kmod-lib-zlib-inflate
273 KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
274 FILES:=$(LINUX_DIR)/fs/isofs/isofs.ko
275 AUTOLOAD:=$(call AutoLoad,30,isofs)
276 $(call AddDepends/nls)
279 define KernelPackage/fs-isofs/description
280 Kernel module for ISO9660 filesystem support
283 $(eval $(call KernelPackage,fs-isofs))
286 define KernelPackage/fs-minix
288 TITLE:=Minix filesystem support
289 KCONFIG:=CONFIG_MINIX_FS
290 FILES:=$(LINUX_DIR)/fs/minix/minix.ko
291 AUTOLOAD:=$(call AutoLoad,30,minix)
294 define KernelPackage/fs-minix/description
295 Kernel module for Minix filesystem support
298 $(eval $(call KernelPackage,fs-minix))
301 define KernelPackage/fs-msdos
303 TITLE:=MSDOS filesystem support
304 DEPENDS:=+kmod-fs-vfat
305 KCONFIG:=CONFIG_MSDOS_FS
306 FILES:=$(LINUX_DIR)/fs/fat/msdos.ko
307 AUTOLOAD:=$(call AutoLoad,40,msdos)
308 $(call AddDepends/nls)
311 define KernelPackage/fs-msdos/description
312 Kernel module for MSDOS filesystem support
315 $(eval $(call KernelPackage,fs-msdos))
318 define KernelPackage/fs-nfs
320 TITLE:=NFS filesystem support
321 DEPENDS:=+kmod-fs-nfs-common +kmod-dnsresolver
324 CONFIG_NFS_USE_LEGACY_DNS=n \
325 CONFIG_NFS_USE_NEW_IDMAPPER=n
327 $(LINUX_DIR)/fs/nfs/nfs.ko \
328 $(LINUX_DIR)/fs/nfs/nfsv3.ko
329 AUTOLOAD:=$(call AutoLoad,40,nfs nfsv3)
332 define KernelPackage/fs-nfs/description
333 Kernel module for NFS support
336 $(eval $(call KernelPackage,fs-nfs))
339 define KernelPackage/fs-nfs-common
341 TITLE:=Common NFS filesystem modules
347 $(LINUX_DIR)/fs/lockd/lockd.ko \
348 $(LINUX_DIR)/net/sunrpc/sunrpc.ko \
349 $(LINUX_DIR)/fs/nfs_common/grace.ko
350 AUTOLOAD:=$(call AutoLoad,30,grace sunrpc lockd)
353 $(eval $(call KernelPackage,fs-nfs-common))
356 define KernelPackage/fs-nfs-common-v4
358 TITLE:=Common NFS V4 filesystem modules
364 FILES+=$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko
365 AUTOLOAD=$(call AutoLoad,30,auth_rpcgss)
368 define KernelPackage/fs-nfs-common-v4/description
369 Kernel modules for NFS V4 & NFSD V4 kernel support
372 $(eval $(call KernelPackage,fs-nfs-common-v4))
375 define KernelPackage/fs-nfsd
377 TITLE:=NFS kernel server support
378 DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs
381 CONFIG_NFSD_FAULT_INJECTION=n
382 FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
383 AUTOLOAD:=$(call AutoLoad,40,nfsd)
386 define KernelPackage/fs-nfsd/description
387 Kernel module for NFS kernel server support
390 $(eval $(call KernelPackage,fs-nfsd))
393 define KernelPackage/fs-ntfs
395 TITLE:=NTFS filesystem support
396 KCONFIG:=CONFIG_NTFS_FS
397 FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.ko
398 AUTOLOAD:=$(call AutoLoad,30,ntfs)
399 $(call AddDepends/nls)
402 define KernelPackage/fs-ntfs/description
403 Kernel module for NTFS filesystem support
406 $(eval $(call KernelPackage,fs-ntfs))
409 define KernelPackage/fs-reiserfs
411 TITLE:=ReiserFS filesystem support
412 KCONFIG:=CONFIG_REISERFS_FS \
413 CONFIG_REISERFS_FS_XATTR=y
414 FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.ko
415 AUTOLOAD:=$(call AutoLoad,30,reiserfs,1)
418 define KernelPackage/fs-reiserfs/description
419 Kernel module for ReiserFS support
422 $(eval $(call KernelPackage,fs-reiserfs))
425 define KernelPackage/fs-squashfs
427 TITLE:=SquashFS 4.0 filesystem support
428 KCONFIG:=CONFIG_SQUASHFS \
430 FILES:=$(LINUX_DIR)/fs/squashfs/squashfs.ko
431 AUTOLOAD:=$(call AutoLoad,30,squashfs,1)
434 define KernelPackage/fs-squashfs/description
435 Kernel module for SquashFS 4.0 support
438 $(eval $(call KernelPackage,fs-squashfs))
441 define KernelPackage/fs-udf
443 TITLE:=UDF filesystem support
444 KCONFIG:=CONFIG_UDF_FS
445 FILES:=$(LINUX_DIR)/fs/udf/udf.ko
446 AUTOLOAD:=$(call AutoLoad,30,udf)
447 DEPENDS:=+kmod-lib-crc-itu-t
448 $(call AddDepends/nls)
451 define KernelPackage/fs-udf/description
452 Kernel module for UDF filesystem support
455 $(eval $(call KernelPackage,fs-udf))
458 define KernelPackage/fs-vfat
460 TITLE:=VFAT filesystem support
465 $(LINUX_DIR)/fs/fat/fat.ko \
466 $(LINUX_DIR)/fs/fat/vfat.ko
467 AUTOLOAD:=$(call AutoLoad,30,fat vfat)
468 $(call AddDepends/nls,cp437 iso8859-1 utf8)
471 define KernelPackage/fs-vfat/description
472 Kernel module for VFAT filesystem support
475 $(eval $(call KernelPackage,fs-vfat))
478 define KernelPackage/fs-xfs
480 TITLE:=XFS filesystem support
481 KCONFIG:=CONFIG_XFS_FS
482 DEPENDS:= +kmod-fs-exportfs +kmod-lib-crc32c
483 FILES:=$(LINUX_DIR)/fs/xfs/xfs.ko
484 AUTOLOAD:=$(call AutoLoad,30,xfs,1)
487 define KernelPackage/fs-xfs/description
488 Kernel module for XFS support
491 $(eval $(call KernelPackage,fs-xfs))
494 define KernelPackage/fs-jfs
496 TITLE:=JFS filesystem support
497 KCONFIG:=CONFIG_JFS_FS
498 FILES:=$(LINUX_DIR)/fs/jfs/jfs.ko
499 AUTOLOAD:=$(call AutoLoad,30,jfs,1)
500 $(call AddDepends/nls)
503 define KernelPackage/fs-jfs/description
504 Kernel module for JFS support
507 $(eval $(call KernelPackage,fs-jfs))