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
/2.4
224 FILES
:=$(LINUX_DIR
)/fs
/msdos
/msdos.ko
227 define KernelPackage
/fs-msdos
/description
228 Kernel module for MSDOS filesystem support
231 $(eval
$(call KernelPackage
,fs-msdos
))
234 define KernelPackage
/fs-nfs
236 TITLE
:=NFS filesystem support
237 DEPENDS
:=+kmod-fs-nfs-common
241 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
242 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
245 define KernelPackage
/fs-nfs
/description
246 Kernel module for NFS support
249 $(eval
$(call KernelPackage
,fs-nfs
))
252 define KernelPackage
/fs-nfs-common
254 TITLE
:=Common NFS filesystem modules
259 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
260 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko
261 AUTOLOAD
:=$(call AutoLoad
,30,sunrpc lockd
)
264 $(eval
$(call KernelPackage
,fs-nfs-common
))
267 define KernelPackage
/fs-nfs-common-v4
269 TITLE
:=Common NFS V4 filesystem modules
275 FILES
+=$(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko
276 AUTOLOAD
=$(call AutoLoad
,30,auth_rpcgss
)
279 define KernelPackage
/fs-nfs-common-v4
/description
280 Kernel modules for NFS V4
& NFSD V4 kernel support
283 $(eval
$(call KernelPackage
,fs-nfs-common-v4
))
286 define KernelPackage
/fs-nfsd
288 TITLE
:=NFS kernel server support
289 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
291 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
292 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
295 define KernelPackage
/fs-nfsd
/description
296 Kernel module for NFS kernel server support
299 $(eval
$(call KernelPackage
,fs-nfsd
))
302 define KernelPackage
/fs-ntfs
304 TITLE
:=NTFS filesystem support
305 KCONFIG
:=CONFIG_NTFS_FS
306 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
307 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
308 $(call AddDepends
/nls
)
311 define KernelPackage
/fs-ntfs
/description
312 Kernel module for NTFS filesystem support
315 $(eval
$(call KernelPackage
,fs-ntfs
))
318 define KernelPackage
/fs-reiserfs
320 TITLE
:=ReiserFS filesystem support
321 KCONFIG
:=CONFIG_REISERFS_FS
322 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
323 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
326 define KernelPackage
/fs-reiserfs
/description
327 Kernel module for ReiserFS support
330 $(eval
$(call KernelPackage
,fs-reiserfs
))
333 define KernelPackage
/fs-udf
335 TITLE
:=UDF filesystem support
336 KCONFIG
:=CONFIG_UDF_FS
337 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
338 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
339 $(call AddDepends
/nls
)
342 define KernelPackage
/fs-udf
/description
343 Kernel module for UDF filesystem support
346 $(eval
$(call KernelPackage
,fs-udf
))
349 define KernelPackage
/fs-vfat
351 TITLE
:=VFAT filesystem support
356 $(LINUX_DIR
)/fs
/fat
/fat.ko \
357 $(LINUX_DIR
)/fs
/fat
/vfat.ko
358 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
359 $(call AddDepends
/nls
)
362 define KernelPackage
/fs-vfat
/2.4
364 $(LINUX_DIR
)/fs
/fat
/fat.ko \
365 $(LINUX_DIR
)/fs
/vfat
/vfat.ko
368 define KernelPackage
/fs-vfat
/description
369 Kernel module for VFAT filesystem support
372 $(eval
$(call KernelPackage
,fs-vfat
))
375 define KernelPackage
/fs-xfs
377 TITLE
:=XFS filesystem support
378 KCONFIG
:=CONFIG_XFS_FS
379 DEPENDS
:= +kmod-fs-exportfs
380 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
381 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
384 define KernelPackage
/fs-xfs
/description
385 Kernel module for XFS support
388 $(eval
$(call KernelPackage
,fs-xfs
))