kernel: add more SCTP related configuration symbols
[openwrt/svn-archive/archive.git] / package / kernel / modules / fs.mk
1 #
2 # Copyright (C) 2006-2011 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-lib-crc32c +kmod-lib-lzo +kmod-lib-zlib
29 KCONFIG:=\
30 CONFIG_BTRFS_FS \
31 CONFIG_BTRFS_FS_POSIX_ACL=n \
32 CONFIG_BTRFS_FS_CHECK_INTEGRITY=n
33 FILES:=\
34 $(LINUX_DIR)/fs/btrfs/btrfs.ko
35 AUTOLOAD:=$(call AutoLoad,30,btrfs,1)
36 endef
37
38 define KernelPackage/fs-btrfs/description
39 Kernel module for BTRFS support
40 endef
41
42 $(eval $(call KernelPackage,fs-btrfs))
43
44
45 define KernelPackage/fs-cifs
46 SUBMENU:=$(FS_MENU)
47 TITLE:=CIFS support
48 KCONFIG:= \
49 CONFIG_CIFS \
50 CONFIG_CIFS_DFS_UPCALL=n \
51 CONFIG_CIFS_UPCALL=n
52 FILES:=$(LINUX_DIR)/fs/cifs/cifs.ko
53 AUTOLOAD:=$(call AutoLoad,30,cifs)
54 $(call AddDepends/nls)
55 DEPENDS+= \
56 +kmod-crypto-arc4 \
57 +kmod-crypto-hmac \
58 +kmod-crypto-md5 \
59 +kmod-crypto-md4 \
60 +kmod-crypto-des \
61 +kmod-crypto-ecb \
62 +!LINUX_3_3&&!LINUX_3_6:kmod-crypto-sha256
63 endef
64
65 define KernelPackage/fs-cifs/description
66 Kernel module for CIFS support
67 endef
68
69 $(eval $(call KernelPackage,fs-cifs))
70
71
72 define KernelPackage/fs-configfs
73 SUBMENU:=$(FS_MENU)
74 TITLE:=Configuration filesystem support
75 KCONFIG:= \
76 CONFIG_CONFIGFS_FS
77 FILES:=$(LINUX_DIR)/fs/configfs/configfs.ko
78 AUTOLOAD:=$(call AutoLoad,30,configfs)
79 endef
80
81 define KernelPackage/fs-configfs/description
82 Kernel module for configfs support
83 endef
84
85 $(eval $(call KernelPackage,fs-configfs))
86
87
88 define KernelPackage/fs-exportfs
89 SUBMENU:=$(FS_MENU)
90 TITLE:=exportfs kernel server support
91 KCONFIG:=CONFIG_EXPORTFS
92 FILES=$(LINUX_DIR)/fs/exportfs/exportfs.ko
93 AUTOLOAD:=$(call AutoLoad,20,exportfs)
94 endef
95
96 define KernelPackage/fs-exportfs/description
97 Kernel module for exportfs. Needed for some other modules.
98 endef
99
100 $(eval $(call KernelPackage,fs-exportfs))
101
102
103 define KernelPackage/fs-ext4
104 SUBMENU:=$(FS_MENU)
105 TITLE:=EXT4 filesystem support
106 KCONFIG:= \
107 CONFIG_EXT4_FS \
108 CONFIG_JBD2
109 FILES:= \
110 $(LINUX_DIR)/fs/ext4/ext4.ko \
111 $(LINUX_DIR)/fs/jbd2/jbd2.ko \
112 $(LINUX_DIR)/fs/mbcache.ko
113 AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1)
114 $(call AddDepends/crc16, +!LINUX_3_3:kmod-crypto-hash)
115 endef
116
117 define KernelPackage/fs-ext4/description
118 Kernel module for EXT4 filesystem support
119 endef
120
121 $(eval $(call KernelPackage,fs-ext4))
122
123
124 define KernelPackage/fuse
125 SUBMENU:=$(FS_MENU)
126 TITLE:=FUSE (Filesystem in Userspace) support
127 KCONFIG:= CONFIG_FUSE_FS
128 FILES:=$(LINUX_DIR)/fs/fuse/fuse.ko
129 AUTOLOAD:=$(call AutoLoad,80,fuse)
130 endef
131
132 define KernelPackage/fuse/description
133 Kernel module for userspace filesystem support
134 endef
135
136 $(eval $(call KernelPackage,fuse))
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-minix
188 SUBMENU:=$(FS_MENU)
189 TITLE:=Minix filesystem support
190 KCONFIG:=CONFIG_MINIX_FS
191 FILES:=$(LINUX_DIR)/fs/minix/minix.ko
192 AUTOLOAD:=$(call AutoLoad,30,minix)
193 endef
194
195 define KernelPackage/fs-minix/description
196 Kernel module for Minix filesystem support
197 endef
198
199 $(eval $(call KernelPackage,fs-minix))
200
201
202 define KernelPackage/fs-msdos
203 SUBMENU:=$(FS_MENU)
204 TITLE:=MSDOS filesystem support
205 KCONFIG:=CONFIG_MSDOS_FS
206 FILES:=$(LINUX_DIR)/fs/fat/msdos.ko
207 AUTOLOAD:=$(call AutoLoad,40,msdos)
208 $(call AddDepends/nls)
209 endef
210
211 define KernelPackage/fs-msdos/description
212 Kernel module for MSDOS filesystem support
213 endef
214
215 $(eval $(call KernelPackage,fs-msdos))
216
217
218 define KernelPackage/fs-nfs
219 SUBMENU:=$(FS_MENU)
220 TITLE:=NFS filesystem support
221 DEPENDS:=+kmod-fs-nfs-common
222 KCONFIG:= \
223 CONFIG_NFS_FS \
224 CONFIG_NFS_USE_LEGACY_DNS=n \
225 CONFIG_NFS_USE_NEW_IDMAPPER=n
226 FILES:= \
227 $(LINUX_DIR)/fs/nfs/nfs.ko
228 AUTOLOAD:=$(call AutoLoad,40,nfs)
229 endef
230
231 define KernelPackage/fs-nfs/description
232 Kernel module for NFS support
233 endef
234
235 $(eval $(call KernelPackage,fs-nfs))
236
237
238 define KernelPackage/fs-nfs-common
239 SUBMENU:=$(FS_MENU)
240 TITLE:=Common NFS filesystem modules
241 KCONFIG:= \
242 CONFIG_LOCKD \
243 CONFIG_SUNRPC
244 FILES:= \
245 $(LINUX_DIR)/fs/lockd/lockd.ko \
246 $(LINUX_DIR)/net/sunrpc/sunrpc.ko
247 AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd)
248 endef
249
250 $(eval $(call KernelPackage,fs-nfs-common))
251
252
253 define KernelPackage/fs-nfs-common-v4
254 SUBMENU:=$(FS_MENU)
255 TITLE:=Common NFS V4 filesystem modules
256 KCONFIG+=\
257 CONFIG_SUNRPC_GSS\
258 CONFIG_NFS_V4=y\
259 CONFIG_NFSD_V4=y
260 DEPENDS:= @BROKEN
261 FILES+=$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko
262 AUTOLOAD=$(call AutoLoad,30,auth_rpcgss)
263 endef
264
265 define KernelPackage/fs-nfs-common-v4/description
266 Kernel modules for NFS V4 & NFSD V4 kernel support
267 endef
268
269 $(eval $(call KernelPackage,fs-nfs-common-v4))
270
271
272 define KernelPackage/fs-nfsd
273 SUBMENU:=$(FS_MENU)
274 TITLE:=NFS kernel server support
275 DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs
276 KCONFIG:= \
277 CONFIG_NFSD \
278 CONFIG_NFSD_FAULT_INJECTION=n
279 FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
280 AUTOLOAD:=$(call AutoLoad,40,nfsd)
281 endef
282
283 define KernelPackage/fs-nfsd/description
284 Kernel module for NFS kernel server support
285 endef
286
287 $(eval $(call KernelPackage,fs-nfsd))
288
289
290 define KernelPackage/fs-ntfs
291 SUBMENU:=$(FS_MENU)
292 TITLE:=NTFS filesystem support
293 KCONFIG:=CONFIG_NTFS_FS
294 FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.ko
295 AUTOLOAD:=$(call AutoLoad,30,ntfs)
296 $(call AddDepends/nls)
297 endef
298
299 define KernelPackage/fs-ntfs/description
300 Kernel module for NTFS filesystem support
301 endef
302
303 $(eval $(call KernelPackage,fs-ntfs))
304
305
306 define KernelPackage/fs-reiserfs
307 SUBMENU:=$(FS_MENU)
308 TITLE:=ReiserFS filesystem support
309 KCONFIG:=CONFIG_REISERFS_FS
310 FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.ko
311 AUTOLOAD:=$(call AutoLoad,30,reiserfs,1)
312 endef
313
314 define KernelPackage/fs-reiserfs/description
315 Kernel module for ReiserFS support
316 endef
317
318 $(eval $(call KernelPackage,fs-reiserfs))
319
320
321 define KernelPackage/fs-udf
322 SUBMENU:=$(FS_MENU)
323 TITLE:=UDF filesystem support
324 KCONFIG:=CONFIG_UDF_FS
325 FILES:=$(LINUX_DIR)/fs/udf/udf.ko
326 AUTOLOAD:=$(call AutoLoad,30,udf)
327 DEPENDS:=+kmod-lib-crc-itu-t
328 $(call AddDepends/nls)
329 endef
330
331 define KernelPackage/fs-udf/description
332 Kernel module for UDF filesystem support
333 endef
334
335 $(eval $(call KernelPackage,fs-udf))
336
337
338 define KernelPackage/fs-vfat
339 SUBMENU:=$(FS_MENU)
340 TITLE:=VFAT filesystem support
341 KCONFIG:= \
342 CONFIG_FAT_FS \
343 CONFIG_VFAT_FS
344 FILES:= \
345 $(LINUX_DIR)/fs/fat/fat.ko \
346 $(LINUX_DIR)/fs/fat/vfat.ko
347 AUTOLOAD:=$(call AutoLoad,30,fat vfat)
348 $(call AddDepends/nls)
349 endef
350
351 define KernelPackage/fs-vfat/description
352 Kernel module for VFAT filesystem support
353 endef
354
355 $(eval $(call KernelPackage,fs-vfat))
356
357
358 define KernelPackage/fs-xfs
359 SUBMENU:=$(FS_MENU)
360 TITLE:=XFS filesystem support
361 KCONFIG:=CONFIG_XFS_FS
362 DEPENDS:= +kmod-fs-exportfs @!avr32
363 FILES:=$(LINUX_DIR)/fs/xfs/xfs.ko
364 AUTOLOAD:=$(call AutoLoad,30,xfs,1)
365 endef
366
367 define KernelPackage/fs-xfs/description
368 Kernel module for XFS support
369 endef
370
371 $(eval $(call KernelPackage,fs-xfs))