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