dfe25a1cd74df6cbbe83fef97cf6cdc562b975df
[openwrt/staging/yousong.git] / package / kernel / modules / fs.mk
1 FSMENU:=Filesystems
2
3 define KernelPackage/nls/Depends
4 ifneq ($(KERNEL),2.4)
5 DEPENDS+= +kmod-nls-base $(foreach m,$(1),+kmod-nls-$(m))
6 endif
7 endef
8
9 define KernelPackage/fs-cifs
10 SUBMENU:=$(FSMENU)
11 TITLE:=CIFS support
12 DEPENDS:=+kmod-nls-base
13 KCONFIG:=CONFIG_CIFS
14 FILES:=$(LINUX_DIR)/fs/cifs/cifs.$(LINUX_KMOD_SUFFIX)
15 AUTOLOAD:=$(call AutoLoad,30,cifs)
16 $(call KernelPackage/nls/Depends)
17 endef
18
19
20 define KernelPackage/fs-cifs/description
21 Kernel module for CIFS support
22 endef
23
24 $(eval $(call KernelPackage,fs-cifs))
25
26
27 define KernelPackage/fs-minix
28 SUBMENU:=$(FSMENU)
29 TITLE:=Minix filesystem support
30 KCONFIG:=CONFIG_MINIX_FS
31 FILES:=$(LINUX_DIR)/fs/minix/minix.$(LINUX_KMOD_SUFFIX)
32 AUTOLOAD:=$(call AutoLoad,30,minix)
33 endef
34
35 define KernelPackage/fs-minix/description
36 Kernel module for Minix filesystem support
37 endef
38
39 $(eval $(call KernelPackage,fs-minix))
40
41
42 define KernelPackage/fs-ntfs
43 SUBMENU:=$(FSMENU)
44 TITLE:=NTFS filesystem support
45 KCONFIG:=CONFIG_NTFS_FS
46 FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.$(LINUX_KMOD_SUFFIX)
47 AUTOLOAD:=$(call AutoLoad,30,ntfs)
48 endef
49
50 define KernelPackage/fs-ntfs/description
51 Kernel module for NTFS filesystem support
52 endef
53
54 $(eval $(call KernelPackage,fs-ntfs))
55
56
57 define KernelPackage/fs-ext2
58 SUBMENU:=$(FSMENU)
59 TITLE:=EXT2 filesystem support
60 KCONFIG:=CONFIG_EXT2_FS
61 FILES:=$(LINUX_DIR)/fs/ext2/ext2.$(LINUX_KMOD_SUFFIX)
62 AUTOLOAD:=$(call AutoLoad,30,ext2)
63 endef
64
65 define KernelPackage/fs-ext2/description
66 Kernel module for EXT2 filesystem support
67 endef
68
69 $(eval $(call KernelPackage,fs-ext2))
70
71
72 define KernelPackage/fs-ext3
73 SUBMENU:=$(FSMENU)
74 TITLE:=EXT3 filesystem support
75 KCONFIG:= \
76 CONFIG_EXT3_FS \
77 CONFIG_JBD
78 FILES:= \
79 $(LINUX_DIR)/fs/ext3/ext3.$(LINUX_KMOD_SUFFIX) \
80 $(LINUX_DIR)/fs/jbd/jbd.$(LINUX_KMOD_SUFFIX)
81 AUTOLOAD:=$(call AutoLoad,30,jbd ext3)
82 endef
83
84 define KernelPackage/fs-ext3/description
85 Kernel module for EXT3 filesystem support
86 endef
87
88 $(eval $(call KernelPackage,fs-ext3))
89
90
91 define KernelPackage/fs-hfs
92 SUBMENU:=$(FSMENU)
93 TITLE:=HFS+ filesystem support
94 DEPENDS:=+kmod-nls-base
95 KCONFIG:=CONFIG_HFS_FS
96 FILES:=$(LINUX_DIR)/fs/hfs/hfs.$(LINUX_KMOD_SUFFIX)
97 AUTOLOAD:=$(call AutoLoad,30,hfs)
98 $(call KernelPackage/nls/Depends)
99 endef
100
101 define KernelPackage/fs-hfs/description
102 Kernel module for HFS filesystem support
103 endef
104
105 $(eval $(call KernelPackage,fs-hfs))
106
107
108 define KernelPackage/fs-hfsplus
109 SUBMENU:=$(FSMENU)
110 TITLE:=HFS+ filesystem support
111 DEPENDS:=+kmod-nls-base
112 KCONFIG:=CONFIG_HFSPLUS_FS
113 FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.$(LINUX_KMOD_SUFFIX)
114 AUTOLOAD:=$(call AutoLoad,30,hfsplus)
115 $(call KernelPackage/nls/Depends,utf8)
116 endef
117
118
119 define KernelPackage/fs-hfsplus/description
120 Kernel module for HFS+ filesystem support
121 endef
122
123 $(eval $(call KernelPackage,fs-hfsplus))
124
125
126 define KernelPackage/fs-isofs
127 SUBMENU:=$(FSMENU)
128 TITLE:=ISO9660 filesystem support
129 KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
130 FILES:=$(LINUX_DIR)/fs/isofs/isofs.$(LINUX_KMOD_SUFFIX)
131 AUTOLOAD:=$(call AutoLoad,30,isofs)
132 $(call KernelPackage/nls/Depends)
133 endef
134
135
136 define KernelPackage/fs-isofs/description
137 Kernel module for ISO9660 filesystem support
138 endef
139
140 $(eval $(call KernelPackage,fs-isofs))
141
142
143 define KernelPackage/fs-udf
144 SUBMENU:=$(FSMENU)
145 TITLE:=UDF filesystem support
146 DEPENDS:=+kmod-nls-base
147 KCONFIG:=CONFIG_UDF_FS
148 FILES:=$(LINUX_DIR)/fs/udf/udf.$(LINUX_KMOD_SUFFIX)
149 AUTOLOAD:=$(call AutoLoad,30,udf)
150 $(call KernelPackage/nls/Depends)
151 endef
152
153
154 define KernelPackage/fs-udf/description
155 Kernel module for UDF filesystem support
156 endef
157
158 $(eval $(call KernelPackage,fs-udf))
159
160
161 define KernelPackage/fs-nfs
162 SUBMENU:=$(FSMENU)
163 TITLE:=NFS filesystem support
164 KCONFIG:= \
165 CONFIG_NFS_FS \
166 CONFIG_LOCKD \
167 CONFIG_SUNRPC
168 FILES:= \
169 $(LINUX_DIR)/fs/nfs/nfs.$(LINUX_KMOD_SUFFIX) \
170 $(LINUX_DIR)/fs/lockd/lockd.$(LINUX_KMOD_SUFFIX) \
171 $(LINUX_DIR)/net/sunrpc/sunrpc.$(LINUX_KMOD_SUFFIX)
172 AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd nfs)
173 endef
174
175 define KernelPackage/fs-nfs/description
176 Kernel module for NFS support
177 endef
178
179 $(eval $(call KernelPackage,fs-nfs))
180
181
182 define KernelPackage/fs-nfsd
183 SUBMENU:=$(FSMENU)
184 TITLE:=NFS kernel server support
185 KCONFIG:=CONFIG_NFSD
186 FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.$(LINUX_KMOD_SUFFIX)
187 AUTOLOAD:=$(call AutoLoad,40,nfsd)
188 endef
189
190 define KernelPackage/fs-nfsd/2.6
191 KCONFIG+=CONFIG_EXPORTFS
192 FILES+=$(LINUX_DIR)/fs/exportfs/exportfs.$(LINUX_KMOD_SUFFIX)
193 AUTOLOAD+=$(call AutoLoad,30,exportfs)
194 endef
195
196 define KernelPackage/fs-nfsd/description
197 Kernel module for NFS kernel server support
198 endef
199
200 $(eval $(call KernelPackage,fs-nfsd))
201
202
203 define KernelPackage/fs-msdos
204 SUBMENU:=$(FSMENU)
205 TITLE:=MSDOS filesystem support
206 DEPENDS:=+kmod-nls-base
207 KCONFIG:=CONFIG_MSDOS_FS
208 FILES:=$(LINUX_DIR)/fs/msdos/msdos.$(LINUX_KMOD_SUFFIX)
209 AUTOLOAD:=$(call AutoLoad,40,msdos)
210 $(call KernelPackage/nls/Depends)
211 endef
212
213
214 define KernelPackage/fs-msdos/description
215 Kernel module for MSDOS filesystem support
216 endef
217
218 $(eval $(call KernelPackage,fs-msdos))
219
220
221 define KernelPackage/fs-vfat
222 SUBMENU:=$(FSMENU)
223 TITLE:=VFAT filesystem support
224 KCONFIG:= \
225 CONFIG_FAT_FS \
226 CONFIG_VFAT_FS
227 FILES:= \
228 $(LINUX_DIR)/fs/fat/fat.$(LINUX_KMOD_SUFFIX) \
229 $(LINUX_DIR)/fs/vfat/vfat.$(LINUX_KMOD_SUFFIX)
230 AUTOLOAD:=$(call AutoLoad,30,fat vfat)
231 $(call KernelPackage/nls/Depends)
232 endef
233
234
235 define KernelPackage/fs-vfat/description
236 Kernel module for VFAT filesystem support
237 endef
238
239 $(eval $(call KernelPackage,fs-vfat))
240
241
242 define KernelPackage/fs-xfs
243 SUBMENU:=$(FSMENU)
244 TITLE:=XFS filesystem support
245 KCONFIG:=CONFIG_XFS_FS
246 FILES:=$(LINUX_DIR)/fs/xfs/xfs.$(LINUX_KMOD_SUFFIX)
247 AUTOLOAD:=$(call AutoLoad,30,xfs)
248 endef
249
250 define KernelPackage/fs-xfs/description
251 Kernel module for XFS support
252 endef
253
254 $(eval $(call KernelPackage,fs-xfs))
255
256
257 define KernelPackage/nls-base
258 SUBMENU:=$(FSMENU)
259 TITLE:=Native Language Support
260 KCONFIG:=CONFIG_NLS
261 FILES:=$(LINUX_DIR)/fs/nls/nls_base.$(LINUX_KMOD_SUFFIX)
262 AUTOLOAD:=$(call AutoLoad,20,nls_base)
263 endef
264
265 define KernelPackage/nls-base/description
266 Kernel module for NLS (Native Language Support)
267 endef
268
269 $(eval $(call KernelPackage,nls-base))
270
271
272 define KernelPackage/nls-cp437
273 SUBMENU:=$(FSMENU)
274 TITLE:=Codepage 437 (United States, Canada)
275 DEPENDS:=+kmod-nls-base
276 KCONFIG:=CONFIG_NLS_CODEPAGE_437
277 FILES:=$(LINUX_DIR)/fs/nls/nls_cp437.$(LINUX_KMOD_SUFFIX)
278 AUTOLOAD:=$(call AutoLoad,25,nls_cp437)
279 $(call KernelPackage/nls/Depends)
280 endef
281
282
283 define KernelPackage/nls-cp437/description
284 Kernel module for NLS Codepage 437 (United States, Canada)
285 endef
286
287 $(eval $(call KernelPackage,nls-cp437))
288
289
290 define KernelPackage/nls-cp850
291 SUBMENU:=$(FSMENU)
292 TITLE:=Codepage 850 (Europe)
293 DEPENDS:=+kmod-nls-base
294 KCONFIG:=CONFIG_NLS_CODEPAGE_850
295 FILES:=$(LINUX_DIR)/fs/nls/nls_cp850.$(LINUX_KMOD_SUFFIX)
296 AUTOLOAD:=$(call AutoLoad,25,nls_cp850)
297 $(call KernelPackage/nls/Depends)
298 endef
299
300
301 define KernelPackage/nls-cp850/description
302 Kernel module for NLS Codepage 850 (Europe)
303 endef
304
305 $(eval $(call KernelPackage,nls-cp850))
306
307
308 define KernelPackage/nls-cp1250
309 SUBMENU:=$(FSMENU)
310 TITLE:=Codepage 1250 (Eastern Europe)
311 DEPENDS:=+kmod-nls-base
312 KCONFIG:=CONFIG_NLS_CODEPAGE_1250
313 FILES:=$(LINUX_DIR)/fs/nls/nls_cp1250.$(LINUX_KMOD_SUFFIX)
314 AUTOLOAD:=$(call AutoLoad,25,nls_cp1250)
315 $(call KernelPackage/nls/Depends)
316 endef
317
318
319 define KernelPackage/nls-cp1250/description
320 Kernel module for NLS Codepage 1250 (Eastern Europe)
321 endef
322
323 $(eval $(call KernelPackage,nls-cp1250))
324
325
326 define KernelPackage/nls-iso8859-1
327 SUBMENU:=$(FSMENU)
328 TITLE:=ISO 8859-1 (Latin 1; Western European Languages)
329 DEPENDS:=+kmod-nls-base
330 KCONFIG:=CONFIG_NLS_ISO8859_1
331 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-1.$(LINUX_KMOD_SUFFIX)
332 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-1)
333 $(call KernelPackage/nls/Depends)
334 endef
335
336
337 define KernelPackage/nls-iso8859-1/description
338 Kernel module for NLS ISO 8859-1 (Latin 1)
339 endef
340
341 $(eval $(call KernelPackage,nls-iso8859-1))
342
343
344 define KernelPackage/nls-iso8859-2
345 SUBMENU:=$(FSMENU)
346 TITLE:=ISO 8859-2 (Latin 2; Central European Languages)
347 DEPENDS:=+kmod-nls-base
348 KCONFIG:=CONFIG_NLS_ISO8859_2
349 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-2.$(LINUX_KMOD_SUFFIX)
350 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-2)
351 $(call KernelPackage/nls/Depends)
352 endef
353
354
355 define KernelPackage/nls-iso8859-2/description
356 Kernel module for NLS ISO 8859-2 (Latin 2)
357 endef
358
359 $(eval $(call KernelPackage,nls-iso8859-2))
360
361
362 define KernelPackage/nls-iso8859-15
363 SUBMENU:=$(FSMENU)
364 TITLE:=ISO 8859-15 (Latin 9; Western, with Euro symbol)
365 DEPENDS:=+kmod-nls-base
366 KCONFIG:=CONFIG_NLS_ISO8859_15
367 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-15.$(LINUX_KMOD_SUFFIX)
368 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-15)
369 $(call KernelPackage/nls/Depends)
370 endef
371
372
373 define KernelPackage/nls-iso8859-15/description
374 Kernel module for NLS ISO 8859-15 (Latin 9)
375 endef
376
377 $(eval $(call KernelPackage,nls-iso8859-15))
378
379
380 define KernelPackage/nls-koi8r
381 SUBMENU:=$(FSMENU)
382 TITLE:=KOI8-R (Russian)
383 DEPENDS:=+kmod-nls-base
384 KCONFIG:=CONFIG_NLS_KOI8_R
385 FILES:=$(LINUX_DIR)/fs/nls/nls_koi8-r.$(LINUX_KMOD_SUFFIX)
386 AUTOLOAD:=$(call AutoLoad,25,nls_koi8-r)
387 $(call KernelPackage/nls/Depends)
388 endef
389
390
391 define KernelPackage/nls-koi8r/description
392 Kernel module for NLS KOI8-R (Russian)
393 endef
394
395 $(eval $(call KernelPackage,nls-koi8r))
396
397
398 define KernelPackage/nls-utf8
399 SUBMENU:=$(FSMENU)
400 TITLE:=UTF-8
401 DEPENDS:=+kmod-nls-base
402 KCONFIG:=CONFIG_NLS_UTF8
403 FILES:=$(LINUX_DIR)/fs/nls/nls_utf8.$(LINUX_KMOD_SUFFIX)
404 AUTOLOAD:=$(call AutoLoad,25,nls_utf8)
405 $(call KernelPackage/nls/Depends)
406 endef
407
408 define KernelPackage/nls-utf8/description
409 Kernel module for NLS UTF-8
410 endef
411
412 $(eval $(call KernelPackage,nls-utf8))