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