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
/fs-f2fs
178 TITLE
:=F2FS filesystem support
182 CONFIG_F2FS_STAT_FS
=y \
183 CONFIG_F2FS_FS_XATTR
=n \
184 CONFIG_F2FS_CHECK_FS
=n
185 FILES
:=$(LINUX_DIR
)/fs
/f2fs
/f2fs.ko
186 AUTOLOAD
:=$(call AutoLoad
,30,f2fs
,1)
189 define KernelPackage
/fs-f2fs
/description
190 Kernel module for F2FS filesystem support
193 $(eval
$(call KernelPackage
,fs-f2fs
))
196 define KernelPackage
/fuse
198 TITLE
:=FUSE
(Filesystem in Userspace
) support
199 KCONFIG
:= CONFIG_FUSE_FS
200 FILES
:=$(LINUX_DIR
)/fs
/fuse
/fuse.ko
201 AUTOLOAD
:=$(call AutoLoad
,80,fuse
)
204 define KernelPackage
/fuse
/description
205 Kernel module for userspace filesystem support
208 $(eval
$(call KernelPackage
,fuse
))
211 define KernelPackage
/fs-hfs
213 TITLE
:=HFS filesystem support
214 KCONFIG
:=CONFIG_HFS_FS
215 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
216 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
217 $(call AddDepends
/nls
)
220 define KernelPackage
/fs-hfs
/description
221 Kernel module for HFS filesystem support
224 $(eval
$(call KernelPackage
,fs-hfs
))
227 define KernelPackage
/fs-hfsplus
229 TITLE
:=HFS
+ filesystem support
230 KCONFIG
:=CONFIG_HFSPLUS_FS
231 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
232 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
233 $(call AddDepends
/nls
,utf8
)
236 define KernelPackage
/fs-hfsplus
/description
237 Kernel module for HFS
+ filesystem support
240 $(eval
$(call KernelPackage
,fs-hfsplus
))
243 define KernelPackage
/fs-isofs
245 TITLE
:=ISO9660 filesystem support
246 DEPENDS
:=+kmod-lib-zlib
247 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
248 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
249 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
250 $(call AddDepends
/nls
)
253 define KernelPackage
/fs-isofs
/description
254 Kernel module for ISO9660 filesystem support
257 $(eval
$(call KernelPackage
,fs-isofs
))
260 define KernelPackage
/fs-minix
262 TITLE
:=Minix filesystem support
263 KCONFIG
:=CONFIG_MINIX_FS
264 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
265 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
268 define KernelPackage
/fs-minix
/description
269 Kernel module for Minix filesystem support
272 $(eval
$(call KernelPackage
,fs-minix
))
275 define KernelPackage
/fs-msdos
277 TITLE
:=MSDOS filesystem support
278 DEPENDS
:=+kmod-fs-vfat
279 KCONFIG
:=CONFIG_MSDOS_FS
280 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
281 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
282 $(call AddDepends
/nls
)
285 define KernelPackage
/fs-msdos
/description
286 Kernel module for MSDOS filesystem support
289 $(eval
$(call KernelPackage
,fs-msdos
))
292 define KernelPackage
/fs-nfs
294 TITLE
:=NFS filesystem support
295 DEPENDS
:=+kmod-fs-nfs-common
+kmod-dnsresolver
298 CONFIG_NFS_USE_LEGACY_DNS
=n \
299 CONFIG_NFS_USE_NEW_IDMAPPER
=n
300 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,3.6.0)),1)
302 $(LINUX_DIR
)/fs
/nfs
/nfs.ko \
303 $(LINUX_DIR
)/fs
/nfs
/nfsv3.ko
306 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
308 AUTOLOAD
:=$(call AutoLoad
,40,nfs nfsv3
)
311 define KernelPackage
/fs-nfs
/description
312 Kernel module for NFS support
315 $(eval
$(call KernelPackage
,fs-nfs
))
318 define KernelPackage
/fs-nfs-common
320 TITLE
:=Common NFS filesystem modules
324 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,3.18.0)),1)
326 $(LINUX_DIR
)/fs
/nfs_common
/grace.ko \
327 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
328 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko
329 AUTOLOAD
:=$(call AutoLoad
,30,grace sunrpc lockd
)
332 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
333 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko
334 AUTOLOAD
:=$(call AutoLoad
,30,sunrpc lockd
)
338 $(eval
$(call KernelPackage
,fs-nfs-common
))
341 define KernelPackage
/fs-nfs-common-v4
343 TITLE
:=Common NFS V4 filesystem modules
349 FILES
+=$(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko
350 AUTOLOAD
=$(call AutoLoad
,30,auth_rpcgss
)
353 define KernelPackage
/fs-nfs-common-v4
/description
354 Kernel modules for NFS V4
& NFSD V4 kernel support
357 $(eval
$(call KernelPackage
,fs-nfs-common-v4
))
360 define KernelPackage
/fs-nfsd
362 TITLE
:=NFS kernel server support
363 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
366 CONFIG_NFSD_FAULT_INJECTION
=n
367 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
368 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
371 define KernelPackage
/fs-nfsd
/description
372 Kernel module for NFS kernel server support
375 $(eval
$(call KernelPackage
,fs-nfsd
))
378 define KernelPackage
/fs-ntfs
380 TITLE
:=NTFS filesystem support
381 KCONFIG
:=CONFIG_NTFS_FS
382 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
383 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
384 $(call AddDepends
/nls
)
387 define KernelPackage
/fs-ntfs
/description
388 Kernel module for NTFS filesystem support
391 $(eval
$(call KernelPackage
,fs-ntfs
))
394 define KernelPackage
/fs-reiserfs
396 TITLE
:=ReiserFS filesystem support
397 KCONFIG
:=CONFIG_REISERFS_FS
398 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
399 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
402 define KernelPackage
/fs-reiserfs
/description
403 Kernel module for ReiserFS support
406 $(eval
$(call KernelPackage
,fs-reiserfs
))
409 define KernelPackage
/fs-udf
411 TITLE
:=UDF filesystem support
412 KCONFIG
:=CONFIG_UDF_FS
413 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
414 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
415 DEPENDS
:=+kmod-lib-crc-itu-t
416 $(call AddDepends
/nls
)
419 define KernelPackage
/fs-udf
/description
420 Kernel module for UDF filesystem support
423 $(eval
$(call KernelPackage
,fs-udf
))
426 define KernelPackage
/fs-vfat
428 TITLE
:=VFAT filesystem support
433 $(LINUX_DIR
)/fs
/fat
/fat.ko \
434 $(LINUX_DIR
)/fs
/fat
/vfat.ko
435 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
436 $(call AddDepends
/nls
)
439 define KernelPackage
/fs-vfat
/description
440 Kernel module for VFAT filesystem support
443 $(eval
$(call KernelPackage
,fs-vfat
))
446 define KernelPackage
/fs-xfs
448 TITLE
:=XFS filesystem support
449 KCONFIG
:=CONFIG_XFS_FS
450 DEPENDS
:= +kmod-fs-exportfs
+kmod-lib-crc32c @
!avr32
451 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
452 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
455 define KernelPackage
/fs-xfs
/description
456 Kernel module for XFS support
459 $(eval
$(call KernelPackage
,fs-xfs
))
462 define KernelPackage
/fs-jfs
464 TITLE
:=JFS filesystem support
465 KCONFIG
:=CONFIG_JFS_FS
466 FILES
:=$(LINUX_DIR
)/fs
/jfs
/jfs.ko
467 AUTOLOAD
:=$(call AutoLoad
,30,jfs
,1)
468 $(call AddDepends
/nls
)
471 define KernelPackage
/fs-jfs
/description
472 Kernel module for JFS support
475 $(eval
$(call KernelPackage
,fs-jfs
))