source: trunk/package/kernel/modules/fs.mk @ 28666

Last change on this file since 28666 was 28666, checked in by nico, 5 years ago

package/kernel: add dependency on kmod-lib-crc-itu-t to kmod-fs-udf (closes: #8045)

  • Property svn:eol-style set to native
File size: 8.6 KB
Line 
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
8FS_MENU:=Filesystems
9
10define 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)
16endef
17
18define KernelPackage/fs-autofs4/description
19  Kernel module for AutoFS4 support
20endef
21
22$(eval $(call KernelPackage,fs-autofs4))
23
24
25define 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)
35endef
36
37define KernelPackage/fs-btrfs/description
38  Kernel module for BTRFS support
39endef
40
41$(eval $(call KernelPackage,fs-btrfs))
42
43
44define 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
58endef
59
60define KernelPackage/fs-cifs/description
61 Kernel module for CIFS support
62endef
63
64$(eval $(call KernelPackage,fs-cifs))
65
66
67define 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)
73endef
74
75define KernelPackage/fs-exportfs/description
76 Kernel module for exportfs. Needed for some other modules.
77endef
78
79$(eval $(call KernelPackage,fs-exportfs))
80
81
82define 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)
89endef
90
91define KernelPackage/fs-ext2/description
92 Kernel module for EXT2 filesystem support
93endef
94
95$(eval $(call KernelPackage,fs-ext2,1))
96
97
98define 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)
109endef
110
111define KernelPackage/fs-ext3/description
112 Kernel module for EXT3 filesystem support
113endef
114
115$(eval $(call KernelPackage,fs-ext3))
116
117
118define 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)
135endef
136
137define KernelPackage/fs-ext4/description
138 Kernel module for EXT4 filesystem support
139endef
140
141$(eval $(call KernelPackage,fs-ext4))
142
143
144define 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)
151endef
152
153define KernelPackage/fs-hfs/description
154 Kernel module for HFS filesystem support
155endef
156
157$(eval $(call KernelPackage,fs-hfs))
158
159
160define 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)
167endef
168
169define KernelPackage/fs-hfsplus/description
170 Kernel module for HFS+ filesystem support
171endef
172
173$(eval $(call KernelPackage,fs-hfsplus))
174
175
176define 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)
183endef
184
185define KernelPackage/fs-isofs/description
186 Kernel module for ISO9660 filesystem support
187endef
188
189$(eval $(call KernelPackage,fs-isofs))
190
191
192define 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)
198endef
199
200define KernelPackage/fs-minix/description
201 Kernel module for Minix filesystem support
202endef
203
204$(eval $(call KernelPackage,fs-minix))
205
206
207define 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)
214endef
215
216define KernelPackage/fs-msdos/description
217 Kernel module for MSDOS filesystem support
218endef
219
220$(eval $(call KernelPackage,fs-msdos))
221
222
223define 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)
232endef
233
234define KernelPackage/fs-nfs/description
235 Kernel module for NFS support
236endef
237
238$(eval $(call KernelPackage,fs-nfs))
239
240
241define 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)
251endef
252
253$(eval $(call KernelPackage,fs-nfs-common))
254
255
256define 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)
266endef
267
268define KernelPackage/fs-nfs-common-v4/description
269 Kernel modules for NFS V4 & NFSD V4 kernel support
270endef
271
272$(eval $(call KernelPackage,fs-nfs-common-v4))
273
274
275define 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)
282endef
283
284define KernelPackage/fs-nfsd/description
285 Kernel module for NFS kernel server support
286endef
287
288$(eval $(call KernelPackage,fs-nfsd))
289
290
291define 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)
298endef
299
300define KernelPackage/fs-ntfs/description
301 Kernel module for NTFS filesystem support
302endef
303
304$(eval $(call KernelPackage,fs-ntfs))
305
306
307define 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)
313endef
314
315define KernelPackage/fs-reiserfs/description
316 Kernel module for ReiserFS support
317endef
318
319$(eval $(call KernelPackage,fs-reiserfs))
320
321
322define 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)
330endef
331
332define KernelPackage/fs-udf/description
333 Kernel module for UDF filesystem support
334endef
335
336$(eval $(call KernelPackage,fs-udf))
337
338
339define 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)
350endef
351
352define KernelPackage/fs-vfat/description
353 Kernel module for VFAT filesystem support
354endef
355
356$(eval $(call KernelPackage,fs-vfat))
357
358
359define 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)
366endef
367
368define KernelPackage/fs-xfs/description
369 Kernel module for XFS support
370endef
371
372$(eval $(call KernelPackage,fs-xfs))
Note: See TracBrowser for help on using the repository browser.