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