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