[kernel] Fix kmod-ata-piix deps
[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
184 define KernelPackage/fs-nfs
185 SUBMENU:=$(FS_MENU)
186 TITLE:=NFS filesystem support
187 KCONFIG:= \
188 CONFIG_NFS_FS \
189 CONFIG_LOCKD \
190 CONFIG_SUNRPC
191 FILES:= \
192 $(LINUX_DIR)/fs/nfs/nfs.$(LINUX_KMOD_SUFFIX) \
193 $(LINUX_DIR)/fs/lockd/lockd.$(LINUX_KMOD_SUFFIX) \
194 $(LINUX_DIR)/net/sunrpc/sunrpc.$(LINUX_KMOD_SUFFIX)
195 AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd nfs)
196 endef
197
198 define KernelPackage/fs-nfs/description
199 Kernel module for NFS support
200 endef
201
202 $(eval $(call KernelPackage,fs-nfs))
203
204
205 define KernelPackage/fs-nfsd
206 SUBMENU:=$(FS_MENU)
207 TITLE:=NFS kernel server support
208 KCONFIG:= \
209 CONFIG_NFSD \
210 CONFIG_EXPORTFS
211 FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.$(LINUX_KMOD_SUFFIX)
212 AUTOLOAD:=$(call AutoLoad,40,nfsd)
213 endef
214
215 define KernelPackage/fs-nfsd/2.6
216 # KCONFIG+=CONFIG_EXPORTFS
217 FILES+=$(LINUX_DIR)/fs/exportfs/exportfs.$(LINUX_KMOD_SUFFIX)
218 AUTOLOAD+=$(call AutoLoad,30,exportfs)
219 endef
220
221 define KernelPackage/fs-nfsd/description
222 Kernel module for NFS kernel server support
223 endef
224
225 $(eval $(call KernelPackage,fs-nfsd))
226
227
228 define KernelPackage/fs-msdos
229 SUBMENU:=$(FS_MENU)
230 TITLE:=MSDOS filesystem support
231 KCONFIG:=CONFIG_MSDOS_FS
232 FILES:=$(LINUX_DIR)/fs/msdos/msdos.$(LINUX_KMOD_SUFFIX)
233 AUTOLOAD:=$(call AutoLoad,40,msdos)
234 $(call KernelPackage/nls/Depends)
235 endef
236
237
238 define KernelPackage/fs-msdos/description
239 Kernel module for MSDOS filesystem support
240 endef
241
242 $(eval $(call KernelPackage,fs-msdos))
243
244
245 define KernelPackage/fs-reiserfs
246 SUBMENU:=$(FS_MENU)
247 TITLE:=ReiserFS filesystem support
248 KCONFIG:=CONFIG_REISERFS_FS
249 FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.$(LINUX_KMOD_SUFFIX)
250 AUTOLOAD:=$(call AutoLoad,30,reiserfs)
251 endef
252
253 define KernelPackage/fs-reiserfs/description
254 Kernel module for ReiserFS support
255 endef
256
257 $(eval $(call KernelPackage,fs-reiserfs))
258
259
260 define KernelPackage/fs-vfat
261 SUBMENU:=$(FS_MENU)
262 TITLE:=VFAT filesystem support
263 KCONFIG:= \
264 CONFIG_FAT_FS \
265 CONFIG_VFAT_FS
266 FILES:= \
267 $(LINUX_DIR)/fs/fat/fat.$(LINUX_KMOD_SUFFIX) \
268 $(LINUX_DIR)/fs/vfat/vfat.$(LINUX_KMOD_SUFFIX)
269 AUTOLOAD:=$(call AutoLoad,30,fat vfat)
270 $(call KernelPackage/nls/Depends)
271 endef
272
273
274 define KernelPackage/fs-vfat/description
275 Kernel module for VFAT filesystem support
276 endef
277
278 $(eval $(call KernelPackage,fs-vfat))
279
280
281 define KernelPackage/fs-xfs
282 SUBMENU:=$(FS_MENU)
283 TITLE:=XFS filesystem support
284 KCONFIG:=CONFIG_XFS_FS
285 FILES:=$(LINUX_DIR)/fs/xfs/xfs.$(LINUX_KMOD_SUFFIX)
286 AUTOLOAD:=$(call AutoLoad,30,xfs)
287 endef
288
289 define KernelPackage/fs-xfs/description
290 Kernel module for XFS support
291 endef
292
293 $(eval $(call KernelPackage,fs-xfs))
294
295
296 define KernelPackage/nls-base
297 SUBMENU:=$(FS_MENU)
298 TITLE:=Native Language Support
299 KCONFIG:=CONFIG_NLS
300 FILES:=$(LINUX_DIR)/fs/nls/nls_base.$(LINUX_KMOD_SUFFIX)
301 AUTOLOAD:=$(call AutoLoad,20,nls_base)
302 endef
303
304 define KernelPackage/nls-base/description
305 Kernel module for NLS (Native Language Support)
306 endef
307
308 $(eval $(call KernelPackage,nls-base))
309
310
311 define KernelPackage/nls-cp437
312 SUBMENU:=$(FS_MENU)
313 TITLE:=Codepage 437 (United States, Canada)
314 KCONFIG:=CONFIG_NLS_CODEPAGE_437
315 FILES:=$(LINUX_DIR)/fs/nls/nls_cp437.$(LINUX_KMOD_SUFFIX)
316 AUTOLOAD:=$(call AutoLoad,25,nls_cp437)
317 $(call KernelPackage/nls/Depends)
318 endef
319
320
321 define KernelPackage/nls-cp437/description
322 Kernel module for NLS Codepage 437 (United States, Canada)
323 endef
324
325 $(eval $(call KernelPackage,nls-cp437))
326
327
328 define KernelPackage/nls-cp850
329 SUBMENU:=$(FS_MENU)
330 TITLE:=Codepage 850 (Europe)
331 KCONFIG:=CONFIG_NLS_CODEPAGE_850
332 FILES:=$(LINUX_DIR)/fs/nls/nls_cp850.$(LINUX_KMOD_SUFFIX)
333 AUTOLOAD:=$(call AutoLoad,25,nls_cp850)
334 $(call KernelPackage/nls/Depends)
335 endef
336
337
338 define KernelPackage/nls-cp850/description
339 Kernel module for NLS Codepage 850 (Europe)
340 endef
341
342 $(eval $(call KernelPackage,nls-cp850))
343
344
345 define KernelPackage/nls-cp1250
346 SUBMENU:=$(FS_MENU)
347 TITLE:=Codepage 1250 (Eastern Europe)
348 KCONFIG:=CONFIG_NLS_CODEPAGE_1250
349 FILES:=$(LINUX_DIR)/fs/nls/nls_cp1250.$(LINUX_KMOD_SUFFIX)
350 AUTOLOAD:=$(call AutoLoad,25,nls_cp1250)
351 $(call KernelPackage/nls/Depends)
352 endef
353
354
355 define KernelPackage/nls-cp1250/description
356 Kernel module for NLS Codepage 1250 (Eastern Europe)
357 endef
358
359 $(eval $(call KernelPackage,nls-cp1250))
360
361
362 define KernelPackage/nls-iso8859-1
363 SUBMENU:=$(FS_MENU)
364 TITLE:=ISO 8859-1 (Latin 1; Western European Languages)
365 KCONFIG:=CONFIG_NLS_ISO8859_1
366 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-1.$(LINUX_KMOD_SUFFIX)
367 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-1)
368 $(call KernelPackage/nls/Depends)
369 endef
370
371
372 define KernelPackage/nls-iso8859-1/description
373 Kernel module for NLS ISO 8859-1 (Latin 1)
374 endef
375
376 $(eval $(call KernelPackage,nls-iso8859-1))
377
378
379 define KernelPackage/nls-iso8859-2
380 SUBMENU:=$(FS_MENU)
381 TITLE:=ISO 8859-2 (Latin 2; Central European Languages)
382 KCONFIG:=CONFIG_NLS_ISO8859_2
383 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-2.$(LINUX_KMOD_SUFFIX)
384 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-2)
385 $(call KernelPackage/nls/Depends)
386 endef
387
388
389 define KernelPackage/nls-iso8859-2/description
390 Kernel module for NLS ISO 8859-2 (Latin 2)
391 endef
392
393 $(eval $(call KernelPackage,nls-iso8859-2))
394
395
396 define KernelPackage/nls-iso8859-15
397 SUBMENU:=$(FS_MENU)
398 TITLE:=ISO 8859-15 (Latin 9; Western, with Euro symbol)
399 KCONFIG:=CONFIG_NLS_ISO8859_15
400 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-15.$(LINUX_KMOD_SUFFIX)
401 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-15)
402 $(call KernelPackage/nls/Depends)
403 endef
404
405
406 define KernelPackage/nls-iso8859-15/description
407 Kernel module for NLS ISO 8859-15 (Latin 9)
408 endef
409
410 $(eval $(call KernelPackage,nls-iso8859-15))
411
412
413 define KernelPackage/nls-koi8r
414 SUBMENU:=$(FS_MENU)
415 TITLE:=KOI8-R (Russian)
416 KCONFIG:=CONFIG_NLS_KOI8_R
417 FILES:=$(LINUX_DIR)/fs/nls/nls_koi8-r.$(LINUX_KMOD_SUFFIX)
418 AUTOLOAD:=$(call AutoLoad,25,nls_koi8-r)
419 $(call KernelPackage/nls/Depends)
420 endef
421
422
423 define KernelPackage/nls-koi8r/description
424 Kernel module for NLS KOI8-R (Russian)
425 endef
426
427 $(eval $(call KernelPackage,nls-koi8r))
428
429
430 define KernelPackage/nls-utf8
431 SUBMENU:=$(FS_MENU)
432 TITLE:=UTF-8
433 KCONFIG:=CONFIG_NLS_UTF8
434 FILES:=$(LINUX_DIR)/fs/nls/nls_utf8.$(LINUX_KMOD_SUFFIX)
435 AUTOLOAD:=$(call AutoLoad,25,nls_utf8)
436 $(call KernelPackage/nls/Depends)
437 endef
438
439 define KernelPackage/nls-utf8/description
440 Kernel module for NLS UTF-8
441 endef
442
443 $(eval $(call KernelPackage,nls-utf8))
This page took 0.091267 seconds and 5 git commands to generate.