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-autofs4
12 TITLE
:=AUTOFS4 filesystem support
13 KCONFIG
:=CONFIG_AUTOFS4_FS
14 FILES
:=$(LINUX_DIR
)/fs
/autofs4
/autofs4.ko
15 AUTOLOAD
:=$(call AutoLoad
,30,autofs4
)
18 define KernelPackage
/fs-autofs4
/description
19 Kernel module for AutoFS4 support
22 $(eval
$(call KernelPackage
,fs-autofs4
))
25 define KernelPackage
/fs-btrfs
27 TITLE
:=BTRFS filesystem support
28 DEPENDS
:=+kmod-lib-crc32c
+kmod-lib-lzo
+kmod-lib-zlib
31 CONFIG_BTRFS_FS_POSIX_ACL
=n \
32 CONFIG_BTRFS_FS_CHECK_INTEGRITY
=n
34 $(LINUX_DIR
)/fs
/btrfs
/btrfs.ko
35 AUTOLOAD
:=$(call AutoLoad
,30,btrfs
,1)
38 define KernelPackage
/fs-btrfs
/description
39 Kernel module for BTRFS support
42 $(eval
$(call KernelPackage
,fs-btrfs
))
45 define KernelPackage
/fs-cifs
50 CONFIG_CIFS_DFS_UPCALL
=n \
52 FILES
:=$(LINUX_DIR
)/fs
/cifs
/cifs.ko
53 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
54 $(call AddDepends
/nls
)
62 +!LINUX_3_3
&&!LINUX_3_6
:kmod-crypto-sha256
65 define KernelPackage
/fs-cifs
/description
66 Kernel module for CIFS support
69 $(eval
$(call KernelPackage
,fs-cifs
))
72 define KernelPackage
/fs-configfs
74 TITLE
:=Configuration filesystem support
77 FILES
:=$(LINUX_DIR
)/fs
/configfs
/configfs.ko
78 AUTOLOAD
:=$(call AutoLoad
,30,configfs
)
81 define KernelPackage
/fs-configfs
/description
82 Kernel module for configfs support
85 $(eval
$(call KernelPackage
,fs-configfs
))
88 define KernelPackage
/fs-exportfs
90 TITLE
:=exportfs kernel server support
91 KCONFIG
:=CONFIG_EXPORTFS
92 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
93 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
)
96 define KernelPackage
/fs-exportfs
/description
97 Kernel module for exportfs. Needed for some other modules.
100 $(eval
$(call KernelPackage
,fs-exportfs
))
103 define KernelPackage
/fs-ext4
105 TITLE
:=EXT4 filesystem support
110 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
111 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko \
112 $(LINUX_DIR
)/fs
/mbcache.ko
113 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
114 $(call AddDepends
/crc16
, +!LINUX_3_3
:kmod-crypto-hash
)
117 define KernelPackage
/fs-ext4
/description
118 Kernel module for EXT4 filesystem support
121 $(eval
$(call KernelPackage
,fs-ext4
))
124 define KernelPackage
/fuse
126 TITLE
:=FUSE
(Filesystem in Userspace
) support
127 KCONFIG
:= CONFIG_FUSE_FS
128 FILES
:=$(LINUX_DIR
)/fs
/fuse
/fuse.ko
129 AUTOLOAD
:=$(call AutoLoad
,80,fuse
)
132 define KernelPackage
/fuse
/description
133 Kernel module for userspace filesystem support
136 $(eval
$(call KernelPackage
,fuse
))
139 define KernelPackage
/fs-hfs
141 TITLE
:=HFS filesystem support
142 KCONFIG
:=CONFIG_HFS_FS
143 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
144 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
145 $(call AddDepends
/nls
)
148 define KernelPackage
/fs-hfs
/description
149 Kernel module for HFS filesystem support
152 $(eval
$(call KernelPackage
,fs-hfs
))
155 define KernelPackage
/fs-hfsplus
157 TITLE
:=HFS
+ filesystem support
158 KCONFIG
:=CONFIG_HFSPLUS_FS
159 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
160 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
161 $(call AddDepends
/nls
,utf8
)
164 define KernelPackage
/fs-hfsplus
/description
165 Kernel module for HFS
+ filesystem support
168 $(eval
$(call KernelPackage
,fs-hfsplus
))
171 define KernelPackage
/fs-isofs
173 TITLE
:=ISO9660 filesystem support
174 DEPENDS
:=+kmod-lib-zlib
175 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
176 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
177 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
178 $(call AddDepends
/nls
)
181 define KernelPackage
/fs-isofs
/description
182 Kernel module for ISO9660 filesystem support
185 $(eval
$(call KernelPackage
,fs-isofs
))
188 define KernelPackage
/fs-minix
190 TITLE
:=Minix filesystem support
191 KCONFIG
:=CONFIG_MINIX_FS
192 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
193 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
196 define KernelPackage
/fs-minix
/description
197 Kernel module for Minix filesystem support
200 $(eval
$(call KernelPackage
,fs-minix
))
203 define KernelPackage
/fs-msdos
205 TITLE
:=MSDOS filesystem support
206 KCONFIG
:=CONFIG_MSDOS_FS
207 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
208 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
209 $(call AddDepends
/nls
)
212 define KernelPackage
/fs-msdos
/description
213 Kernel module for MSDOS filesystem support
216 $(eval
$(call KernelPackage
,fs-msdos
))
219 define KernelPackage
/fs-nfs
221 TITLE
:=NFS filesystem support
222 DEPENDS
:=+kmod-fs-nfs-common
225 CONFIG_NFS_USE_LEGACY_DNS
=n \
226 CONFIG_NFS_USE_NEW_IDMAPPER
=n
228 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
229 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
232 define KernelPackage
/fs-nfs
/description
233 Kernel module for NFS support
236 $(eval
$(call KernelPackage
,fs-nfs
))
239 define KernelPackage
/fs-nfs-common
241 TITLE
:=Common NFS filesystem modules
246 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
247 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko
248 AUTOLOAD
:=$(call AutoLoad
,30,sunrpc lockd
)
251 $(eval
$(call KernelPackage
,fs-nfs-common
))
254 define KernelPackage
/fs-nfs-common-v4
256 TITLE
:=Common NFS V4 filesystem modules
262 FILES
+=$(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko
263 AUTOLOAD
=$(call AutoLoad
,30,auth_rpcgss
)
266 define KernelPackage
/fs-nfs-common-v4
/description
267 Kernel modules for NFS V4
& NFSD V4 kernel support
270 $(eval
$(call KernelPackage
,fs-nfs-common-v4
))
273 define KernelPackage
/fs-nfsd
275 TITLE
:=NFS kernel server support
276 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
279 CONFIG_NFSD_FAULT_INJECTION
=n
280 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
281 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
284 define KernelPackage
/fs-nfsd
/description
285 Kernel module for NFS kernel server support
288 $(eval
$(call KernelPackage
,fs-nfsd
))
291 define KernelPackage
/fs-ntfs
293 TITLE
:=NTFS filesystem support
294 KCONFIG
:=CONFIG_NTFS_FS
295 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
296 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
297 $(call AddDepends
/nls
)
300 define KernelPackage
/fs-ntfs
/description
301 Kernel module for NTFS filesystem support
304 $(eval
$(call KernelPackage
,fs-ntfs
))
307 define KernelPackage
/fs-reiserfs
309 TITLE
:=ReiserFS filesystem support
310 KCONFIG
:=CONFIG_REISERFS_FS
311 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
312 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
315 define KernelPackage
/fs-reiserfs
/description
316 Kernel module for ReiserFS support
319 $(eval
$(call KernelPackage
,fs-reiserfs
))
322 define KernelPackage
/fs-udf
324 TITLE
:=UDF filesystem support
325 KCONFIG
:=CONFIG_UDF_FS
326 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
327 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
328 DEPENDS
:=+kmod-lib-crc-itu-t
329 $(call AddDepends
/nls
)
332 define KernelPackage
/fs-udf
/description
333 Kernel module for UDF filesystem support
336 $(eval
$(call KernelPackage
,fs-udf
))
339 define KernelPackage
/fs-vfat
341 TITLE
:=VFAT filesystem support
346 $(LINUX_DIR
)/fs
/fat
/fat.ko \
347 $(LINUX_DIR
)/fs
/fat
/vfat.ko
348 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
349 $(call AddDepends
/nls
)
352 define KernelPackage
/fs-vfat
/description
353 Kernel module for VFAT filesystem support
356 $(eval
$(call KernelPackage
,fs-vfat
))
359 define KernelPackage
/fs-xfs
361 TITLE
:=XFS filesystem support
362 KCONFIG
:=CONFIG_XFS_FS
363 DEPENDS
:= +kmod-fs-exportfs @
!avr32
364 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
365 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
368 define KernelPackage
/fs-xfs
/description
369 Kernel module for XFS support
372 $(eval
$(call KernelPackage
,fs-xfs
))