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_3&&!LINUX_3_6&&!LINUX_3_8):kmod-lib-raid6 +(!LINUX_3_3&&!LINUX_3_6&&!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)
99 +!LINUX_3_3&&!LINUX_3_6:kmod-crypto-sha256
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, +!LINUX_3_3: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/fuse
178 TITLE:=FUSE (Filesystem in Userspace) support
179 KCONFIG:= CONFIG_FUSE_FS
180 FILES:=$(LINUX_DIR)/fs/fuse/fuse.ko
181 AUTOLOAD:=$(call AutoLoad,80,fuse)
184 define KernelPackage/fuse/description
185 Kernel module for userspace filesystem support
188 $(eval $(call KernelPackage,fuse))
191 define KernelPackage/fs-hfs
193 TITLE:=HFS filesystem support
194 KCONFIG:=CONFIG_HFS_FS
195 FILES:=$(LINUX_DIR)/fs/hfs/hfs.ko
196 AUTOLOAD:=$(call AutoLoad,30,hfs)
197 $(call AddDepends/nls)
200 define KernelPackage/fs-hfs/description
201 Kernel module for HFS filesystem support
204 $(eval $(call KernelPackage,fs-hfs))
207 define KernelPackage/fs-hfsplus
209 TITLE:=HFS+ filesystem support
210 KCONFIG:=CONFIG_HFSPLUS_FS
211 FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.ko
212 AUTOLOAD:=$(call AutoLoad,30,hfsplus)
213 $(call AddDepends/nls,utf8)
216 define KernelPackage/fs-hfsplus/description
217 Kernel module for HFS+ filesystem support
220 $(eval $(call KernelPackage,fs-hfsplus))
223 define KernelPackage/fs-isofs
225 TITLE:=ISO9660 filesystem support
226 DEPENDS:=+kmod-lib-zlib
227 KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
228 FILES:=$(LINUX_DIR)/fs/isofs/isofs.ko
229 AUTOLOAD:=$(call AutoLoad,30,isofs)
230 $(call AddDepends/nls)
233 define KernelPackage/fs-isofs/description
234 Kernel module for ISO9660 filesystem support
237 $(eval $(call KernelPackage,fs-isofs))
240 define KernelPackage/fs-minix
242 TITLE:=Minix filesystem support
243 KCONFIG:=CONFIG_MINIX_FS
244 FILES:=$(LINUX_DIR)/fs/minix/minix.ko
245 AUTOLOAD:=$(call AutoLoad,30,minix)
248 define KernelPackage/fs-minix/description
249 Kernel module for Minix filesystem support
252 $(eval $(call KernelPackage,fs-minix))
255 define KernelPackage/fs-msdos
257 TITLE:=MSDOS filesystem support
258 DEPENDS:=+kmod-fs-vfat
259 KCONFIG:=CONFIG_MSDOS_FS
260 FILES:=$(LINUX_DIR)/fs/fat/msdos.ko
261 AUTOLOAD:=$(call AutoLoad,40,msdos)
262 $(call AddDepends/nls)
265 define KernelPackage/fs-msdos/description
266 Kernel module for MSDOS filesystem support
269 $(eval $(call KernelPackage,fs-msdos))
272 define KernelPackage/fs-nfs
274 TITLE:=NFS filesystem support
275 DEPENDS:=+kmod-fs-nfs-common +kmod-dnsresolver
278 CONFIG_NFS_USE_LEGACY_DNS=n \
279 CONFIG_NFS_USE_NEW_IDMAPPER=n
280 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.6.0)),1)
282 $(LINUX_DIR)/fs/nfs/nfs.ko \
283 $(LINUX_DIR)/fs/nfs/nfsv3.ko
286 $(LINUX_DIR)/fs/nfs/nfs.ko
288 AUTOLOAD:=$(call AutoLoad,40,nfs nfsv3)
291 define KernelPackage/fs-nfs/description
292 Kernel module for NFS support
295 $(eval $(call KernelPackage,fs-nfs))
298 define KernelPackage/fs-nfs-common
300 TITLE:=Common NFS filesystem modules
305 $(LINUX_DIR)/fs/lockd/lockd.ko \
306 $(LINUX_DIR)/net/sunrpc/sunrpc.ko
307 AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd)
310 $(eval $(call KernelPackage,fs-nfs-common))
313 define KernelPackage/fs-nfs-common-v4
315 TITLE:=Common NFS V4 filesystem modules
321 FILES+=$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko
322 AUTOLOAD=$(call AutoLoad,30,auth_rpcgss)
325 define KernelPackage/fs-nfs-common-v4/description
326 Kernel modules for NFS V4 & NFSD V4 kernel support
329 $(eval $(call KernelPackage,fs-nfs-common-v4))
332 define KernelPackage/fs-nfsd
334 TITLE:=NFS kernel server support
335 DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs
338 CONFIG_NFSD_FAULT_INJECTION=n
339 FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
340 AUTOLOAD:=$(call AutoLoad,40,nfsd)
343 define KernelPackage/fs-nfsd/description
344 Kernel module for NFS kernel server support
347 $(eval $(call KernelPackage,fs-nfsd))
350 define KernelPackage/fs-ntfs
352 TITLE:=NTFS filesystem support
353 KCONFIG:=CONFIG_NTFS_FS
354 FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.ko
355 AUTOLOAD:=$(call AutoLoad,30,ntfs)
356 $(call AddDepends/nls)
359 define KernelPackage/fs-ntfs/description
360 Kernel module for NTFS filesystem support
363 $(eval $(call KernelPackage,fs-ntfs))
366 define KernelPackage/fs-reiserfs
368 TITLE:=ReiserFS filesystem support
369 KCONFIG:=CONFIG_REISERFS_FS
370 FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.ko
371 AUTOLOAD:=$(call AutoLoad,30,reiserfs,1)
374 define KernelPackage/fs-reiserfs/description
375 Kernel module for ReiserFS support
378 $(eval $(call KernelPackage,fs-reiserfs))
381 define KernelPackage/fs-udf
383 TITLE:=UDF filesystem support
384 KCONFIG:=CONFIG_UDF_FS
385 FILES:=$(LINUX_DIR)/fs/udf/udf.ko
386 AUTOLOAD:=$(call AutoLoad,30,udf)
387 DEPENDS:=+kmod-lib-crc-itu-t
388 $(call AddDepends/nls)
391 define KernelPackage/fs-udf/description
392 Kernel module for UDF filesystem support
395 $(eval $(call KernelPackage,fs-udf))
398 define KernelPackage/fs-vfat
400 TITLE:=VFAT filesystem support
405 $(LINUX_DIR)/fs/fat/fat.ko \
406 $(LINUX_DIR)/fs/fat/vfat.ko
407 AUTOLOAD:=$(call AutoLoad,30,fat vfat)
408 $(call AddDepends/nls)
411 define KernelPackage/fs-vfat/description
412 Kernel module for VFAT filesystem support
415 $(eval $(call KernelPackage,fs-vfat))
418 define KernelPackage/fs-xfs
420 TITLE:=XFS filesystem support
421 KCONFIG:=CONFIG_XFS_FS
422 DEPENDS:= +kmod-fs-exportfs +kmod-lib-crc32c @!avr32
423 FILES:=$(LINUX_DIR)/fs/xfs/xfs.ko
424 AUTOLOAD:=$(call AutoLoad,30,xfs,1)
427 define KernelPackage/fs-xfs/description
428 Kernel module for XFS support
431 $(eval $(call KernelPackage,fs-xfs))
434 define KernelPackage/fs-jfs
436 TITLE:=JFS filesystem support
437 KCONFIG:=CONFIG_JFS_FS
438 FILES:=$(LINUX_DIR)/fs/jfs/jfs.ko
439 AUTOLOAD:=$(call AutoLoad,30,jfs,1)
440 $(call AddDepends/nls)
443 define KernelPackage/fs-jfs/description
444 Kernel module for JFS support
447 $(eval $(call KernelPackage,fs-jfs))