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-libcrc32c
+kmod-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
)
53 define KernelPackage
/fs-cifs
/description
54 Kernel module for CIFS support
57 $(eval
$(call KernelPackage
,fs-cifs
))
60 define KernelPackage
/fs-exportfs
62 TITLE
:=exportfs kernel server support
63 KCONFIG
:=CONFIG_EXPORTFS
64 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
65 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
)
68 define KernelPackage
/fs-exportfs
/description
69 Kernel module for exportfs. Needed for some other modules.
72 $(eval
$(call KernelPackage
,fs-exportfs
))
75 define KernelPackage
/fs-ext2
77 TITLE
:=EXT2 filesystem support
78 KCONFIG
:=CONFIG_EXT2_FS
79 DEPENDS
:=@LINUX_2_6_30||LINUX_2_6_31
80 FILES
:=$(LINUX_DIR
)/fs
/ext2
/ext2.ko
81 AUTOLOAD
:=$(call AutoLoad
,32,ext2
,1)
84 define KernelPackage
/fs-ext2
/description
85 Kernel module for EXT2 filesystem support
88 $(eval
$(call KernelPackage
,fs-ext2
,1))
91 define KernelPackage
/fs-ext3
93 TITLE
:=EXT3 filesystem support
97 DEPENDS
:=@LINUX_2_6_30||LINUX_2_6_31
99 $(LINUX_DIR
)/fs
/ext3
/ext3.ko \
100 $(LINUX_DIR
)/fs
/jbd
/jbd.ko
101 AUTOLOAD
:=$(call AutoLoad
,31,jbd ext3
,1)
104 define KernelPackage
/fs-ext3
/description
105 Kernel module for EXT3 filesystem support
108 $(eval
$(call KernelPackage
,fs-ext3
))
111 define KernelPackage
/fs-ext4
113 TITLE
:=EXT4 filesystem support
118 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
119 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko
120 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,2.6.37)),1)
122 $(LINUX_DIR
)/fs
/mbcache.ko
123 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
125 AUTOLOAD
:=$(call AutoLoad
,30,jbd2 ext4
,1)
127 $(call AddDepends
/crc16
)
130 define KernelPackage
/fs-ext4
/description
131 Kernel module for EXT4 filesystem support
134 $(eval
$(call KernelPackage
,fs-ext4
))
137 define KernelPackage
/fs-hfs
139 TITLE
:=HFS
+ filesystem support
140 KCONFIG
:=CONFIG_HFS_FS
141 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
142 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
143 $(call AddDepends
/nls
)
146 define KernelPackage
/fs-hfs
/description
147 Kernel module for HFS filesystem support
150 $(eval
$(call KernelPackage
,fs-hfs
))
153 define KernelPackage
/fs-hfsplus
155 TITLE
:=HFS
+ filesystem support
156 KCONFIG
:=CONFIG_HFSPLUS_FS
157 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
158 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
159 $(call AddDepends
/nls
,utf8
)
162 define KernelPackage
/fs-hfsplus
/description
163 Kernel module for HFS
+ filesystem support
166 $(eval
$(call KernelPackage
,fs-hfsplus
))
169 define KernelPackage
/fs-isofs
171 TITLE
:=ISO9660 filesystem support
172 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
173 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
174 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
175 $(call AddDepends
/nls
)
178 define KernelPackage
/fs-isofs
/description
179 Kernel module for ISO9660 filesystem support
182 $(eval
$(call KernelPackage
,fs-isofs
))
185 define KernelPackage
/fs-minix
187 TITLE
:=Minix filesystem support
188 KCONFIG
:=CONFIG_MINIX_FS
189 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
190 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
193 define KernelPackage
/fs-minix
/description
194 Kernel module for Minix filesystem support
197 $(eval
$(call KernelPackage
,fs-minix
))
200 define KernelPackage
/fs-msdos
202 TITLE
:=MSDOS filesystem support
203 KCONFIG
:=CONFIG_MSDOS_FS
204 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
205 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
206 $(call AddDepends
/nls
)
209 define KernelPackage
/fs-msdos
/description
210 Kernel module for MSDOS filesystem support
213 $(eval
$(call KernelPackage
,fs-msdos
))
216 define KernelPackage
/fs-nfs
218 TITLE
:=NFS filesystem support
219 DEPENDS
:=+kmod-fs-nfs-common
223 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
224 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
227 define KernelPackage
/fs-nfs
/description
228 Kernel module for NFS support
231 $(eval
$(call KernelPackage
,fs-nfs
))
234 define KernelPackage
/fs-nfs-common
236 TITLE
:=Common NFS filesystem modules
241 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
242 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko
243 AUTOLOAD
:=$(call AutoLoad
,30,sunrpc lockd
)
246 $(eval
$(call KernelPackage
,fs-nfs-common
))
249 define KernelPackage
/fs-nfs-common-v4
251 TITLE
:=Common NFS V4 filesystem modules
257 FILES
+=$(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko
258 AUTOLOAD
=$(call AutoLoad
,30,auth_rpcgss
)
261 define KernelPackage
/fs-nfs-common-v4
/description
262 Kernel modules for NFS V4
& NFSD V4 kernel support
265 $(eval
$(call KernelPackage
,fs-nfs-common-v4
))
268 define KernelPackage
/fs-nfsd
270 TITLE
:=NFS kernel server support
271 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
273 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
274 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
277 define KernelPackage
/fs-nfsd
/description
278 Kernel module for NFS kernel server support
281 $(eval
$(call KernelPackage
,fs-nfsd
))
284 define KernelPackage
/fs-ntfs
286 TITLE
:=NTFS filesystem support
287 KCONFIG
:=CONFIG_NTFS_FS
288 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
289 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
290 $(call AddDepends
/nls
)
293 define KernelPackage
/fs-ntfs
/description
294 Kernel module for NTFS filesystem support
297 $(eval
$(call KernelPackage
,fs-ntfs
))
300 define KernelPackage
/fs-reiserfs
302 TITLE
:=ReiserFS filesystem support
303 KCONFIG
:=CONFIG_REISERFS_FS
304 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
305 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
308 define KernelPackage
/fs-reiserfs
/description
309 Kernel module for ReiserFS support
312 $(eval
$(call KernelPackage
,fs-reiserfs
))
315 define KernelPackage
/fs-udf
317 TITLE
:=UDF filesystem support
318 KCONFIG
:=CONFIG_UDF_FS
319 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
320 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
321 $(call AddDepends
/nls
)
324 define KernelPackage
/fs-udf
/description
325 Kernel module for UDF filesystem support
328 $(eval
$(call KernelPackage
,fs-udf
))
331 define KernelPackage
/fs-vfat
333 TITLE
:=VFAT filesystem support
338 $(LINUX_DIR
)/fs
/fat
/fat.ko \
339 $(LINUX_DIR
)/fs
/fat
/vfat.ko
340 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
341 $(call AddDepends
/nls
)
344 define KernelPackage
/fs-vfat
/description
345 Kernel module for VFAT filesystem support
348 $(eval
$(call KernelPackage
,fs-vfat
))
351 define KernelPackage
/fs-xfs
353 TITLE
:=XFS filesystem support
354 KCONFIG
:=CONFIG_XFS_FS
355 DEPENDS
:= +kmod-fs-exportfs
356 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
357 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
360 define KernelPackage
/fs-xfs
/description
361 Kernel module for XFS support
364 $(eval
$(call KernelPackage
,fs-xfs
))