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

Last change on this file since 31153 was 31153, checked in by thepeople, 5 years ago

Disable xfs on avr32, it has been failing the build for at least a month

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