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
33 $(LINUX_DIR
)/fs
/btrfs
/btrfs.ko
34 AUTOLOAD
:=$(call AutoLoad
,30,btrfs
,1)
37 define KernelPackage
/fs-btrfs
/description
38 Kernel module for BTRFS support
41 $(eval
$(call KernelPackage
,fs-btrfs
))
44 define KernelPackage
/fs-cifs
48 FILES
:=$(LINUX_DIR
)/fs
/cifs
/cifs.ko
49 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
50 $(call AddDepends
/nls
)
52 +!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36
):kmod-crypto-arc4 \
53 +!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36
):kmod-crypto-hmac \
54 +!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36
):kmod-crypto-md5 \
55 +!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37
):kmod-crypto-md4 \
56 +!(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 \
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-ecb
60 define KernelPackage
/fs-cifs
/description
61 Kernel module for CIFS support
64 $(eval
$(call KernelPackage
,fs-cifs
))
67 define KernelPackage
/fs-exportfs
69 TITLE
:=exportfs kernel server support
70 KCONFIG
:=CONFIG_EXPORTFS
71 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
72 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
)
75 define KernelPackage
/fs-exportfs
/description
76 Kernel module for exportfs. Needed for some other modules.
79 $(eval
$(call KernelPackage
,fs-exportfs
))
82 define KernelPackage
/fs-ext2
84 TITLE
:=EXT2 filesystem support
85 KCONFIG
:=CONFIG_EXT2_FS
86 DEPENDS
:=@LINUX_2_6_30||LINUX_2_6_31
87 FILES
:=$(LINUX_DIR
)/fs
/ext2
/ext2.ko
88 AUTOLOAD
:=$(call AutoLoad
,32,ext2
,1)
91 define KernelPackage
/fs-ext2
/description
92 Kernel module for EXT2 filesystem support
95 $(eval
$(call KernelPackage
,fs-ext2
,1))
98 define KernelPackage
/fs-ext3
100 TITLE
:=EXT3 filesystem support
104 DEPENDS
:=@LINUX_2_6_30||LINUX_2_6_31
106 $(LINUX_DIR
)/fs
/ext3
/ext3.ko \
107 $(LINUX_DIR
)/fs
/jbd
/jbd.ko
108 AUTOLOAD
:=$(call AutoLoad
,31,jbd ext3
,1)
111 define KernelPackage
/fs-ext3
/description
112 Kernel module for EXT3 filesystem support
115 $(eval
$(call KernelPackage
,fs-ext3
))
118 define KernelPackage
/fs-ext4
120 TITLE
:=EXT4 filesystem support
125 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
126 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko
127 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,2.6.37)),1)
129 $(LINUX_DIR
)/fs
/mbcache.ko
130 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
132 AUTOLOAD
:=$(call AutoLoad
,30,jbd2 ext4
,1)
134 $(call AddDepends
/crc16
)
137 define KernelPackage
/fs-ext4
/description
138 Kernel module for EXT4 filesystem support
141 $(eval
$(call KernelPackage
,fs-ext4
))
144 define KernelPackage
/fs-hfs
146 TITLE
:=HFS
+ filesystem support
147 KCONFIG
:=CONFIG_HFS_FS
148 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
149 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
150 $(call AddDepends
/nls
)
153 define KernelPackage
/fs-hfs
/description
154 Kernel module for HFS filesystem support
157 $(eval
$(call KernelPackage
,fs-hfs
))
160 define KernelPackage
/fs-hfsplus
162 TITLE
:=HFS
+ filesystem support
163 KCONFIG
:=CONFIG_HFSPLUS_FS
164 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
165 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
166 $(call AddDepends
/nls
,utf8
)
169 define KernelPackage
/fs-hfsplus
/description
170 Kernel module for HFS
+ filesystem support
173 $(eval
$(call KernelPackage
,fs-hfsplus
))
176 define KernelPackage
/fs-isofs
178 TITLE
:=ISO9660 filesystem support
179 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
180 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
181 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
182 $(call AddDepends
/nls
)
185 define KernelPackage
/fs-isofs
/description
186 Kernel module for ISO9660 filesystem support
189 $(eval
$(call KernelPackage
,fs-isofs
))
192 define KernelPackage
/fs-minix
194 TITLE
:=Minix filesystem support
195 KCONFIG
:=CONFIG_MINIX_FS
196 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
197 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
200 define KernelPackage
/fs-minix
/description
201 Kernel module for Minix filesystem support
204 $(eval
$(call KernelPackage
,fs-minix
))
207 define KernelPackage
/fs-msdos
209 TITLE
:=MSDOS filesystem support
210 KCONFIG
:=CONFIG_MSDOS_FS
211 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
212 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
213 $(call AddDepends
/nls
)
216 define KernelPackage
/fs-msdos
/description
217 Kernel module for MSDOS filesystem support
220 $(eval
$(call KernelPackage
,fs-msdos
))
223 define KernelPackage
/fs-nfs
225 TITLE
:=NFS filesystem support
226 DEPENDS
:=+kmod-fs-nfs-common
230 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
231 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
234 define KernelPackage
/fs-nfs
/description
235 Kernel module for NFS support
238 $(eval
$(call KernelPackage
,fs-nfs
))
241 define KernelPackage
/fs-nfs-common
243 TITLE
:=Common NFS filesystem modules
248 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
249 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko
250 AUTOLOAD
:=$(call AutoLoad
,30,sunrpc lockd
)
253 $(eval
$(call KernelPackage
,fs-nfs-common
))
256 define KernelPackage
/fs-nfs-common-v4
258 TITLE
:=Common NFS V4 filesystem modules
264 FILES
+=$(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko
265 AUTOLOAD
=$(call AutoLoad
,30,auth_rpcgss
)
268 define KernelPackage
/fs-nfs-common-v4
/description
269 Kernel modules for NFS V4
& NFSD V4 kernel support
272 $(eval
$(call KernelPackage
,fs-nfs-common-v4
))
275 define KernelPackage
/fs-nfsd
277 TITLE
:=NFS kernel server support
278 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
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
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
))