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