[package] support pre-md5summed passwords in 6in4 scripts
[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.ko
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:=+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.ko \
36 $(LINUX_DIR)/fs/btrfs/btrfs.ko
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.ko
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.ko
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.ko
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.ko \
103 $(LINUX_DIR)/fs/jbd/jbd.ko
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_EXT4DEV_COMPAT=n \
119 CONFIG_EXT4_FS_XATTR=y \
120 CONFIG_EXT4_FS_POSIX_ACL=y \
121 CONFIG_EXT4_FS_SECURITY=y \
122 CONFIG_EXT4_FS \
123 CONFIG_JBD2
124 DEPENDS:= $(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache)
125 FILES:= \
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)
130 endef
131
132 define KernelPackage/fs-ext4/description
133 Kernel module for EXT4 filesystem support
134 endef
135
136 $(eval $(call KernelPackage,fs-ext4))
137
138
139 define KernelPackage/fs-hfs
140 SUBMENU:=$(FS_MENU)
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)
146 endef
147
148 define KernelPackage/fs-hfs/description
149 Kernel module for HFS filesystem support
150 endef
151
152 $(eval $(call KernelPackage,fs-hfs))
153
154
155 define KernelPackage/fs-hfsplus
156 SUBMENU:=$(FS_MENU)
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)
162 endef
163
164 define KernelPackage/fs-hfsplus/description
165 Kernel module for HFS+ filesystem support
166 endef
167
168 $(eval $(call KernelPackage,fs-hfsplus))
169
170
171 define KernelPackage/fs-isofs
172 SUBMENU:=$(FS_MENU)
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)
178 endef
179
180 define KernelPackage/fs-isofs/description
181 Kernel module for ISO9660 filesystem support
182 endef
183
184 $(eval $(call KernelPackage,fs-isofs))
185
186
187 define KernelPackage/fs-mbcache
188 SUBMENU:=$(FS_MENU)
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)
194 endif
195 endef
196
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
201 endef
202
203 $(eval $(call KernelPackage,fs-mbcache))
204
205
206 define KernelPackage/fs-minix
207 SUBMENU:=$(FS_MENU)
208 TITLE:=Minix filesystem support
209 KCONFIG:=CONFIG_MINIX_FS
210 FILES:=$(LINUX_DIR)/fs/minix/minix.ko
211 AUTOLOAD:=$(call AutoLoad,30,minix)
212 endef
213
214 define KernelPackage/fs-minix/description
215 Kernel module for Minix filesystem support
216 endef
217
218 $(eval $(call KernelPackage,fs-minix))
219
220
221 define KernelPackage/fs-msdos
222 SUBMENU:=$(FS_MENU)
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)
228 endef
229
230 define KernelPackage/fs-msdos/2.4
231 FILES:=$(LINUX_DIR)/fs/msdos/msdos.ko
232 endef
233
234 define KernelPackage/fs-msdos/description
235 Kernel module for MSDOS filesystem support
236 endef
237
238 $(eval $(call KernelPackage,fs-msdos))
239
240
241 define KernelPackage/fs-nfs
242 SUBMENU:=$(FS_MENU)
243 TITLE:=NFS filesystem support
244 DEPENDS:=+kmod-fs-nfs-common
245 KCONFIG:= \
246 CONFIG_NFS_FS
247 FILES:= \
248 $(LINUX_DIR)/fs/nfs/nfs.ko
249 AUTOLOAD:=$(call AutoLoad,40,nfs)
250 endef
251
252 define KernelPackage/fs-nfs/description
253 Kernel module for NFS support
254 endef
255
256 $(eval $(call KernelPackage,fs-nfs))
257
258
259 define KernelPackage/fs-nfs-common
260 SUBMENU:=$(FS_MENU)
261 TITLE:=Common NFS filesystem modules
262 KCONFIG:= \
263 CONFIG_LOCKD \
264 CONFIG_SUNRPC
265 FILES:= \
266 $(LINUX_DIR)/fs/lockd/lockd.ko \
267 $(LINUX_DIR)/net/sunrpc/sunrpc.ko
268 AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd)
269 endef
270
271 $(eval $(call KernelPackage,fs-nfs-common))
272
273
274 define KernelPackage/fs-nfs-common-v4
275 SUBMENU:=$(FS_MENU)
276 TITLE:=Common NFS V4 filesystem modules
277 KCONFIG+=\
278 CONFIG_SUNRPC_GSS\
279 CONFIG_NFS_V4=y\
280 CONFIG_NFSD_V4=y
281 DEPENDS:= @BROKEN
282 FILES+=$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko
283 AUTOLOAD=$(call AutoLoad,30,auth_rpcgss)
284 endef
285
286 define KernelPackage/fs-nfs-common-v4/description
287 Kernel modules for NFS V4 & NFSD V4 kernel support
288 endef
289
290 $(eval $(call KernelPackage,fs-nfs-common-v4))
291
292
293 define KernelPackage/fs-nfsd
294 SUBMENU:=$(FS_MENU)
295 TITLE:=NFS kernel server support
296 DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs
297 KCONFIG:=CONFIG_NFSD
298 FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
299 AUTOLOAD:=$(call AutoLoad,40,nfsd)
300 endef
301
302 define KernelPackage/fs-nfsd/description
303 Kernel module for NFS kernel server support
304 endef
305
306 $(eval $(call KernelPackage,fs-nfsd))
307
308
309 define KernelPackage/fs-ntfs
310 SUBMENU:=$(FS_MENU)
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)
316 endef
317
318 define KernelPackage/fs-ntfs/description
319 Kernel module for NTFS filesystem support
320 endef
321
322 $(eval $(call KernelPackage,fs-ntfs))
323
324
325 define KernelPackage/fs-reiserfs
326 SUBMENU:=$(FS_MENU)
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)
331 endef
332
333 define KernelPackage/fs-reiserfs/description
334 Kernel module for ReiserFS support
335 endef
336
337 $(eval $(call KernelPackage,fs-reiserfs))
338
339
340 define KernelPackage/fs-udf
341 SUBMENU:=$(FS_MENU)
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)
347 endef
348
349 define KernelPackage/fs-udf/description
350 Kernel module for UDF filesystem support
351 endef
352
353 $(eval $(call KernelPackage,fs-udf))
354
355
356 define KernelPackage/fs-vfat
357 SUBMENU:=$(FS_MENU)
358 TITLE:=VFAT filesystem support
359 KCONFIG:= \
360 CONFIG_FAT_FS \
361 CONFIG_VFAT_FS
362 FILES:= \
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)
367 endef
368
369 define KernelPackage/fs-vfat/2.4
370 FILES:= \
371 $(LINUX_DIR)/fs/fat/fat.ko \
372 $(LINUX_DIR)/fs/vfat/vfat.ko
373 endef
374
375 define KernelPackage/fs-vfat/description
376 Kernel module for VFAT filesystem support
377 endef
378
379 $(eval $(call KernelPackage,fs-vfat))
380
381
382 define KernelPackage/fs-xfs
383 SUBMENU:=$(FS_MENU)
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)
389 endef
390
391 define KernelPackage/fs-xfs/description
392 Kernel module for XFS support
393 endef
394
395 $(eval $(call KernelPackage,fs-xfs))
This page took 0.072926 seconds and 5 git commands to generate.