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

Archive Download this file



interactive