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
:=$(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
) @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
:=$(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
) @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
117 DEPENDS
:= $(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
)
119 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
120 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko
121 AUTOLOAD
:=$(call AutoLoad
,30,jbd2 ext4
,1)
122 $(call AddDepends
/crc16
)
125 define KernelPackage
/fs-ext4
/description
126 Kernel module for EXT4 filesystem support
129 $(eval
$(call KernelPackage
,fs-ext4
))
132 define KernelPackage
/fs-hfs
134 TITLE
:=HFS
+ filesystem support
135 KCONFIG
:=CONFIG_HFS_FS
136 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
137 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
138 $(call AddDepends
/nls
)
141 define KernelPackage
/fs-hfs
/description
142 Kernel module for HFS filesystem support
145 $(eval
$(call KernelPackage
,fs-hfs
))
148 define KernelPackage
/fs-hfsplus
150 TITLE
:=HFS
+ filesystem support
151 KCONFIG
:=CONFIG_HFSPLUS_FS
152 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
153 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
154 $(call AddDepends
/nls
,utf8
)
157 define KernelPackage
/fs-hfsplus
/description
158 Kernel module for HFS
+ filesystem support
161 $(eval
$(call KernelPackage
,fs-hfsplus
))
164 define KernelPackage
/fs-isofs
166 TITLE
:=ISO9660 filesystem support
167 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
168 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
169 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
170 $(call AddDepends
/nls
)
173 define KernelPackage
/fs-isofs
/description
174 Kernel module for ISO9660 filesystem support
177 $(eval
$(call KernelPackage
,fs-isofs
))
180 define KernelPackage
/fs-mbcache
182 TITLE
:=mbcache
(used by ext2
/ext3
/ext4
)
183 KCONFIG
:=CONFIG_FS_MBCACHE
184 ifneq ($(CONFIG_FS_MBCACHE
),)
185 FILES
:=$(LINUX_DIR
)/fs
/mbcache.ko
186 AUTOLOAD
:=$(call AutoLoad
,20,mbcache
,1)
190 define KernelPackage
/fs-mbcache
/description
191 Meta Block cache used by ext2
/ext3
192 This package will only be installed if extended attributes
193 are enabled for ext2
/ext3
196 $(eval
$(call KernelPackage
,fs-mbcache
))
199 define KernelPackage
/fs-minix
201 TITLE
:=Minix filesystem support
202 KCONFIG
:=CONFIG_MINIX_FS
203 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
204 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
207 define KernelPackage
/fs-minix
/description
208 Kernel module for Minix filesystem support
211 $(eval
$(call KernelPackage
,fs-minix
))
214 define KernelPackage
/fs-msdos
216 TITLE
:=MSDOS filesystem support
217 KCONFIG
:=CONFIG_MSDOS_FS
218 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
219 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
220 $(call AddDepends
/nls
)
223 define KernelPackage
/fs-msdos
/description
224 Kernel module for MSDOS filesystem support
227 $(eval
$(call KernelPackage
,fs-msdos
))
230 define KernelPackage
/fs-nfs
232 TITLE
:=NFS filesystem support
233 DEPENDS
:=+kmod-fs-nfs-common
237 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
238 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
241 define KernelPackage
/fs-nfs
/description
242 Kernel module for NFS support
245 $(eval
$(call KernelPackage
,fs-nfs
))
248 define KernelPackage
/fs-nfs-common
250 TITLE
:=Common NFS filesystem modules
255 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
256 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko
257 AUTOLOAD
:=$(call AutoLoad
,30,sunrpc lockd
)
260 $(eval
$(call KernelPackage
,fs-nfs-common
))
263 define KernelPackage
/fs-nfs-common-v4
265 TITLE
:=Common NFS V4 filesystem modules
271 FILES
+=$(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko
272 AUTOLOAD
=$(call AutoLoad
,30,auth_rpcgss
)
275 define KernelPackage
/fs-nfs-common-v4
/description
276 Kernel modules for NFS V4
& NFSD V4 kernel support
279 $(eval
$(call KernelPackage
,fs-nfs-common-v4
))
282 define KernelPackage
/fs-nfsd
284 TITLE
:=NFS kernel server support
285 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
287 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
288 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
291 define KernelPackage
/fs-nfsd
/description
292 Kernel module for NFS kernel server support
295 $(eval
$(call KernelPackage
,fs-nfsd
))
298 define KernelPackage
/fs-ntfs
300 TITLE
:=NTFS filesystem support
301 KCONFIG
:=CONFIG_NTFS_FS
302 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
303 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
304 $(call AddDepends
/nls
)
307 define KernelPackage
/fs-ntfs
/description
308 Kernel module for NTFS filesystem support
311 $(eval
$(call KernelPackage
,fs-ntfs
))
314 define KernelPackage
/fs-reiserfs
316 TITLE
:=ReiserFS filesystem support
317 KCONFIG
:=CONFIG_REISERFS_FS
318 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
319 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
322 define KernelPackage
/fs-reiserfs
/description
323 Kernel module for ReiserFS support
326 $(eval
$(call KernelPackage
,fs-reiserfs
))
329 define KernelPackage
/fs-udf
331 TITLE
:=UDF filesystem support
332 KCONFIG
:=CONFIG_UDF_FS
333 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
334 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
335 $(call AddDepends
/nls
)
338 define KernelPackage
/fs-udf
/description
339 Kernel module for UDF filesystem support
342 $(eval
$(call KernelPackage
,fs-udf
))
345 define KernelPackage
/fs-vfat
347 TITLE
:=VFAT filesystem support
352 $(LINUX_DIR
)/fs
/fat
/fat.ko \
353 $(LINUX_DIR
)/fs
/fat
/vfat.ko
354 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
355 $(call AddDepends
/nls
)
358 define KernelPackage
/fs-vfat
/description
359 Kernel module for VFAT filesystem support
362 $(eval
$(call KernelPackage
,fs-vfat
))
365 define KernelPackage
/fs-xfs
367 TITLE
:=XFS filesystem support
368 KCONFIG
:=CONFIG_XFS_FS
369 DEPENDS
:= +kmod-fs-exportfs
370 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
371 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
374 define KernelPackage
/fs-xfs
/description
375 Kernel module for XFS support
378 $(eval
$(call KernelPackage
,fs-xfs
))