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