2 # Copyright (C) 2006-2010 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.
$(LINUX_KMOD_SUFFIX
)
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
31 CONFIG_BTRFS_FS_POSIX_ACL
=n
33 DEPENDS
:=+kmod-crypto-core
+kmod-crypto-misc
35 $(LINUX_DIR
)/lib
/libcrc32c.
$(LINUX_KMOD_SUFFIX
) \
36 $(LINUX_DIR
)/fs
/btrfs
/btrfs.
$(LINUX_KMOD_SUFFIX
)
37 AUTOLOAD
:=$(call AutoLoad
,30,crc32c libcrc32c btrfs
,1)
40 define KernelPackage
/fs-btrfs
/description
41 Kernel module for BTRFS support
44 $(eval
$(call KernelPackage
,fs-btrfs
))
47 define KernelPackage
/fs-cifs
51 FILES
:=$(LINUX_DIR
)/fs
/cifs
/cifs.
$(LINUX_KMOD_SUFFIX
)
52 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
53 $(call AddDepends
/nls
)
56 define KernelPackage
/fs-cifs
/description
57 Kernel module for CIFS support
60 $(eval
$(call KernelPackage
,fs-cifs
))
63 define KernelPackage
/fs-exportfs
65 TITLE
:=exportfs kernel server support
66 KCONFIG
:=CONFIG_EXPORTFS
67 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.
$(LINUX_KMOD_SUFFIX
)
68 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
)
71 define KernelPackage
/fs-exportfs
/description
72 Kernel module for exportfs. Needed for some other modules.
75 $(eval
$(call KernelPackage
,fs-exportfs
))
78 define KernelPackage
/fs-ext2
80 TITLE
:=EXT2 filesystem support
81 KCONFIG
:=CONFIG_EXT2_FS
82 DEPENDS
:=$(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
)
83 FILES
:=$(LINUX_DIR
)/fs
/ext2
/ext2.
$(LINUX_KMOD_SUFFIX
)
84 AUTOLOAD
:=$(call AutoLoad
,32,ext2
,1)
87 define KernelPackage
/fs-ext2
/description
88 Kernel module for EXT2 filesystem support
91 $(eval
$(call KernelPackage
,fs-ext2
,1))
94 define KernelPackage
/fs-ext3
96 TITLE
:=EXT3 filesystem support
100 DEPENDS
:=$(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
)
102 $(LINUX_DIR
)/fs
/ext3
/ext3.
$(LINUX_KMOD_SUFFIX
) \
103 $(LINUX_DIR
)/fs
/jbd
/jbd.
$(LINUX_KMOD_SUFFIX
)
104 AUTOLOAD
:=$(call AutoLoad
,31,jbd ext3
,1)
107 define KernelPackage
/fs-ext3
/description
108 Kernel module for EXT3 filesystem support
111 $(eval
$(call KernelPackage
,fs-ext3
))
114 define KernelPackage
/fs-ext4
116 TITLE
:=EXT4 filesystem support
118 CONFIG_EXT4_FS_XATTR
=y \
119 CONFIG_EXT4_FS_POSIX_ACL
=y \
120 CONFIG_EXT4_FS_SECURITY
=y \
123 DEPENDS
:= @LINUX_2_6
$(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
)
125 $(LINUX_DIR
)/fs
/ext4
/ext4.
$(LINUX_KMOD_SUFFIX
) \
126 $(LINUX_DIR
)/fs
/jbd2
/jbd2.
$(LINUX_KMOD_SUFFIX
)
127 AUTOLOAD
:=$(call AutoLoad
,30,jbd2 ext4
,1)
128 $(call AddDepends
/crc16
)
131 define KernelPackage
/fs-ext4
/description
132 Kernel module for EXT4 filesystem support
135 $(eval
$(call KernelPackage
,fs-ext4
))
138 define KernelPackage
/fs-hfs
140 TITLE
:=HFS
+ filesystem support
141 KCONFIG
:=CONFIG_HFS_FS
142 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.
$(LINUX_KMOD_SUFFIX
)
143 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
144 $(call AddDepends
/nls
)
147 define KernelPackage
/fs-hfs
/description
148 Kernel module for HFS filesystem support
151 $(eval
$(call KernelPackage
,fs-hfs
))
154 define KernelPackage
/fs-hfsplus
156 TITLE
:=HFS
+ filesystem support
157 KCONFIG
:=CONFIG_HFSPLUS_FS
158 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.
$(LINUX_KMOD_SUFFIX
)
159 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
160 $(call AddDepends
/nls
,utf8
)
163 define KernelPackage
/fs-hfsplus
/description
164 Kernel module for HFS
+ filesystem support
167 $(eval
$(call KernelPackage
,fs-hfsplus
))
170 define KernelPackage
/fs-isofs
172 TITLE
:=ISO9660 filesystem support
173 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
174 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.
$(LINUX_KMOD_SUFFIX
)
175 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
176 $(call AddDepends
/nls
)
179 define KernelPackage
/fs-isofs
/description
180 Kernel module for ISO9660 filesystem support
183 $(eval
$(call KernelPackage
,fs-isofs
))
186 define KernelPackage
/fs-mbcache
188 TITLE
:=mbcache
(used by ext2
/ext3
/ext4
)
189 KCONFIG
:=CONFIG_FS_MBCACHE
190 ifneq ($(CONFIG_FS_MBCACHE
),)
191 FILES
:=$(LINUX_DIR
)/fs
/mbcache.
$(LINUX_KMOD_SUFFIX
)
192 AUTOLOAD
:=$(call AutoLoad
,20,mbcache
,1)
196 define KernelPackage
/fs-mbcache
/description
197 Meta Block cache used by ext2
/ext3
198 This package will only be installed if extended attributes
199 are enabled for ext2
/ext3
202 $(eval
$(call KernelPackage
,fs-mbcache
))
205 define KernelPackage
/fs-minix
207 TITLE
:=Minix filesystem support
208 KCONFIG
:=CONFIG_MINIX_FS
209 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.
$(LINUX_KMOD_SUFFIX
)
210 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
213 define KernelPackage
/fs-minix
/description
214 Kernel module for Minix filesystem support
217 $(eval
$(call KernelPackage
,fs-minix
))
220 define KernelPackage
/fs-msdos
222 TITLE
:=MSDOS filesystem support
223 KCONFIG
:=CONFIG_MSDOS_FS
224 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.
$(LINUX_KMOD_SUFFIX
)
225 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
226 $(call AddDepends
/nls
)
229 define KernelPackage
/fs-msdos
/2.4
230 FILES
:=$(LINUX_DIR
)/fs
/msdos
/msdos.
$(LINUX_KMOD_SUFFIX
)
233 define KernelPackage
/fs-msdos
/description
234 Kernel module for MSDOS filesystem support
237 $(eval
$(call KernelPackage
,fs-msdos
))
240 define KernelPackage
/fs-nfs
242 TITLE
:=NFS filesystem support
243 DEPENDS
:=+kmod-fs-nfs-common
247 $(LINUX_DIR
)/fs
/nfs
/nfs.
$(LINUX_KMOD_SUFFIX
)
248 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
251 define KernelPackage
/fs-nfs
/description
252 Kernel module for NFS support
255 $(eval
$(call KernelPackage
,fs-nfs
))
258 define KernelPackage
/fs-nfs-common
260 TITLE
:=Common NFS filesystem modules
265 $(LINUX_DIR
)/fs
/lockd
/lockd.
$(LINUX_KMOD_SUFFIX
) \
266 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.
$(LINUX_KMOD_SUFFIX
)
267 AUTOLOAD
:=$(call AutoLoad
,30,sunrpc lockd
)
270 $(eval
$(call KernelPackage
,fs-nfs-common
))
273 define KernelPackage
/fs-nfs-common-v4
275 TITLE
:=Common NFS V4 filesystem modules
280 DEPENDS
:= @LINUX_2_6 @BROKEN
281 FILES
+=$(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.
$(LINUX_KMOD_SUFFIX
)
282 AUTOLOAD
=$(call AutoLoad
,30,auth_rpcgss
)
285 define KernelPackage
/fs-nfs-common-v4
/description
286 Kernel modules for NFS V4
& NFSD V4 kernel support
289 $(eval
$(call KernelPackage
,fs-nfs-common-v4
))
292 define KernelPackage
/fs-nfsd
294 TITLE
:=NFS kernel server support
295 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
297 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.
$(LINUX_KMOD_SUFFIX
)
298 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
301 define KernelPackage
/fs-nfsd
/description
302 Kernel module for NFS kernel server support
305 $(eval
$(call KernelPackage
,fs-nfsd
))
308 define KernelPackage
/fs-ntfs
310 TITLE
:=NTFS filesystem support
311 KCONFIG
:=CONFIG_NTFS_FS
312 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.
$(LINUX_KMOD_SUFFIX
)
313 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
314 $(call AddDepends
/nls
)
317 define KernelPackage
/fs-ntfs
/description
318 Kernel module for NTFS filesystem support
321 $(eval
$(call KernelPackage
,fs-ntfs
))
324 define KernelPackage
/fs-reiserfs
326 TITLE
:=ReiserFS filesystem support
327 KCONFIG
:=CONFIG_REISERFS_FS
328 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.
$(LINUX_KMOD_SUFFIX
)
329 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
332 define KernelPackage
/fs-reiserfs
/description
333 Kernel module for ReiserFS support
336 $(eval
$(call KernelPackage
,fs-reiserfs
))
339 define KernelPackage
/fs-udf
341 TITLE
:=UDF filesystem support
342 KCONFIG
:=CONFIG_UDF_FS
343 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.
$(LINUX_KMOD_SUFFIX
)
344 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
345 $(call AddDepends
/nls
)
348 define KernelPackage
/fs-udf
/description
349 Kernel module for UDF filesystem support
352 $(eval
$(call KernelPackage
,fs-udf
))
355 define KernelPackage
/fs-vfat
357 TITLE
:=VFAT filesystem support
362 $(LINUX_DIR
)/fs
/fat
/fat.
$(LINUX_KMOD_SUFFIX
) \
363 $(LINUX_DIR
)/fs
/fat
/vfat.
$(LINUX_KMOD_SUFFIX
)
364 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
365 $(call AddDepends
/nls
)
368 define KernelPackage
/fs-vfat
/2.4
370 $(LINUX_DIR
)/fs
/fat
/fat.
$(LINUX_KMOD_SUFFIX
) \
371 $(LINUX_DIR
)/fs
/vfat
/vfat.
$(LINUX_KMOD_SUFFIX
)
374 define KernelPackage
/fs-vfat
/description
375 Kernel module for VFAT filesystem support
378 $(eval
$(call KernelPackage
,fs-vfat
))
381 define KernelPackage
/fs-xfs
383 TITLE
:=XFS filesystem support
384 KCONFIG
:=CONFIG_XFS_FS
385 DEPENDS
:= +kmod-fs-exportfs
386 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.
$(LINUX_KMOD_SUFFIX
)
387 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
390 define KernelPackage
/fs-xfs
/description
391 Kernel module for XFS support
394 $(eval
$(call KernelPackage
,fs-xfs
))