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