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-afs
31 TITLE:=Andrew FileSystem client
32 DEPENDS:=+kmod-rxrpc +kmod-dnsresolver +kmod-fs-fscache
37 FILES:=$(LINUX_DIR)/fs/afs/kafs.ko
38 AUTOLOAD:=$(call AutoLoad,30,kafs)
41 define KernelPackage/fs-afs/description
42 Kernel module for Andrew FileSystem client support
45 $(eval $(call KernelPackage,fs-afs))
47 define KernelPackage/fs-autofs4
49 TITLE:=AUTOFS4 filesystem support
50 KCONFIG:=CONFIG_AUTOFS4_FS
51 FILES:=$(LINUX_DIR)/fs/autofs4/autofs4.ko
52 AUTOLOAD:=$(call AutoLoad,30,autofs4)
55 define KernelPackage/fs-autofs4/description
56 Kernel module for AutoFS4 support
59 $(eval $(call KernelPackage,fs-autofs4))
62 define KernelPackage/fs-btrfs
64 TITLE:=BTRFS filesystem support
65 DEPENDS:=+kmod-lib-crc32c +kmod-lib-lzo +kmod-lib-zlib +!LINUX_3_8:kmod-lib-raid6 +!LINUX_3_8:kmod-lib-xor
68 CONFIG_BTRFS_FS_POSIX_ACL=n \
69 CONFIG_BTRFS_FS_CHECK_INTEGRITY=n
71 $(LINUX_DIR)/fs/btrfs/btrfs.ko
72 AUTOLOAD:=$(call AutoLoad,30,btrfs,1)
75 define KernelPackage/fs-btrfs/description
76 Kernel module for BTRFS support
79 $(eval $(call KernelPackage,fs-btrfs))
82 define KernelPackage/fs-cifs
87 CONFIG_CIFS_DFS_UPCALL=n \
89 FILES:=$(LINUX_DIR)/fs/cifs/cifs.ko
90 AUTOLOAD:=$(call AutoLoad,30,cifs)
91 $(call AddDepends/nls)
102 define KernelPackage/fs-cifs/description
103 Kernel module for CIFS support
106 $(eval $(call KernelPackage,fs-cifs))
109 define KernelPackage/fs-configfs
111 TITLE:=Configuration filesystem support
114 FILES:=$(LINUX_DIR)/fs/configfs/configfs.ko
115 AUTOLOAD:=$(call AutoLoad,30,configfs)
118 define KernelPackage/fs-configfs/description
119 Kernel module for configfs support
122 $(eval $(call KernelPackage,fs-configfs))
124 define KernelPackage/fs-cramfs
126 TITLE:=Compressed RAM/ROM filesystem support
127 DEPENDS:=+kmod-lib-zlib
130 FILES:=$(LINUX_DIR)/fs/cramfs/cramfs.ko
131 AUTOLOAD:=$(call AutoLoad,30,cramfs)
134 define KernelPackage/fs-cramfs/description
135 Kernel module for cramfs support
138 $(eval $(call KernelPackage,fs-cramfs))
140 define KernelPackage/fs-exportfs
142 TITLE:=exportfs kernel server support
143 KCONFIG:=CONFIG_EXPORTFS
144 FILES=$(LINUX_DIR)/fs/exportfs/exportfs.ko
145 AUTOLOAD:=$(call AutoLoad,20,exportfs,1)
148 define KernelPackage/fs-exportfs/description
149 Kernel module for exportfs. Needed for some other modules.
152 $(eval $(call KernelPackage,fs-exportfs))
155 define KernelPackage/fs-ext4
157 TITLE:=EXT4 filesystem support
162 $(LINUX_DIR)/fs/ext4/ext4.ko \
163 $(LINUX_DIR)/fs/jbd2/jbd2.ko \
164 $(LINUX_DIR)/fs/mbcache.ko
165 AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1)
166 $(call AddDepends/crc16, +kmod-crypto-hash)
169 define KernelPackage/fs-ext4/description
170 Kernel module for EXT4 filesystem support
173 $(eval $(call KernelPackage,fs-ext4))
176 define KernelPackage/fs-f2fs
178 TITLE:=F2FS filesystem support
181 CONFIG_F2FS_STAT_FS=y \
182 CONFIG_F2FS_FS_XATTR=y \
183 CONFIG_F2FS_FS_POSIX_ACL=n \
184 CONFIG_F2FS_FS_SECURITY=n \
185 CONFIG_F2FS_CHECK_FS=n
186 FILES:=$(LINUX_DIR)/fs/f2fs/f2fs.ko
187 AUTOLOAD:=$(call AutoLoad,30,f2fs,1)
190 define KernelPackage/fs-f2fs/description
191 Kernel module for F2FS filesystem support
194 $(eval $(call KernelPackage,fs-f2fs))
197 define KernelPackage/fuse
199 TITLE:=FUSE (Filesystem in Userspace) support
200 KCONFIG:= CONFIG_FUSE_FS
201 FILES:=$(LINUX_DIR)/fs/fuse/fuse.ko
202 AUTOLOAD:=$(call AutoLoad,80,fuse)
205 define KernelPackage/fuse/description
206 Kernel module for userspace filesystem support
209 $(eval $(call KernelPackage,fuse))
212 define KernelPackage/fs-hfs
214 TITLE:=HFS filesystem support
215 KCONFIG:=CONFIG_HFS_FS
216 FILES:=$(LINUX_DIR)/fs/hfs/hfs.ko
217 AUTOLOAD:=$(call AutoLoad,30,hfs)
218 $(call AddDepends/nls)
221 define KernelPackage/fs-hfs/description
222 Kernel module for HFS filesystem support
225 $(eval $(call KernelPackage,fs-hfs))
228 define KernelPackage/fs-hfsplus
230 TITLE:=HFS+ filesystem support
231 KCONFIG:=CONFIG_HFSPLUS_FS
232 FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.ko
233 AUTOLOAD:=$(call AutoLoad,30,hfsplus)
234 $(call AddDepends/nls,utf8)
237 define KernelPackage/fs-hfsplus/description
238 Kernel module for HFS+ filesystem support
241 $(eval $(call KernelPackage,fs-hfsplus))
244 define KernelPackage/fs-isofs
246 TITLE:=ISO9660 filesystem support
247 DEPENDS:=+kmod-lib-zlib
248 KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
249 FILES:=$(LINUX_DIR)/fs/isofs/isofs.ko
250 AUTOLOAD:=$(call AutoLoad,30,isofs)
251 $(call AddDepends/nls)
254 define KernelPackage/fs-isofs/description
255 Kernel module for ISO9660 filesystem support
258 $(eval $(call KernelPackage,fs-isofs))
261 define KernelPackage/fs-minix
263 TITLE:=Minix filesystem support
264 KCONFIG:=CONFIG_MINIX_FS
265 FILES:=$(LINUX_DIR)/fs/minix/minix.ko
266 AUTOLOAD:=$(call AutoLoad,30,minix)
269 define KernelPackage/fs-minix/description
270 Kernel module for Minix filesystem support
273 $(eval $(call KernelPackage,fs-minix))
276 define KernelPackage/fs-msdos
278 TITLE:=MSDOS filesystem support
279 DEPENDS:=+kmod-fs-vfat
280 KCONFIG:=CONFIG_MSDOS_FS
281 FILES:=$(LINUX_DIR)/fs/fat/msdos.ko
282 AUTOLOAD:=$(call AutoLoad,40,msdos)
283 $(call AddDepends/nls)
286 define KernelPackage/fs-msdos/description
287 Kernel module for MSDOS filesystem support
290 $(eval $(call KernelPackage,fs-msdos))
293 define KernelPackage/fs-nfs
295 TITLE:=NFS filesystem support
296 DEPENDS:=+kmod-fs-nfs-common +kmod-dnsresolver
299 CONFIG_NFS_USE_LEGACY_DNS=n \
300 CONFIG_NFS_USE_NEW_IDMAPPER=n
301 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.6.0)),1)
303 $(LINUX_DIR)/fs/nfs/nfs.ko \
304 $(LINUX_DIR)/fs/nfs/nfsv3.ko
307 $(LINUX_DIR)/fs/nfs/nfs.ko
309 AUTOLOAD:=$(call AutoLoad,40,nfs nfsv3)
312 define KernelPackage/fs-nfs/description
313 Kernel module for NFS support
316 $(eval $(call KernelPackage,fs-nfs))
319 define KernelPackage/fs-nfs-common
321 TITLE:=Common NFS filesystem modules
325 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.18.0)),1)
327 $(LINUX_DIR)/fs/nfs_common/grace.ko \
328 $(LINUX_DIR)/fs/lockd/lockd.ko \
329 $(LINUX_DIR)/net/sunrpc/sunrpc.ko
330 AUTOLOAD:=$(call AutoLoad,30,grace sunrpc lockd)
333 $(LINUX_DIR)/fs/lockd/lockd.ko \
334 $(LINUX_DIR)/net/sunrpc/sunrpc.ko
335 AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd)
339 $(eval $(call KernelPackage,fs-nfs-common))
342 define KernelPackage/fs-nfs-common-v4
344 TITLE:=Common NFS V4 filesystem modules
350 FILES+=$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko
351 AUTOLOAD=$(call AutoLoad,30,auth_rpcgss)
354 define KernelPackage/fs-nfs-common-v4/description
355 Kernel modules for NFS V4 & NFSD V4 kernel support
358 $(eval $(call KernelPackage,fs-nfs-common-v4))
361 define KernelPackage/fs-nfsd
363 TITLE:=NFS kernel server support
364 DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs
367 CONFIG_NFSD_FAULT_INJECTION=n
368 FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
369 AUTOLOAD:=$(call AutoLoad,40,nfsd)
372 define KernelPackage/fs-nfsd/description
373 Kernel module for NFS kernel server support
376 $(eval $(call KernelPackage,fs-nfsd))
379 define KernelPackage/fs-ntfs
381 TITLE:=NTFS filesystem support
382 KCONFIG:=CONFIG_NTFS_FS
383 FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.ko
384 AUTOLOAD:=$(call AutoLoad,30,ntfs)
385 $(call AddDepends/nls)
388 define KernelPackage/fs-ntfs/description
389 Kernel module for NTFS filesystem support
392 $(eval $(call KernelPackage,fs-ntfs))
395 define KernelPackage/fs-reiserfs
397 TITLE:=ReiserFS filesystem support
398 KCONFIG:=CONFIG_REISERFS_FS
399 FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.ko
400 AUTOLOAD:=$(call AutoLoad,30,reiserfs,1)
403 define KernelPackage/fs-reiserfs/description
404 Kernel module for ReiserFS support
407 $(eval $(call KernelPackage,fs-reiserfs))
410 define KernelPackage/fs-udf
412 TITLE:=UDF filesystem support
413 KCONFIG:=CONFIG_UDF_FS
414 FILES:=$(LINUX_DIR)/fs/udf/udf.ko
415 AUTOLOAD:=$(call AutoLoad,30,udf)
416 DEPENDS:=+kmod-lib-crc-itu-t
417 $(call AddDepends/nls)
420 define KernelPackage/fs-udf/description
421 Kernel module for UDF filesystem support
424 $(eval $(call KernelPackage,fs-udf))
427 define KernelPackage/fs-vfat
429 TITLE:=VFAT filesystem support
434 $(LINUX_DIR)/fs/fat/fat.ko \
435 $(LINUX_DIR)/fs/fat/vfat.ko
436 AUTOLOAD:=$(call AutoLoad,30,fat vfat)
437 $(call AddDepends/nls)
440 define KernelPackage/fs-vfat/description
441 Kernel module for VFAT filesystem support
444 $(eval $(call KernelPackage,fs-vfat))
447 define KernelPackage/fs-xfs
449 TITLE:=XFS filesystem support
450 KCONFIG:=CONFIG_XFS_FS
451 DEPENDS:= +kmod-fs-exportfs +kmod-lib-crc32c @!avr32
452 FILES:=$(LINUX_DIR)/fs/xfs/xfs.ko
453 AUTOLOAD:=$(call AutoLoad,30,xfs,1)
456 define KernelPackage/fs-xfs/description
457 Kernel module for XFS support
460 $(eval $(call KernelPackage,fs-xfs))
463 define KernelPackage/fs-jfs
465 TITLE:=JFS filesystem support
466 KCONFIG:=CONFIG_JFS_FS
467 FILES:=$(LINUX_DIR)/fs/jfs/jfs.ko
468 AUTOLOAD:=$(call AutoLoad,30,jfs,1)
469 $(call AddDepends/nls)
472 define KernelPackage/fs-jfs/description
473 Kernel module for JFS support
476 $(eval $(call KernelPackage,fs-jfs))