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