d411b1e518ec5a3e300e76fd85ff202ebfed91a6
[openwrt.git] / package / kernel / modules / fs.mk
1 #
2 # Copyright (C) 2006-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 FS_MENU:=Filesystems
9
10 define KernelPackage/fs-autofs4
11 SUBMENU:=$(FS_MENU)
12 TITLE:=AUTOFS4 filesystem support
13 KCONFIG:=CONFIG_AUTOFS4_FS
14 FILES:=$(LINUX_DIR)/fs/autofs4/autofs4.$(LINUX_KMOD_SUFFIX)
15 AUTOLOAD:=$(call AutoLoad,30,autofs4)
16 endef
17
18 define KernelPackage/fs-autofs4/description
19 Kernel module for AutoFS4 support
20 endef
21
22 $(eval $(call KernelPackage,fs-autofs4))
23
24
25 define KernelPackage/fs-btrfs
26 SUBMENU:=$(FS_MENU)
27 TITLE:=BTRFS filesystem support
28 # for crc32c
29 DEPENDS:=@LINUX_2_6 +kmod-crypto-core +kmod-crypto-misc
30 KCONFIG:=\
31 CONFIG_LIBCRC32C \
32 CONFIG_BTRFS_FS \
33 CONFIG_BTRFS_FS_POSIX_ACL=n
34 FILES:=\
35 $(LINUX_DIR)/lib/libcrc32c.$(LINUX_KMOD_SUFFIX) \
36 $(LINUX_DIR)/fs/btrfs/btrfs.$(LINUX_KMOD_SUFFIX)
37 AUTOLOAD:=$(call AutoLoad,30,crc32c libcrc32c btrfs,1)
38 endef
39
40 define KernelPackage/fs-btrfs/description
41 Kernel module for BTRFS support
42 endef
43
44 $(eval $(call KernelPackage,fs-btrfs))
45
46
47 define KernelPackage/fs-cifs
48 SUBMENU:=$(FS_MENU)
49 TITLE:=CIFS support
50 KCONFIG:=CONFIG_CIFS
51 FILES:=$(LINUX_DIR)/fs/cifs/cifs.$(LINUX_KMOD_SUFFIX)
52 AUTOLOAD:=$(call AutoLoad,30,cifs)
53 $(call AddDepends/nls)
54 endef
55
56 define KernelPackage/fs-cifs/description
57 Kernel module for CIFS support
58 endef
59
60 $(eval $(call KernelPackage,fs-cifs))
61
62
63 define KernelPackage/fs-exportfs
64 SUBMENU:=$(FS_MENU)
65 TITLE:=exportfs kernel server support
66 KCONFIG:=CONFIG_EXPORTFS
67 FILES=$(LINUX_DIR)/fs/exportfs/exportfs.$(LINUX_KMOD_SUFFIX)
68 AUTOLOAD:=$(call AutoLoad,20,exportfs)
69 endef
70
71 define KernelPackage/fs-exportfs/description
72 Kernel module for exportfs. Needed for some other modules.
73 endef
74
75 $(eval $(call KernelPackage,fs-exportfs))
76
77
78 define KernelPackage/fs-ext2
79 SUBMENU:=$(FS_MENU)
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.$(LINUX_KMOD_SUFFIX)
84 AUTOLOAD:=$(call AutoLoad,32,ext2,1)
85 endef
86
87 define KernelPackage/fs-ext2/description
88 Kernel module for EXT2 filesystem support
89 endef
90
91 $(eval $(call KernelPackage,fs-ext2,1))
92
93
94 define KernelPackage/fs-ext3
95 SUBMENU:=$(FS_MENU)
96 TITLE:=EXT3 filesystem support
97 KCONFIG:= \
98 CONFIG_EXT3_FS \
99 CONFIG_JBD
100 DEPENDS:=$(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache)
101 FILES:= \
102 $(LINUX_DIR)/fs/ext3/ext3.$(LINUX_KMOD_SUFFIX) \
103 $(LINUX_DIR)/fs/jbd/jbd.$(LINUX_KMOD_SUFFIX)
104 AUTOLOAD:=$(call AutoLoad,31,jbd ext3,1)
105 endef
106
107 define KernelPackage/fs-ext3/description
108 Kernel module for EXT3 filesystem support
109 endef
110
111 $(eval $(call KernelPackage,fs-ext3))
112
113
114 define KernelPackage/fs-ext4
115 SUBMENU:=$(FS_MENU)
116 TITLE:=EXT4 filesystem support
117 KCONFIG:= \
118 CONFIG_EXT4_FS_XATTR=y \
119 CONFIG_EXT4_FS_POSIX_ACL=y \
120 CONFIG_EXT4_FS_SECURITY=y \
121 CONFIG_EXT4_FS \
122 CONFIG_JBD2
123 DEPENDS:= @LINUX_2_6 $(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache)
124 FILES:= \
125 $(LINUX_DIR)/fs/ext4/ext4.$(LINUX_KMOD_SUFFIX) \
126 $(LINUX_DIR)/fs/jbd2/jbd2.$(LINUX_KMOD_SUFFIX)
127 AUTOLOAD:=$(call AutoLoad,30,jbd2 ext4,1)
128 $(call AddDepends/crc16)
129 endef
130
131 define KernelPackage/fs-ext4/description
132 Kernel module for EXT4 filesystem support
133 endef
134
135 $(eval $(call KernelPackage,fs-ext4))
136
137
138 define KernelPackage/fs-hfs
139 SUBMENU:=$(FS_MENU)
140 TITLE:=HFS+ filesystem support
141 KCONFIG:=CONFIG_HFS_FS
142 FILES:=$(LINUX_DIR)/fs/hfs/hfs.$(LINUX_KMOD_SUFFIX)
143 AUTOLOAD:=$(call AutoLoad,30,hfs)
144 $(call AddDepends/nls)
145 endef
146
147 define KernelPackage/fs-hfs/description
148 Kernel module for HFS filesystem support
149 endef
150
151 $(eval $(call KernelPackage,fs-hfs))
152
153
154 define KernelPackage/fs-hfsplus
155 SUBMENU:=$(FS_MENU)
156 TITLE:=HFS+ filesystem support
157 KCONFIG:=CONFIG_HFSPLUS_FS
158 FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.$(LINUX_KMOD_SUFFIX)
159 AUTOLOAD:=$(call AutoLoad,30,hfsplus)
160 $(call AddDepends/nls,utf8)
161 endef
162
163 define KernelPackage/fs-hfsplus/description
164 Kernel module for HFS+ filesystem support
165 endef
166
167 $(eval $(call KernelPackage,fs-hfsplus))
168
169
170 define KernelPackage/fs-isofs
171 SUBMENU:=$(FS_MENU)
172 TITLE:=ISO9660 filesystem support
173 KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
174 FILES:=$(LINUX_DIR)/fs/isofs/isofs.$(LINUX_KMOD_SUFFIX)
175 AUTOLOAD:=$(call AutoLoad,30,isofs)
176 $(call AddDepends/nls)
177 endef
178
179 define KernelPackage/fs-isofs/description
180 Kernel module for ISO9660 filesystem support
181 endef
182
183 $(eval $(call KernelPackage,fs-isofs))
184
185
186 define KernelPackage/fs-mbcache
187 SUBMENU:=$(FS_MENU)
188 TITLE:=mbcache (used by ext2/ext3/ext4)
189 KCONFIG:=CONFIG_FS_MBCACHE
190 ifneq ($(CONFIG_FS_MBCACHE),)
191 FILES:=$(LINUX_DIR)/fs/mbcache.$(LINUX_KMOD_SUFFIX)
192 AUTOLOAD:=$(call AutoLoad,20,mbcache,1)
193 endif
194 endef
195
196 define KernelPackage/fs-mbcache/description
197 Meta Block cache used by ext2/ext3
198 This package will only be installed if extended attributes
199 are enabled for ext2/ext3
200 endef
201
202 $(eval $(call KernelPackage,fs-mbcache))
203
204
205 define KernelPackage/fs-minix
206 SUBMENU:=$(FS_MENU)
207 TITLE:=Minix filesystem support
208 KCONFIG:=CONFIG_MINIX_FS
209 FILES:=$(LINUX_DIR)/fs/minix/minix.$(LINUX_KMOD_SUFFIX)
210 AUTOLOAD:=$(call AutoLoad,30,minix)
211 endef
212
213 define KernelPackage/fs-minix/description
214 Kernel module for Minix filesystem support
215 endef
216
217 $(eval $(call KernelPackage,fs-minix))
218
219
220 define KernelPackage/fs-msdos
221 SUBMENU:=$(FS_MENU)
222 TITLE:=MSDOS filesystem support
223 KCONFIG:=CONFIG_MSDOS_FS
224 FILES:=$(LINUX_DIR)/fs/fat/msdos.$(LINUX_KMOD_SUFFIX)
225 AUTOLOAD:=$(call AutoLoad,40,msdos)
226 $(call AddDepends/nls)
227 endef
228
229 define KernelPackage/fs-msdos/2.4
230 FILES:=$(LINUX_DIR)/fs/msdos/msdos.$(LINUX_KMOD_SUFFIX)
231 endef
232
233 define KernelPackage/fs-msdos/description
234 Kernel module for MSDOS filesystem support
235 endef
236
237 $(eval $(call KernelPackage,fs-msdos))
238
239
240 define KernelPackage/fs-nfs
241 SUBMENU:=$(FS_MENU)
242 TITLE:=NFS filesystem support
243 DEPENDS:=+kmod-fs-nfs-common
244 KCONFIG:= \
245 CONFIG_NFS_FS
246 FILES:= \
247 $(LINUX_DIR)/fs/nfs/nfs.$(LINUX_KMOD_SUFFIX)
248 AUTOLOAD:=$(call AutoLoad,40,nfs)
249 endef
250
251 define KernelPackage/fs-nfs/description
252 Kernel module for NFS support
253 endef
254
255 $(eval $(call KernelPackage,fs-nfs))
256
257
258 define KernelPackage/fs-nfs-common
259 SUBMENU:=$(FS_MENU)
260 TITLE:=Common NFS filesystem modules
261 KCONFIG:= \
262 CONFIG_LOCKD \
263 CONFIG_SUNRPC
264 FILES:= \
265 $(LINUX_DIR)/fs/lockd/lockd.$(LINUX_KMOD_SUFFIX) \
266 $(LINUX_DIR)/net/sunrpc/sunrpc.$(LINUX_KMOD_SUFFIX)
267 AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd)
268 endef
269
270 $(eval $(call KernelPackage,fs-nfs-common))
271
272
273 define KernelPackage/fs-nfs-common-v4
274 SUBMENU:=$(FS_MENU)
275 TITLE:=Common NFS V4 filesystem modules
276 KCONFIG+=\
277 CONFIG_SUNRPC_GSS\
278 CONFIG_NFS_V4=y\
279 CONFIG_NFSD_V4=y
280 DEPENDS:= @LINUX_2_6 @BROKEN
281 FILES+=$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.$(LINUX_KMOD_SUFFIX)
282 AUTOLOAD=$(call AutoLoad,30,auth_rpcgss)
283 endef
284
285 define KernelPackage/fs-nfs-common-v4/description
286 Kernel modules for NFS V4 & NFSD V4 kernel support
287 endef
288
289 $(eval $(call KernelPackage,fs-nfs-common-v4))
290
291
292 define KernelPackage/fs-nfsd
293 SUBMENU:=$(FS_MENU)
294 TITLE:=NFS kernel server support
295 DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs
296 KCONFIG:=CONFIG_NFSD
297 FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.$(LINUX_KMOD_SUFFIX)
298 AUTOLOAD:=$(call AutoLoad,40,nfsd)
299 endef
300
301 define KernelPackage/fs-nfsd/description
302 Kernel module for NFS kernel server support
303 endef
304
305 $(eval $(call KernelPackage,fs-nfsd))
306
307
308 define KernelPackage/fs-ntfs
309 SUBMENU:=$(FS_MENU)
310 TITLE:=NTFS filesystem support
311 KCONFIG:=CONFIG_NTFS_FS
312 FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.$(LINUX_KMOD_SUFFIX)
313 AUTOLOAD:=$(call AutoLoad,30,ntfs)
314 $(call AddDepends/nls)
315 endef
316
317 define KernelPackage/fs-ntfs/description
318 Kernel module for NTFS filesystem support
319 endef
320
321 $(eval $(call KernelPackage,fs-ntfs))
322
323
324 define KernelPackage/fs-reiserfs
325 SUBMENU:=$(FS_MENU)
326 TITLE:=ReiserFS filesystem support
327 KCONFIG:=CONFIG_REISERFS_FS
328 FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.$(LINUX_KMOD_SUFFIX)
329 AUTOLOAD:=$(call AutoLoad,30,reiserfs,1)
330 endef
331
332 define KernelPackage/fs-reiserfs/description
333 Kernel module for ReiserFS support
334 endef
335
336 $(eval $(call KernelPackage,fs-reiserfs))
337
338
339 define KernelPackage/fs-udf
340 SUBMENU:=$(FS_MENU)
341 TITLE:=UDF filesystem support
342 KCONFIG:=CONFIG_UDF_FS
343 FILES:=$(LINUX_DIR)/fs/udf/udf.$(LINUX_KMOD_SUFFIX)
344 AUTOLOAD:=$(call AutoLoad,30,udf)
345 $(call AddDepends/nls)
346 endef
347
348 define KernelPackage/fs-udf/description
349 Kernel module for UDF filesystem support
350 endef
351
352 $(eval $(call KernelPackage,fs-udf))
353
354
355 define KernelPackage/fs-vfat
356 SUBMENU:=$(FS_MENU)
357 TITLE:=VFAT filesystem support
358 KCONFIG:= \
359 CONFIG_FAT_FS \
360 CONFIG_VFAT_FS
361 FILES:= \
362 $(LINUX_DIR)/fs/fat/fat.$(LINUX_KMOD_SUFFIX) \
363 $(LINUX_DIR)/fs/fat/vfat.$(LINUX_KMOD_SUFFIX)
364 AUTOLOAD:=$(call AutoLoad,30,fat vfat)
365 $(call AddDepends/nls)
366 endef
367
368 define KernelPackage/fs-vfat/2.4
369 FILES:= \
370 $(LINUX_DIR)/fs/fat/fat.$(LINUX_KMOD_SUFFIX) \
371 $(LINUX_DIR)/fs/vfat/vfat.$(LINUX_KMOD_SUFFIX)
372 endef
373
374 define KernelPackage/fs-vfat/description
375 Kernel module for VFAT filesystem support
376 endef
377
378 $(eval $(call KernelPackage,fs-vfat))
379
380
381 define KernelPackage/fs-xfs
382 SUBMENU:=$(FS_MENU)
383 TITLE:=XFS filesystem support
384 KCONFIG:=CONFIG_XFS_FS
385 DEPENDS:= +kmod-fs-exportfs
386 FILES:=$(LINUX_DIR)/fs/xfs/xfs.$(LINUX_KMOD_SUFFIX)
387 AUTOLOAD:=$(call AutoLoad,30,xfs,1)
388 endef
389
390 define KernelPackage/fs-xfs/description
391 Kernel module for XFS support
392 endef
393
394 $(eval $(call KernelPackage,fs-xfs))
This page took 0.055279 seconds and 3 git commands to generate.