2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
11 define KernelPackage
/nls
/Depends
13 DEPENDS
:= +kmod-nls-base
17 define KernelPackage
/fs-cifs
21 FILES
:=$(LINUX_DIR
)/fs
/cifs
/cifs.
$(LINUX_KMOD_SUFFIX
)
22 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
23 $(call KernelPackage
/nls
/Depends
)
27 define KernelPackage
/fs-cifs
/description
28 Kernel module for CIFS support
31 $(eval
$(call KernelPackage
,fs-cifs
))
34 define KernelPackage
/fs-minix
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
)
42 define KernelPackage
/fs-minix
/description
43 Kernel module for Minix filesystem support
46 $(eval
$(call KernelPackage
,fs-minix
))
49 define KernelPackage
/fs-ntfs
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
)
57 define KernelPackage
/fs-ntfs
/description
58 Kernel module for NTFS filesystem support
61 $(eval
$(call KernelPackage
,fs-ntfs
))
64 define KernelPackage
/fs-mbcache
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
)
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
79 $(eval
$(call KernelPackage
,fs-mbcache
))
81 define KernelPackage
/fs-ext2
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
)
90 define KernelPackage
/fs-ext2
/description
91 Kernel module for EXT2 filesystem support
94 $(eval
$(call KernelPackage
,fs-ext2
))
97 define KernelPackage
/fs-ext3
99 TITLE
:=EXT3 filesystem support
103 DEPENDS
:=$(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
)
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
)
110 define KernelPackage
/fs-ext3
/description
111 Kernel module for EXT3 filesystem support
114 $(eval
$(call KernelPackage
,fs-ext3
))
117 define KernelPackage
/fs-hfs
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
)
126 define KernelPackage
/fs-hfs
/description
127 Kernel module for HFS filesystem support
130 $(eval
$(call KernelPackage
,fs-hfs
))
133 define KernelPackage
/fs-hfsplus
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
)
143 define KernelPackage
/fs-hfsplus
/description
144 Kernel module for HFS
+ filesystem support
147 $(eval
$(call KernelPackage
,fs-hfsplus
))
150 define KernelPackage
/fs-isofs
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
)
160 define KernelPackage
/fs-isofs
/description
161 Kernel module for ISO9660 filesystem support
164 $(eval
$(call KernelPackage
,fs-isofs
))
167 define KernelPackage
/fs-udf
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
)
177 define KernelPackage
/fs-udf
/description
178 Kernel module for UDF filesystem support
181 $(eval
$(call KernelPackage
,fs-udf
))
183 define KernelPackage
/fs-nfs-common
185 TITLE
:=Common NFS filesystem modules
190 $(LINUX_DIR
)/fs
/lockd
/lockd.
$(LINUX_KMOD_SUFFIX
) \
191 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.
$(LINUX_KMOD_SUFFIX
)
192 AUTOLOAD
:=$(call AutoLoad
,30,sunrpc lockd
)
195 $(eval
$(call KernelPackage
,fs-nfs-common
))
198 define KernelPackage
/fs-nfs
200 TITLE
:=NFS filesystem support
201 DEPENDS
:=kmod-fs-nfs-common
205 $(LINUX_DIR
)/fs
/nfs
/nfs.
$(LINUX_KMOD_SUFFIX
)
206 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
209 define KernelPackage
/fs-nfs
/description
210 Kernel module for NFS support
213 $(eval
$(call KernelPackage
,fs-nfs
))
216 define KernelPackage
/fs-nfsd
218 TITLE
:=NFS kernel server support
219 DEPENDS
:=kmod-fs-nfs-common
221 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.
$(LINUX_KMOD_SUFFIX
)
222 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
225 define KernelPackage
/fs-nfsd
/2.6
226 KCONFIG
+=CONFIG_EXPORTFS \
228 FILES
+=$(LINUX_DIR
)/fs
/exportfs
/exportfs.
$(LINUX_KMOD_SUFFIX
) \
229 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.
$(LINUX_KMOD_SUFFIX
)
230 AUTOLOAD
+=$(call AutoLoad
,40,auth_rpcgss exportfs nfsd
)
233 define KernelPackage
/fs-nfsd
/description
234 Kernel module for NFS kernel server support
237 $(eval
$(call KernelPackage
,fs-nfsd
))
240 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,2.6.28)),1)
245 define KernelPackage
/fs-msdos
247 TITLE
:=MSDOS filesystem support
248 KCONFIG
:=CONFIG_MSDOS_FS
249 FILES
:=$(LINUX_DIR
)/fs
/$(MSDOS_DIR
)/msdos.
$(LINUX_KMOD_SUFFIX
)
250 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
251 $(call KernelPackage
/nls
/Depends
)
255 define KernelPackage
/fs-msdos
/description
256 Kernel module for MSDOS filesystem support
259 $(eval
$(call KernelPackage
,fs-msdos
))
262 define KernelPackage
/fs-reiserfs
264 TITLE
:=ReiserFS filesystem support
265 KCONFIG
:=CONFIG_REISERFS_FS
266 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.
$(LINUX_KMOD_SUFFIX
)
267 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
)
270 define KernelPackage
/fs-reiserfs
/description
271 Kernel module for ReiserFS support
274 $(eval
$(call KernelPackage
,fs-reiserfs
))
277 define KernelPackage
/fs-vfat
279 TITLE
:=VFAT filesystem support
284 $(LINUX_DIR
)/fs
/fat
/fat.
$(LINUX_KMOD_SUFFIX
) \
285 $(LINUX_DIR
)/fs
/$(if
$(CONFIG_LINUX_2_6_28
),fat
,vfat
)/vfat.
$(LINUX_KMOD_SUFFIX
)
286 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
287 $(call KernelPackage
/nls
/Depends
)
291 define KernelPackage
/fs-vfat
/description
292 Kernel module for VFAT filesystem support
295 $(eval
$(call KernelPackage
,fs-vfat
))
298 define KernelPackage
/fs-xfs
300 TITLE
:=XFS filesystem support
301 KCONFIG
:=CONFIG_XFS_FS
302 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.
$(LINUX_KMOD_SUFFIX
)
303 AUTOLOAD
:=$(call AutoLoad
,30,xfs
)
306 define KernelPackage
/fs-xfs
/description
307 Kernel module for XFS support
310 $(eval
$(call KernelPackage
,fs-xfs
))
313 define KernelPackage
/nls-base
315 TITLE
:=Native Language Support
317 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_base.
$(LINUX_KMOD_SUFFIX
)
318 AUTOLOAD
:=$(call AutoLoad
,20,nls_base
)
321 define KernelPackage
/nls-base
/description
322 Kernel module for NLS
(Native Language Support
)
325 $(eval
$(call KernelPackage
,nls-base
))
328 define KernelPackage
/nls-cp437
330 TITLE
:=Codepage
437 (United States
, Canada
)
331 KCONFIG
:=CONFIG_NLS_CODEPAGE_437
332 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp437.
$(LINUX_KMOD_SUFFIX
)
333 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp437
)
334 $(call KernelPackage
/nls
/Depends
)
338 define KernelPackage
/nls-cp437
/description
339 Kernel module for NLS Codepage
437 (United States
, Canada
)
342 $(eval
$(call KernelPackage
,nls-cp437
))
345 define KernelPackage
/nls-cp850
347 TITLE
:=Codepage
850 (Europe
)
348 KCONFIG
:=CONFIG_NLS_CODEPAGE_850
349 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp850.
$(LINUX_KMOD_SUFFIX
)
350 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp850
)
351 $(call KernelPackage
/nls
/Depends
)
355 define KernelPackage
/nls-cp850
/description
356 Kernel module for NLS Codepage
850 (Europe
)
359 $(eval
$(call KernelPackage
,nls-cp850
))
362 define KernelPackage
/nls-cp852
364 TITLE
:=Codepage
852 (Europe
)
365 KCONFIG
:=CONFIG_NLS_CODEPAGE_852
366 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp852.
$(LINUX_KMOD_SUFFIX
)
367 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp852
)
368 $(call KernelPackage
/nls
/Depends
)
372 define KernelPackage
/nls-cp852
/description
373 Kernel module for NLS Codepage
852 (Europe
)
376 $(eval
$(call KernelPackage
,nls-cp852
))
379 define KernelPackage
/nls-cp1250
381 TITLE
:=Codepage
1250 (Eastern Europe
)
382 KCONFIG
:=CONFIG_NLS_CODEPAGE_1250
383 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1250.
$(LINUX_KMOD_SUFFIX
)
384 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1250
)
385 $(call KernelPackage
/nls
/Depends
)
389 define KernelPackage
/nls-cp1250
/description
390 Kernel module for NLS Codepage
1250 (Eastern Europe
)
393 $(eval
$(call KernelPackage
,nls-cp1250
))
396 define KernelPackage
/nls-cp1251
398 TITLE
:=Codepage
1251 (Russian
)
399 KCONFIG
:=CONFIG_NLS_CODEPAGE_1251
400 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1251.
$(LINUX_KMOD_SUFFIX
)
401 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1251
)
402 $(call KernelPackage
/nls
/Depends
)
406 define KernelPackage
/nls-cp1251
/description
407 Kernel module for NLS Codepage
1251 (Russian
)
410 $(eval
$(call KernelPackage
,nls-cp1251
))
413 define KernelPackage
/nls-iso8859-1
415 TITLE
:=ISO
8859-1 (Latin
1; Western European Languages
)
416 KCONFIG
:=CONFIG_NLS_ISO8859_1
417 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-1.
$(LINUX_KMOD_SUFFIX
)
418 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-1
)
419 $(call KernelPackage
/nls
/Depends
)
423 define KernelPackage
/nls-iso8859-1
/description
424 Kernel module for NLS ISO
8859-1 (Latin
1)
427 $(eval
$(call KernelPackage
,nls-iso8859-1
))
430 define KernelPackage
/nls-iso8859-2
432 TITLE
:=ISO
8859-2 (Latin
2; Central European Languages
)
433 KCONFIG
:=CONFIG_NLS_ISO8859_2
434 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-2.
$(LINUX_KMOD_SUFFIX
)
435 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-2
)
436 $(call KernelPackage
/nls
/Depends
)
440 define KernelPackage
/nls-iso8859-2
/description
441 Kernel module for NLS ISO
8859-2 (Latin
2)
444 $(eval
$(call KernelPackage
,nls-iso8859-2
))
447 define KernelPackage
/nls-iso8859-15
449 TITLE
:=ISO
8859-15 (Latin
9; Western
, with Euro symbol
)
450 KCONFIG
:=CONFIG_NLS_ISO8859_15
451 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-15.
$(LINUX_KMOD_SUFFIX
)
452 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-15
)
453 $(call KernelPackage
/nls
/Depends
)
457 define KernelPackage
/nls-iso8859-15
/description
458 Kernel module for NLS ISO
8859-15 (Latin
9)
461 $(eval
$(call KernelPackage
,nls-iso8859-15
))
464 define KernelPackage
/nls-koi8r
466 TITLE
:=KOI8-R
(Russian
)
467 KCONFIG
:=CONFIG_NLS_KOI8_R
468 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_koi8-r.
$(LINUX_KMOD_SUFFIX
)
469 AUTOLOAD
:=$(call AutoLoad
,25,nls_koi8-r
)
470 $(call KernelPackage
/nls
/Depends
)
474 define KernelPackage
/nls-koi8r
/description
475 Kernel module for NLS KOI8-R
(Russian
)
478 $(eval
$(call KernelPackage
,nls-koi8r
))
481 define KernelPackage
/nls-utf8
484 KCONFIG
:=CONFIG_NLS_UTF8
485 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_utf8.
$(LINUX_KMOD_SUFFIX
)
486 AUTOLOAD
:=$(call AutoLoad
,25,nls_utf8
)
487 $(call KernelPackage
/nls
/Depends
)
490 define KernelPackage
/nls-utf8
/description
491 Kernel module for NLS UTF-8
494 $(eval
$(call KernelPackage
,nls-utf8
))