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
29 DEPENDS
:=+kmod-crypto-core
+kmod-crypto-misc
33 CONFIG_BTRFS_FS_POSIX_ACL
=n
35 $(LINUX_DIR
)/lib
/libcrc32c.ko \
36 $(LINUX_DIR
)/fs
/btrfs
/btrfs.ko
37 AUTOLOAD
:=$(call AutoLoad
,30,crc32c libcrc32c btrfs
,1)
40 define KernelPackage
/fs-btrfs
/description
41 Kernel module for BTRFS support
44 $(eval
$(call KernelPackage
,fs-btrfs
))
47 define KernelPackage
/fs-cifs
51 FILES
:=$(LINUX_DIR
)/fs
/cifs
/cifs.ko
52 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
53 $(call AddDepends
/nls
)
56 define KernelPackage
/fs-cifs
/description
57 Kernel module for CIFS support
60 $(eval
$(call KernelPackage
,fs-cifs
))
63 define KernelPackage
/fs-exportfs
65 TITLE
:=exportfs kernel server support
66 KCONFIG
:=CONFIG_EXPORTFS
67 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
68 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
)
71 define KernelPackage
/fs-exportfs
/description
72 Kernel module for exportfs. Needed for some other modules.
75 $(eval
$(call KernelPackage
,fs-exportfs
))
78 define KernelPackage
/fs-ext2
80 TITLE
:=EXT2 filesystem support
81 KCONFIG
:=CONFIG_EXT2_FS
82 DEPENDS
:=$(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
)
83 FILES
:=$(LINUX_DIR
)/fs
/ext2
/ext2.ko
84 AUTOLOAD
:=$(call AutoLoad
,32,ext2
,1)
87 define KernelPackage
/fs-ext2
/description
88 Kernel module for EXT2 filesystem support
91 $(eval
$(call KernelPackage
,fs-ext2
,1))
94 define KernelPackage
/fs-ext3
96 TITLE
:=EXT3 filesystem support
100 DEPENDS
:=$(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
)
102 $(LINUX_DIR
)/fs
/ext3
/ext3.ko \
103 $(LINUX_DIR
)/fs
/jbd
/jbd.ko
104 AUTOLOAD
:=$(call AutoLoad
,31,jbd ext3
,1)
107 define KernelPackage
/fs-ext3
/description
108 Kernel module for EXT3 filesystem support
111 $(eval
$(call KernelPackage
,fs-ext3
))
114 define KernelPackage
/fs-ext4
116 TITLE
:=EXT4 filesystem support
118 CONFIG_EXT4DEV_COMPAT
=n \
119 CONFIG_EXT4_FS_XATTR
=y \
120 CONFIG_EXT4_FS_POSIX_ACL
=y \
121 CONFIG_EXT4_FS_SECURITY
=y \
124 DEPENDS
:= $(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
)
126 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
127 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko
128 AUTOLOAD
:=$(call AutoLoad
,30,jbd2 ext4
,1)
129 $(call AddDepends
/crc16
)
132 define KernelPackage
/fs-ext4
/description
133 Kernel module for EXT4 filesystem support
136 $(eval
$(call KernelPackage
,fs-ext4
))
139 define KernelPackage
/fs-hfs
141 TITLE
:=HFS
+ filesystem support
142 KCONFIG
:=CONFIG_HFS_FS
143 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
144 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
145 $(call AddDepends
/nls
)
148 define KernelPackage
/fs-hfs
/description
149 Kernel module for HFS filesystem support
152 $(eval
$(call KernelPackage
,fs-hfs
))
155 define KernelPackage
/fs-hfsplus
157 TITLE
:=HFS
+ filesystem support
158 KCONFIG
:=CONFIG_HFSPLUS_FS
159 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
160 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
161 $(call AddDepends
/nls
,utf8
)
164 define KernelPackage
/fs-hfsplus
/description
165 Kernel module for HFS
+ filesystem support
168 $(eval
$(call KernelPackage
,fs-hfsplus
))
171 define KernelPackage
/fs-isofs
173 TITLE
:=ISO9660 filesystem support
174 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
175 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
176 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
177 $(call AddDepends
/nls
)
180 define KernelPackage
/fs-isofs
/description
181 Kernel module for ISO9660 filesystem support
184 $(eval
$(call KernelPackage
,fs-isofs
))
187 define KernelPackage
/fs-mbcache
189 TITLE
:=mbcache
(used by ext2
/ext3
/ext4
)
190 KCONFIG
:=CONFIG_FS_MBCACHE
191 ifneq ($(CONFIG_FS_MBCACHE
),)
192 FILES
:=$(LINUX_DIR
)/fs
/mbcache.ko
193 AUTOLOAD
:=$(call AutoLoad
,20,mbcache
,1)
197 define KernelPackage
/fs-mbcache
/description
198 Meta Block cache used by ext2
/ext3
199 This package will only be installed if extended attributes
200 are enabled for ext2
/ext3
203 $(eval
$(call KernelPackage
,fs-mbcache
))
206 define KernelPackage
/fs-minix
208 TITLE
:=Minix filesystem support
209 KCONFIG
:=CONFIG_MINIX_FS
210 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
211 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
214 define KernelPackage
/fs-minix
/description
215 Kernel module for Minix filesystem support
218 $(eval
$(call KernelPackage
,fs-minix
))
221 define KernelPackage
/fs-msdos
223 TITLE
:=MSDOS filesystem support
224 KCONFIG
:=CONFIG_MSDOS_FS
225 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
226 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
227 $(call AddDepends
/nls
)
230 define KernelPackage
/fs-msdos
/2.4
231 FILES
:=$(LINUX_DIR
)/fs
/msdos
/msdos.ko
234 define KernelPackage
/fs-msdos
/description
235 Kernel module for MSDOS filesystem support
238 $(eval
$(call KernelPackage
,fs-msdos
))
241 define KernelPackage
/fs-nfs
243 TITLE
:=NFS filesystem support
244 DEPENDS
:=+kmod-fs-nfs-common
248 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
249 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
252 define KernelPackage
/fs-nfs
/description
253 Kernel module for NFS support
256 $(eval
$(call KernelPackage
,fs-nfs
))
259 define KernelPackage
/fs-nfs-common
261 TITLE
:=Common NFS filesystem modules
266 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
267 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko
268 AUTOLOAD
:=$(call AutoLoad
,30,sunrpc lockd
)
271 $(eval
$(call KernelPackage
,fs-nfs-common
))
274 define KernelPackage
/fs-nfs-common-v4
276 TITLE
:=Common NFS V4 filesystem modules
282 FILES
+=$(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko
283 AUTOLOAD
=$(call AutoLoad
,30,auth_rpcgss
)
286 define KernelPackage
/fs-nfs-common-v4
/description
287 Kernel modules for NFS V4
& NFSD V4 kernel support
290 $(eval
$(call KernelPackage
,fs-nfs-common-v4
))
293 define KernelPackage
/fs-nfsd
295 TITLE
:=NFS kernel server support
296 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
298 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
299 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
302 define KernelPackage
/fs-nfsd
/description
303 Kernel module for NFS kernel server support
306 $(eval
$(call KernelPackage
,fs-nfsd
))
309 define KernelPackage
/fs-ntfs
311 TITLE
:=NTFS filesystem support
312 KCONFIG
:=CONFIG_NTFS_FS
313 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
314 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
315 $(call AddDepends
/nls
)
318 define KernelPackage
/fs-ntfs
/description
319 Kernel module for NTFS filesystem support
322 $(eval
$(call KernelPackage
,fs-ntfs
))
325 define KernelPackage
/fs-reiserfs
327 TITLE
:=ReiserFS filesystem support
328 KCONFIG
:=CONFIG_REISERFS_FS
329 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
330 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
333 define KernelPackage
/fs-reiserfs
/description
334 Kernel module for ReiserFS support
337 $(eval
$(call KernelPackage
,fs-reiserfs
))
340 define KernelPackage
/fs-udf
342 TITLE
:=UDF filesystem support
343 KCONFIG
:=CONFIG_UDF_FS
344 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
345 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
346 $(call AddDepends
/nls
)
349 define KernelPackage
/fs-udf
/description
350 Kernel module for UDF filesystem support
353 $(eval
$(call KernelPackage
,fs-udf
))
356 define KernelPackage
/fs-vfat
358 TITLE
:=VFAT filesystem support
363 $(LINUX_DIR
)/fs
/fat
/fat.ko \
364 $(LINUX_DIR
)/fs
/fat
/vfat.ko
365 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
366 $(call AddDepends
/nls
)
369 define KernelPackage
/fs-vfat
/2.4
371 $(LINUX_DIR
)/fs
/fat
/fat.ko \
372 $(LINUX_DIR
)/fs
/vfat
/vfat.ko
375 define KernelPackage
/fs-vfat
/description
376 Kernel module for VFAT filesystem support
379 $(eval
$(call KernelPackage
,fs-vfat
))
382 define KernelPackage
/fs-xfs
384 TITLE
:=XFS filesystem support
385 KCONFIG
:=CONFIG_XFS_FS
386 DEPENDS
:= +kmod-fs-exportfs
387 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
388 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
391 define KernelPackage
/fs-xfs
/description
392 Kernel module for XFS support
395 $(eval
$(call KernelPackage
,fs-xfs
))