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
+!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37
):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
49 FILES
:=$(LINUX_DIR
)/fs
/cifs
/cifs.ko
50 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
51 $(call AddDepends
/nls
)
53 +!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36
):kmod-crypto-arc4 \
54 +!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36
):kmod-crypto-hmac \
55 +!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36
):kmod-crypto-md5 \
56 +!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37
):kmod-crypto-md4 \
57 +!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39
):kmod-crypto-des \
58 +!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39
):kmod-crypto-ecb
61 define KernelPackage
/fs-cifs
/description
62 Kernel module for CIFS support
65 $(eval
$(call KernelPackage
,fs-cifs
))
68 define KernelPackage
/fs-exportfs
70 TITLE
:=exportfs kernel server support
71 KCONFIG
:=CONFIG_EXPORTFS
72 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
73 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
)
76 define KernelPackage
/fs-exportfs
/description
77 Kernel module for exportfs. Needed for some other modules.
80 $(eval
$(call KernelPackage
,fs-exportfs
))
83 define KernelPackage
/fs-ext2
85 TITLE
:=EXT2 filesystem support
86 KCONFIG
:=CONFIG_EXT2_FS
87 DEPENDS
:=@LINUX_2_6_30||LINUX_2_6_31
88 FILES
:=$(LINUX_DIR
)/fs
/ext2
/ext2.ko
89 AUTOLOAD
:=$(call AutoLoad
,32,ext2
,1)
92 define KernelPackage
/fs-ext2
/description
93 Kernel module for EXT2 filesystem support
96 $(eval
$(call KernelPackage
,fs-ext2
,1))
99 define KernelPackage
/fs-ext3
101 TITLE
:=EXT3 filesystem support
105 DEPENDS
:=@LINUX_2_6_30||LINUX_2_6_31
107 $(LINUX_DIR
)/fs
/ext3
/ext3.ko \
108 $(LINUX_DIR
)/fs
/jbd
/jbd.ko
109 AUTOLOAD
:=$(call AutoLoad
,31,jbd ext3
,1)
112 define KernelPackage
/fs-ext3
/description
113 Kernel module for EXT3 filesystem support
116 $(eval
$(call KernelPackage
,fs-ext3
))
119 define KernelPackage
/fs-ext4
121 TITLE
:=EXT4 filesystem support
126 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
127 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko
128 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,2.6.37)),1)
130 $(LINUX_DIR
)/fs
/mbcache.ko
131 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
133 AUTOLOAD
:=$(call AutoLoad
,30,jbd2 ext4
,1)
135 $(call AddDepends
/crc16
)
138 define KernelPackage
/fs-ext4
/description
139 Kernel module for EXT4 filesystem support
142 $(eval
$(call KernelPackage
,fs-ext4
))
145 define KernelPackage
/fs-hfs
147 TITLE
:=HFS
+ filesystem support
148 KCONFIG
:=CONFIG_HFS_FS
149 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
150 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
151 $(call AddDepends
/nls
)
154 define KernelPackage
/fs-hfs
/description
155 Kernel module for HFS filesystem support
158 $(eval
$(call KernelPackage
,fs-hfs
))
161 define KernelPackage
/fs-hfsplus
163 TITLE
:=HFS
+ filesystem support
164 KCONFIG
:=CONFIG_HFSPLUS_FS
165 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
166 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
167 $(call AddDepends
/nls
,utf8
)
170 define KernelPackage
/fs-hfsplus
/description
171 Kernel module for HFS
+ filesystem support
174 $(eval
$(call KernelPackage
,fs-hfsplus
))
177 define KernelPackage
/fs-isofs
179 TITLE
:=ISO9660 filesystem support
180 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
181 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
182 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
183 $(call AddDepends
/nls
)
186 define KernelPackage
/fs-isofs
/description
187 Kernel module for ISO9660 filesystem support
190 $(eval
$(call KernelPackage
,fs-isofs
))
193 define KernelPackage
/fs-minix
195 TITLE
:=Minix filesystem support
196 KCONFIG
:=CONFIG_MINIX_FS
197 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
198 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
201 define KernelPackage
/fs-minix
/description
202 Kernel module for Minix filesystem support
205 $(eval
$(call KernelPackage
,fs-minix
))
208 define KernelPackage
/fs-msdos
210 TITLE
:=MSDOS filesystem support
211 KCONFIG
:=CONFIG_MSDOS_FS
212 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
213 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
214 $(call AddDepends
/nls
)
217 define KernelPackage
/fs-msdos
/description
218 Kernel module for MSDOS filesystem support
221 $(eval
$(call KernelPackage
,fs-msdos
))
224 define KernelPackage
/fs-nfs
226 TITLE
:=NFS filesystem support
227 DEPENDS
:=+kmod-fs-nfs-common
231 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
232 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
235 define KernelPackage
/fs-nfs
/description
236 Kernel module for NFS support
239 $(eval
$(call KernelPackage
,fs-nfs
))
242 define KernelPackage
/fs-nfs-common
244 TITLE
:=Common NFS filesystem modules
249 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
250 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko
251 AUTOLOAD
:=$(call AutoLoad
,30,sunrpc lockd
)
254 $(eval
$(call KernelPackage
,fs-nfs-common
))
257 define KernelPackage
/fs-nfs-common-v4
259 TITLE
:=Common NFS V4 filesystem modules
265 FILES
+=$(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko
266 AUTOLOAD
=$(call AutoLoad
,30,auth_rpcgss
)
269 define KernelPackage
/fs-nfs-common-v4
/description
270 Kernel modules for NFS V4
& NFSD V4 kernel support
273 $(eval
$(call KernelPackage
,fs-nfs-common-v4
))
276 define KernelPackage
/fs-nfsd
278 TITLE
:=NFS kernel server support
279 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
281 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
282 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
285 define KernelPackage
/fs-nfsd
/description
286 Kernel module for NFS kernel server support
289 $(eval
$(call KernelPackage
,fs-nfsd
))
292 define KernelPackage
/fs-ntfs
294 TITLE
:=NTFS filesystem support
295 KCONFIG
:=CONFIG_NTFS_FS
296 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
297 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
298 $(call AddDepends
/nls
)
301 define KernelPackage
/fs-ntfs
/description
302 Kernel module for NTFS filesystem support
305 $(eval
$(call KernelPackage
,fs-ntfs
))
308 define KernelPackage
/fs-reiserfs
310 TITLE
:=ReiserFS filesystem support
311 KCONFIG
:=CONFIG_REISERFS_FS
312 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
313 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
316 define KernelPackage
/fs-reiserfs
/description
317 Kernel module for ReiserFS support
320 $(eval
$(call KernelPackage
,fs-reiserfs
))
323 define KernelPackage
/fs-udf
325 TITLE
:=UDF filesystem support
326 KCONFIG
:=CONFIG_UDF_FS
327 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
328 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
329 DEPENDS
:=+kmod-lib-crc-itu-t
330 $(call AddDepends
/nls
)
333 define KernelPackage
/fs-udf
/description
334 Kernel module for UDF filesystem support
337 $(eval
$(call KernelPackage
,fs-udf
))
340 define KernelPackage
/fs-vfat
342 TITLE
:=VFAT filesystem support
347 $(LINUX_DIR
)/fs
/fat
/fat.ko \
348 $(LINUX_DIR
)/fs
/fat
/vfat.ko
349 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
350 $(call AddDepends
/nls
)
353 define KernelPackage
/fs-vfat
/description
354 Kernel module for VFAT filesystem support
357 $(eval
$(call KernelPackage
,fs-vfat
))
360 define KernelPackage
/fs-xfs
362 TITLE
:=XFS filesystem support
363 KCONFIG
:=CONFIG_XFS_FS
364 DEPENDS
:= +kmod-fs-exportfs
365 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
366 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
369 define KernelPackage
/fs-xfs
/description
370 Kernel module for XFS support
373 $(eval
$(call KernelPackage
,fs-xfs
))