2 # Copyright (C) 2006-2010 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
31 CONFIG_BTRFS_FS_POSIX_ACL
=n \
34 $(LINUX_DIR
)/fs
/btrfs
/btrfs.ko \
35 $(LINUX_DIR
)/lib
/zlib_deflate
/zlib_deflate.ko
36 AUTOLOAD
:=$(call AutoLoad
,30,zlib_deflate btrfs
,1)
39 define KernelPackage
/fs-btrfs
/description
40 Kernel module for BTRFS support
43 $(eval
$(call KernelPackage
,fs-btrfs
))
46 define KernelPackage
/fs-cifs
50 FILES
:=$(LINUX_DIR
)/fs
/cifs
/cifs.ko
51 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
52 $(call AddDepends
/nls
)
55 define KernelPackage
/fs-cifs
/description
56 Kernel module for CIFS support
59 $(eval
$(call KernelPackage
,fs-cifs
))
62 define KernelPackage
/fs-exportfs
64 TITLE
:=exportfs kernel server support
65 KCONFIG
:=CONFIG_EXPORTFS
66 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
67 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
)
70 define KernelPackage
/fs-exportfs
/description
71 Kernel module for exportfs. Needed for some other modules.
74 $(eval
$(call KernelPackage
,fs-exportfs
))
77 define KernelPackage
/fs-ext2
79 TITLE
:=EXT2 filesystem support
80 KCONFIG
:=CONFIG_EXT2_FS
81 DEPENDS
:=$(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
)
82 FILES
:=$(LINUX_DIR
)/fs
/ext2
/ext2.ko
83 AUTOLOAD
:=$(call AutoLoad
,32,ext2
,1)
86 define KernelPackage
/fs-ext2
/description
87 Kernel module for EXT2 filesystem support
90 $(eval
$(call KernelPackage
,fs-ext2
,1))
93 define KernelPackage
/fs-ext3
95 TITLE
:=EXT3 filesystem support
99 DEPENDS
:=$(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
)
101 $(LINUX_DIR
)/fs
/ext3
/ext3.ko \
102 $(LINUX_DIR
)/fs
/jbd
/jbd.ko
103 AUTOLOAD
:=$(call AutoLoad
,31,jbd ext3
,1)
106 define KernelPackage
/fs-ext3
/description
107 Kernel module for EXT3 filesystem support
110 $(eval
$(call KernelPackage
,fs-ext3
))
113 define KernelPackage
/fs-ext4
115 TITLE
:=EXT4 filesystem support
119 DEPENDS
:= $(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
)
121 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
122 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko
123 AUTOLOAD
:=$(call AutoLoad
,30,jbd2 ext4
,1)
124 $(call AddDepends
/crc16
)
127 define KernelPackage
/fs-ext4
/description
128 Kernel module for EXT4 filesystem support
131 $(eval
$(call KernelPackage
,fs-ext4
))
134 define KernelPackage
/fs-hfs
136 TITLE
:=HFS
+ filesystem support
137 KCONFIG
:=CONFIG_HFS_FS
138 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
139 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
140 $(call AddDepends
/nls
)
143 define KernelPackage
/fs-hfs
/description
144 Kernel module for HFS filesystem support
147 $(eval
$(call KernelPackage
,fs-hfs
))
150 define KernelPackage
/fs-hfsplus
152 TITLE
:=HFS
+ filesystem support
153 KCONFIG
:=CONFIG_HFSPLUS_FS
154 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
155 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
156 $(call AddDepends
/nls
,utf8
)
159 define KernelPackage
/fs-hfsplus
/description
160 Kernel module for HFS
+ filesystem support
163 $(eval
$(call KernelPackage
,fs-hfsplus
))
166 define KernelPackage
/fs-isofs
168 TITLE
:=ISO9660 filesystem support
169 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
170 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
171 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
172 $(call AddDepends
/nls
)
175 define KernelPackage
/fs-isofs
/description
176 Kernel module for ISO9660 filesystem support
179 $(eval
$(call KernelPackage
,fs-isofs
))
182 define KernelPackage
/fs-mbcache
184 TITLE
:=mbcache
(used by ext2
/ext3
/ext4
)
185 KCONFIG
:=CONFIG_FS_MBCACHE
186 ifneq ($(CONFIG_FS_MBCACHE
),)
187 FILES
:=$(LINUX_DIR
)/fs
/mbcache.ko
188 AUTOLOAD
:=$(call AutoLoad
,20,mbcache
,1)
192 define KernelPackage
/fs-mbcache
/description
193 Meta Block cache used by ext2
/ext3
194 This package will only be installed if extended attributes
195 are enabled for ext2
/ext3
198 $(eval
$(call KernelPackage
,fs-mbcache
))
201 define KernelPackage
/fs-minix
203 TITLE
:=Minix filesystem support
204 KCONFIG
:=CONFIG_MINIX_FS
205 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
206 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
209 define KernelPackage
/fs-minix
/description
210 Kernel module for Minix filesystem support
213 $(eval
$(call KernelPackage
,fs-minix
))
216 define KernelPackage
/fs-msdos
218 TITLE
:=MSDOS filesystem support
219 KCONFIG
:=CONFIG_MSDOS_FS
220 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
221 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
222 $(call AddDepends
/nls
)
225 define KernelPackage
/fs-msdos
/2.4
226 FILES
:=$(LINUX_DIR
)/fs
/msdos
/msdos.ko
229 define KernelPackage
/fs-msdos
/description
230 Kernel module for MSDOS filesystem support
233 $(eval
$(call KernelPackage
,fs-msdos
))
236 define KernelPackage
/fs-nfs
238 TITLE
:=NFS filesystem support
239 DEPENDS
:=+kmod-fs-nfs-common
243 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
244 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
247 define KernelPackage
/fs-nfs
/description
248 Kernel module for NFS support
251 $(eval
$(call KernelPackage
,fs-nfs
))
254 define KernelPackage
/fs-nfs-common
256 TITLE
:=Common NFS filesystem modules
261 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
262 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko
263 AUTOLOAD
:=$(call AutoLoad
,30,sunrpc lockd
)
266 $(eval
$(call KernelPackage
,fs-nfs-common
))
269 define KernelPackage
/fs-nfs-common-v4
271 TITLE
:=Common NFS V4 filesystem modules
277 FILES
+=$(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko
278 AUTOLOAD
=$(call AutoLoad
,30,auth_rpcgss
)
281 define KernelPackage
/fs-nfs-common-v4
/description
282 Kernel modules for NFS V4
& NFSD V4 kernel support
285 $(eval
$(call KernelPackage
,fs-nfs-common-v4
))
288 define KernelPackage
/fs-nfsd
290 TITLE
:=NFS kernel server support
291 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
293 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
294 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
297 define KernelPackage
/fs-nfsd
/description
298 Kernel module for NFS kernel server support
301 $(eval
$(call KernelPackage
,fs-nfsd
))
304 define KernelPackage
/fs-ntfs
306 TITLE
:=NTFS filesystem support
307 KCONFIG
:=CONFIG_NTFS_FS
308 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
309 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
310 $(call AddDepends
/nls
)
313 define KernelPackage
/fs-ntfs
/description
314 Kernel module for NTFS filesystem support
317 $(eval
$(call KernelPackage
,fs-ntfs
))
320 define KernelPackage
/fs-reiserfs
322 TITLE
:=ReiserFS filesystem support
323 KCONFIG
:=CONFIG_REISERFS_FS
324 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
325 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
328 define KernelPackage
/fs-reiserfs
/description
329 Kernel module for ReiserFS support
332 $(eval
$(call KernelPackage
,fs-reiserfs
))
335 define KernelPackage
/fs-udf
337 TITLE
:=UDF filesystem support
338 KCONFIG
:=CONFIG_UDF_FS
339 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
340 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
341 $(call AddDepends
/nls
)
344 define KernelPackage
/fs-udf
/description
345 Kernel module for UDF filesystem support
348 $(eval
$(call KernelPackage
,fs-udf
))
351 define KernelPackage
/fs-vfat
353 TITLE
:=VFAT filesystem support
358 $(LINUX_DIR
)/fs
/fat
/fat.ko \
359 $(LINUX_DIR
)/fs
/fat
/vfat.ko
360 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
361 $(call AddDepends
/nls
)
364 define KernelPackage
/fs-vfat
/2.4
366 $(LINUX_DIR
)/fs
/fat
/fat.ko \
367 $(LINUX_DIR
)/fs
/vfat
/vfat.ko
370 define KernelPackage
/fs-vfat
/description
371 Kernel module for VFAT filesystem support
374 $(eval
$(call KernelPackage
,fs-vfat
))
377 define KernelPackage
/fs-xfs
379 TITLE
:=XFS filesystem support
380 KCONFIG
:=CONFIG_XFS_FS
381 DEPENDS
:= +kmod-fs-exportfs
382 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
383 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
386 define KernelPackage
/fs-xfs
/description
387 Kernel module for XFS support
390 $(eval
$(call KernelPackage
,fs-xfs
))