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
))
125 define KernelPackage
/fs-exportfs
127 TITLE
:=exportfs kernel server support
128 KCONFIG
:=CONFIG_EXPORTFS
129 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
130 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
,1)
133 define KernelPackage
/fs-exportfs
/description
134 Kernel module for exportfs. Needed for some other modules.
137 $(eval
$(call KernelPackage
,fs-exportfs
))
140 define KernelPackage
/fs-ext4
142 TITLE
:=EXT4 filesystem support
147 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
148 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko \
149 $(LINUX_DIR
)/fs
/mbcache.ko
150 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
151 $(call AddDepends
/crc16
, +!LINUX_3_3
:kmod-crypto-hash
)
154 define KernelPackage
/fs-ext4
/description
155 Kernel module for EXT4 filesystem support
158 $(eval
$(call KernelPackage
,fs-ext4
))
161 define KernelPackage
/fuse
163 TITLE
:=FUSE
(Filesystem in Userspace
) support
164 KCONFIG
:= CONFIG_FUSE_FS
165 FILES
:=$(LINUX_DIR
)/fs
/fuse
/fuse.ko
166 AUTOLOAD
:=$(call AutoLoad
,80,fuse
)
169 define KernelPackage
/fuse
/description
170 Kernel module for userspace filesystem support
173 $(eval
$(call KernelPackage
,fuse
))
176 define KernelPackage
/fs-hfs
178 TITLE
:=HFS filesystem support
179 KCONFIG
:=CONFIG_HFS_FS
180 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
181 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
182 $(call AddDepends
/nls
)
185 define KernelPackage
/fs-hfs
/description
186 Kernel module for HFS filesystem support
189 $(eval
$(call KernelPackage
,fs-hfs
))
192 define KernelPackage
/fs-hfsplus
194 TITLE
:=HFS
+ filesystem support
195 KCONFIG
:=CONFIG_HFSPLUS_FS
196 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
197 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
198 $(call AddDepends
/nls
,utf8
)
201 define KernelPackage
/fs-hfsplus
/description
202 Kernel module for HFS
+ filesystem support
205 $(eval
$(call KernelPackage
,fs-hfsplus
))
208 define KernelPackage
/fs-isofs
210 TITLE
:=ISO9660 filesystem support
211 DEPENDS
:=+kmod-lib-zlib
212 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
213 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
214 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
215 $(call AddDepends
/nls
)
218 define KernelPackage
/fs-isofs
/description
219 Kernel module for ISO9660 filesystem support
222 $(eval
$(call KernelPackage
,fs-isofs
))
225 define KernelPackage
/fs-minix
227 TITLE
:=Minix filesystem support
228 KCONFIG
:=CONFIG_MINIX_FS
229 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
230 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
233 define KernelPackage
/fs-minix
/description
234 Kernel module for Minix filesystem support
237 $(eval
$(call KernelPackage
,fs-minix
))
240 define KernelPackage
/fs-msdos
242 TITLE
:=MSDOS filesystem support
243 DEPENDS
:=+kmod-fs-vfat
244 KCONFIG
:=CONFIG_MSDOS_FS
245 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
246 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
247 $(call AddDepends
/nls
)
250 define KernelPackage
/fs-msdos
/description
251 Kernel module for MSDOS filesystem support
254 $(eval
$(call KernelPackage
,fs-msdos
))
257 define KernelPackage
/fs-nfs
259 TITLE
:=NFS filesystem support
260 DEPENDS
:=+kmod-fs-nfs-common
263 CONFIG_NFS_USE_LEGACY_DNS
=n \
264 CONFIG_NFS_USE_NEW_IDMAPPER
=n
265 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,3.6.0)),1)
267 $(LINUX_DIR
)/fs
/nfs
/nfs.ko \
268 $(LINUX_DIR
)/fs
/nfs
/nfsv3.ko
271 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
273 AUTOLOAD
:=$(call AutoLoad
,40,nfs nfsv3
)
276 define KernelPackage
/fs-nfs
/description
277 Kernel module for NFS support
280 $(eval
$(call KernelPackage
,fs-nfs
))
283 define KernelPackage
/fs-nfs-common
285 TITLE
:=Common NFS filesystem modules
290 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
291 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko
292 AUTOLOAD
:=$(call AutoLoad
,30,sunrpc lockd
)
295 $(eval
$(call KernelPackage
,fs-nfs-common
))
298 define KernelPackage
/fs-nfs-common-v4
300 TITLE
:=Common NFS V4 filesystem modules
306 FILES
+=$(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko
307 AUTOLOAD
=$(call AutoLoad
,30,auth_rpcgss
)
310 define KernelPackage
/fs-nfs-common-v4
/description
311 Kernel modules for NFS V4
& NFSD V4 kernel support
314 $(eval
$(call KernelPackage
,fs-nfs-common-v4
))
317 define KernelPackage
/fs-nfsd
319 TITLE
:=NFS kernel server support
320 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
323 CONFIG_NFSD_FAULT_INJECTION
=n
324 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
325 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
328 define KernelPackage
/fs-nfsd
/description
329 Kernel module for NFS kernel server support
332 $(eval
$(call KernelPackage
,fs-nfsd
))
335 define KernelPackage
/fs-ntfs
337 TITLE
:=NTFS filesystem support
338 KCONFIG
:=CONFIG_NTFS_FS
339 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
340 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
341 $(call AddDepends
/nls
)
344 define KernelPackage
/fs-ntfs
/description
345 Kernel module for NTFS filesystem support
348 $(eval
$(call KernelPackage
,fs-ntfs
))
351 define KernelPackage
/fs-reiserfs
353 TITLE
:=ReiserFS filesystem support
354 KCONFIG
:=CONFIG_REISERFS_FS
355 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
356 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
359 define KernelPackage
/fs-reiserfs
/description
360 Kernel module for ReiserFS support
363 $(eval
$(call KernelPackage
,fs-reiserfs
))
366 define KernelPackage
/fs-udf
368 TITLE
:=UDF filesystem support
369 KCONFIG
:=CONFIG_UDF_FS
370 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
371 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
372 DEPENDS
:=+kmod-lib-crc-itu-t
373 $(call AddDepends
/nls
)
376 define KernelPackage
/fs-udf
/description
377 Kernel module for UDF filesystem support
380 $(eval
$(call KernelPackage
,fs-udf
))
383 define KernelPackage
/fs-vfat
385 TITLE
:=VFAT filesystem support
390 $(LINUX_DIR
)/fs
/fat
/fat.ko \
391 $(LINUX_DIR
)/fs
/fat
/vfat.ko
392 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
393 $(call AddDepends
/nls
)
396 define KernelPackage
/fs-vfat
/description
397 Kernel module for VFAT filesystem support
400 $(eval
$(call KernelPackage
,fs-vfat
))
403 define KernelPackage
/fs-xfs
405 TITLE
:=XFS filesystem support
406 KCONFIG
:=CONFIG_XFS_FS
407 DEPENDS
:= +kmod-fs-exportfs
+kmod-lib-crc32c @
!avr32
408 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
409 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
412 define KernelPackage
/fs-xfs
/description
413 Kernel module for XFS support
416 $(eval
$(call KernelPackage
,fs-xfs
))
419 define KernelPackage
/fs-jfs
421 TITLE
:=JFS filesystem support
422 KCONFIG
:=CONFIG_JFS_FS
423 FILES
:=$(LINUX_DIR
)/fs
/jfs
/jfs.ko
424 AUTOLOAD
:=$(call AutoLoad
,30,jfs
,1)
425 $(call AddDepends
/nls
)
428 define KernelPackage
/fs-jfs
/description
429 Kernel module for JFS support
432 $(eval
$(call KernelPackage
,fs-jfs
))