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.
10 define KernelPackage/nls/Depends
11 DEPENDS:= +!LINUX_2_4:kmod-nls-base
14 define KernelPackage/fs-cifs
18 FILES:=$(LINUX_DIR)/fs/cifs/cifs.$(LINUX_KMOD_SUFFIX)
19 AUTOLOAD:=$(call AutoLoad,30,cifs)
20 $(call KernelPackage/nls/Depends)
24 define KernelPackage/fs-cifs/description
25 Kernel module for CIFS support
28 $(eval $(call KernelPackage,fs-cifs))
31 define KernelPackage/fs-minix
33 TITLE:=Minix filesystem support
34 KCONFIG:=CONFIG_MINIX_FS
35 FILES:=$(LINUX_DIR)/fs/minix/minix.$(LINUX_KMOD_SUFFIX)
36 AUTOLOAD:=$(call AutoLoad,30,minix)
39 define KernelPackage/fs-minix/description
40 Kernel module for Minix filesystem support
43 $(eval $(call KernelPackage,fs-minix))
46 define KernelPackage/fs-ntfs
48 TITLE:=NTFS filesystem support
49 KCONFIG:=CONFIG_NTFS_FS
50 FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.$(LINUX_KMOD_SUFFIX)
51 AUTOLOAD:=$(call AutoLoad,30,ntfs)
52 $(call KernelPackage/nls/Depends)
55 define KernelPackage/fs-ntfs/description
56 Kernel module for NTFS filesystem support
59 $(eval $(call KernelPackage,fs-ntfs))
62 define KernelPackage/fs-mbcache
64 TITLE:=mbcache (used by ext2/ext3)
65 KCONFIG:=CONFIG_FS_MBCACHE
66 ifneq ($(CONFIG_FS_MBCACHE),)
67 FILES:=$(LINUX_DIR)/fs/mbcache.$(LINUX_KMOD_SUFFIX)
68 AUTOLOAD:=$(call AutoLoad,20,mbcache)
72 define KernelPackage/fs-ext2/description
73 Meta Block cache used by ext2/ext3
74 This package will only be installed if extended attributes
75 are enabled for ext2/ext3
77 $(eval $(call KernelPackage,fs-mbcache))
79 define KernelPackage/fs-ext2
81 TITLE:=EXT2 filesystem support
82 KCONFIG:=CONFIG_EXT2_FS
83 DEPENDS:=$(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache)
84 FILES:=$(LINUX_DIR)/fs/ext2/ext2.$(LINUX_KMOD_SUFFIX)
85 AUTOLOAD:=$(call AutoLoad,32,ext2)
88 define KernelPackage/fs-ext2/description
89 Kernel module for EXT2 filesystem support
92 $(eval $(call KernelPackage,fs-ext2))
95 define KernelPackage/fs-ext3
97 TITLE:=EXT3 filesystem support
101 DEPENDS:=$(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache)
103 $(LINUX_DIR)/fs/ext3/ext3.$(LINUX_KMOD_SUFFIX) \
104 $(LINUX_DIR)/fs/jbd/jbd.$(LINUX_KMOD_SUFFIX)
105 AUTOLOAD:=$(call AutoLoad,31,jbd ext3)
108 define KernelPackage/fs-ext3/description
109 Kernel module for EXT3 filesystem support
112 $(eval $(call KernelPackage,fs-ext3))
114 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),lt,2.6.28)),1)
120 define KernelPackage/fs-ext4
122 TITLE:=EXT4 filesystem support
124 CONFIG_EXT4DEV_COMPAT=y \
125 CONFIG_EXT4_FS_XATTR=y \
126 CONFIG_EXT4_FS_POSIX_ACL=y \
127 CONFIG_EXT4_FS_SECURITY=y \
130 DEPENDS:= @LINUX_2_6 +kmod-crc16 $(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache)
132 $(LINUX_DIR)/fs/ext4/$(EXT4_NAME).$(LINUX_KMOD_SUFFIX) \
133 $(LINUX_DIR)/fs/jbd2/jbd2.$(LINUX_KMOD_SUFFIX)
134 AUTOLOAD:=$(call AutoLoad,30,jbd2 $(EXT4_NAME))
137 define KernelPackage/fs-ext4/description
138 Kernel module for EXT4 filesystem support
141 $(eval $(call KernelPackage,fs-ext4))
145 define KernelPackage/fs-hfs
147 TITLE:=HFS+ filesystem support
148 KCONFIG:=CONFIG_HFS_FS
149 FILES:=$(LINUX_DIR)/fs/hfs/hfs.$(LINUX_KMOD_SUFFIX)
150 AUTOLOAD:=$(call AutoLoad,30,hfs)
151 $(call KernelPackage/nls/Depends)
154 define KernelPackage/fs-hfs/description
155 Kernel module for HFS filesystem support
158 $(eval $(call KernelPackage,fs-hfs))
161 define KernelPackage/fs-hfsplus
163 TITLE:=HFS+ filesystem support
164 KCONFIG:=CONFIG_HFSPLUS_FS
165 FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.$(LINUX_KMOD_SUFFIX)
166 AUTOLOAD:=$(call AutoLoad,30,hfsplus)
167 $(call KernelPackage/nls/Depends,utf8)
171 define KernelPackage/fs-hfsplus/description
172 Kernel module for HFS+ filesystem support
175 $(eval $(call KernelPackage,fs-hfsplus))
178 define KernelPackage/fs-isofs
180 TITLE:=ISO9660 filesystem support
181 KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
182 FILES:=$(LINUX_DIR)/fs/isofs/isofs.$(LINUX_KMOD_SUFFIX)
183 AUTOLOAD:=$(call AutoLoad,30,isofs)
184 $(call KernelPackage/nls/Depends)
188 define KernelPackage/fs-isofs/description
189 Kernel module for ISO9660 filesystem support
192 $(eval $(call KernelPackage,fs-isofs))
195 define KernelPackage/fs-udf
197 TITLE:=UDF filesystem support
198 KCONFIG:=CONFIG_UDF_FS
199 FILES:=$(LINUX_DIR)/fs/udf/udf.$(LINUX_KMOD_SUFFIX)
200 AUTOLOAD:=$(call AutoLoad,30,udf)
201 $(call KernelPackage/nls/Depends)
205 define KernelPackage/fs-udf/description
206 Kernel module for UDF filesystem support
209 $(eval $(call KernelPackage,fs-udf))
211 define KernelPackage/fs-nfs-common
213 TITLE:=Common NFS filesystem modules
218 $(LINUX_DIR)/fs/lockd/lockd.$(LINUX_KMOD_SUFFIX) \
219 $(LINUX_DIR)/net/sunrpc/sunrpc.$(LINUX_KMOD_SUFFIX)
220 AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd)
223 define KernelPackage/fs-nfs-common/2.6
224 KCONFIG+=CONFIG_SUNRPC_GSS
225 FILES+=$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.$(LINUX_KMOD_SUFFIX)
226 AUTOLOAD=$(call AutoLoad,30,sunrpc lockd auth_rpcgss)
229 $(eval $(call KernelPackage,fs-nfs-common))
232 define KernelPackage/fs-nfs
234 TITLE:=NFS filesystem support
235 DEPENDS:=+kmod-fs-nfs-common
239 $(LINUX_DIR)/fs/nfs/nfs.$(LINUX_KMOD_SUFFIX)
240 AUTOLOAD:=$(call AutoLoad,40,nfs)
243 define KernelPackage/fs-nfs/description
244 Kernel module for NFS support
247 $(eval $(call KernelPackage,fs-nfs))
250 define KernelPackage/fs-exportfs
252 TITLE:=exportfs kernel server support
253 KCONFIG:=CONFIG_EXPORTFS
254 FILES=$(LINUX_DIR)/fs/exportfs/exportfs.$(LINUX_KMOD_SUFFIX)
255 AUTOLOAD:=$(call AutoLoad,20,exportfs)
258 define KernelPackage/fs-exportfs/description
259 Kernel module for exportfs. Needed for some other modules.
262 $(eval $(call KernelPackage,fs-exportfs))
265 define KernelPackage/fs-nfsd
267 TITLE:=NFS kernel server support
268 DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs
270 FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.$(LINUX_KMOD_SUFFIX)
271 AUTOLOAD:=$(call AutoLoad,40,nfsd)
274 define KernelPackage/fs-nfsd/description
275 Kernel module for NFS kernel server support
278 $(eval $(call KernelPackage,fs-nfsd))
281 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.28)),1)
286 define KernelPackage/fs-msdos
288 TITLE:=MSDOS filesystem support
289 KCONFIG:=CONFIG_MSDOS_FS
290 FILES:=$(LINUX_DIR)/fs/$(MSDOS_DIR)/msdos.$(LINUX_KMOD_SUFFIX)
291 AUTOLOAD:=$(call AutoLoad,40,msdos)
292 $(call KernelPackage/nls/Depends)
296 define KernelPackage/fs-msdos/description
297 Kernel module for MSDOS filesystem support
300 $(eval $(call KernelPackage,fs-msdos))
303 define KernelPackage/fs-reiserfs
305 TITLE:=ReiserFS filesystem support
306 KCONFIG:=CONFIG_REISERFS_FS
307 FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.$(LINUX_KMOD_SUFFIX)
308 AUTOLOAD:=$(call AutoLoad,30,reiserfs)
311 define KernelPackage/fs-reiserfs/description
312 Kernel module for ReiserFS support
315 $(eval $(call KernelPackage,fs-reiserfs))
317 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.28)),1)
322 define KernelPackage/fs-vfat
324 TITLE:=VFAT filesystem support
329 $(LINUX_DIR)/fs/fat/fat.$(LINUX_KMOD_SUFFIX) \
330 $(LINUX_DIR)/fs/$(VFAT_DIR)/vfat.$(LINUX_KMOD_SUFFIX)
331 AUTOLOAD:=$(call AutoLoad,30,fat vfat)
332 $(call KernelPackage/nls/Depends)
336 define KernelPackage/fs-vfat/description
337 Kernel module for VFAT filesystem support
340 $(eval $(call KernelPackage,fs-vfat))
343 define KernelPackage/fs-xfs
345 TITLE:=XFS filesystem support
346 KCONFIG:=CONFIG_XFS_FS
347 DEPENDS:= +kmod-fs-exportfs
348 FILES:=$(LINUX_DIR)/fs/xfs/xfs.$(LINUX_KMOD_SUFFIX)
349 AUTOLOAD:=$(call AutoLoad,30,xfs)
352 define KernelPackage/fs-xfs/description
353 Kernel module for XFS support
356 $(eval $(call KernelPackage,fs-xfs))
358 define KernelPackage/fs-btrfs
360 TITLE:=BTRFS filesystem support
362 CONFIG_CRYPTO_CRC32C \
365 CONFIG_BTRFS_FS_POSIX_ACL=n
367 DEPENDS:=+kmod-crypto-core @!LINUX_2_6_21&&!LINUX_2_6_25&&!LINUX_2_6_28
369 $(LINUX_DIR)/crypto/crc32c.$(LINUX_KMOD_SUFFIX) \
370 $(LINUX_DIR)/lib/libcrc32c.$(LINUX_KMOD_SUFFIX) \
371 $(LINUX_DIR)/fs/btrfs/btrfs.$(LINUX_KMOD_SUFFIX)
372 AUTOLOAD:=$(call AutoLoad,30,crc32c libcrc32c btrfs)
375 define KernelPackage/fs-btrfs/description
376 Kernel module for BTRFS support
379 $(eval $(call KernelPackage,fs-btrfs))
381 define KernelPackage/fs-autofs4
383 TITLE:=AUTOFS4 filesystem support
384 KCONFIG:=CONFIG_AUTOFS4_FS
385 FILES:=$(LINUX_DIR)/fs/autofs4/autofs4.$(LINUX_KMOD_SUFFIX)
386 AUTOLOAD:=$(call AutoLoad,30,autofs4)
389 define KernelPackage/fs-autofs4/description
390 Kernel module for AutoFS4 support
393 $(eval $(call KernelPackage,fs-autofs4))
396 define KernelPackage/nls-base
398 TITLE:=Native Language Support
400 FILES:=$(LINUX_DIR)/fs/nls/nls_base.$(LINUX_KMOD_SUFFIX)
401 AUTOLOAD:=$(call AutoLoad,20,nls_base)
404 define KernelPackage/nls-base/description
405 Kernel module for NLS (Native Language Support)
408 $(eval $(call KernelPackage,nls-base))
411 define KernelPackage/nls-cp437
413 TITLE:=Codepage 437 (United States, Canada)
414 KCONFIG:=CONFIG_NLS_CODEPAGE_437
415 FILES:=$(LINUX_DIR)/fs/nls/nls_cp437.$(LINUX_KMOD_SUFFIX)
416 AUTOLOAD:=$(call AutoLoad,25,nls_cp437)
417 $(call KernelPackage/nls/Depends)
421 define KernelPackage/nls-cp437/description
422 Kernel module for NLS Codepage 437 (United States, Canada)
425 $(eval $(call KernelPackage,nls-cp437))
428 define KernelPackage/nls-cp850
430 TITLE:=Codepage 850 (Europe)
431 KCONFIG:=CONFIG_NLS_CODEPAGE_850
432 FILES:=$(LINUX_DIR)/fs/nls/nls_cp850.$(LINUX_KMOD_SUFFIX)
433 AUTOLOAD:=$(call AutoLoad,25,nls_cp850)
434 $(call KernelPackage/nls/Depends)
438 define KernelPackage/nls-cp850/description
439 Kernel module for NLS Codepage 850 (Europe)
442 $(eval $(call KernelPackage,nls-cp850))
445 define KernelPackage/nls-cp852
447 TITLE:=Codepage 852 (Europe)
448 KCONFIG:=CONFIG_NLS_CODEPAGE_852
449 FILES:=$(LINUX_DIR)/fs/nls/nls_cp852.$(LINUX_KMOD_SUFFIX)
450 AUTOLOAD:=$(call AutoLoad,25,nls_cp852)
451 $(call KernelPackage/nls/Depends)
455 define KernelPackage/nls-cp852/description
456 Kernel module for NLS Codepage 852 (Europe)
459 $(eval $(call KernelPackage,nls-cp852))
462 define KernelPackage/nls-cp1250
464 TITLE:=Codepage 1250 (Eastern Europe)
465 KCONFIG:=CONFIG_NLS_CODEPAGE_1250
466 FILES:=$(LINUX_DIR)/fs/nls/nls_cp1250.$(LINUX_KMOD_SUFFIX)
467 AUTOLOAD:=$(call AutoLoad,25,nls_cp1250)
468 $(call KernelPackage/nls/Depends)
472 define KernelPackage/nls-cp1250/description
473 Kernel module for NLS Codepage 1250 (Eastern Europe)
476 $(eval $(call KernelPackage,nls-cp1250))
479 define KernelPackage/nls-cp1251
481 TITLE:=Codepage 1251 (Russian)
482 KCONFIG:=CONFIG_NLS_CODEPAGE_1251
483 FILES:=$(LINUX_DIR)/fs/nls/nls_cp1251.$(LINUX_KMOD_SUFFIX)
484 AUTOLOAD:=$(call AutoLoad,25,nls_cp1251)
485 $(call KernelPackage/nls/Depends)
489 define KernelPackage/nls-cp1251/description
490 Kernel module for NLS Codepage 1251 (Russian)
493 $(eval $(call KernelPackage,nls-cp1251))
496 define KernelPackage/nls-iso8859-1
498 TITLE:=ISO 8859-1 (Latin 1; Western European Languages)
499 KCONFIG:=CONFIG_NLS_ISO8859_1
500 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-1.$(LINUX_KMOD_SUFFIX)
501 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-1)
502 $(call KernelPackage/nls/Depends)
506 define KernelPackage/nls-iso8859-1/description
507 Kernel module for NLS ISO 8859-1 (Latin 1)
510 $(eval $(call KernelPackage,nls-iso8859-1))
513 define KernelPackage/nls-iso8859-2
515 TITLE:=ISO 8859-2 (Latin 2; Central European Languages)
516 KCONFIG:=CONFIG_NLS_ISO8859_2
517 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-2.$(LINUX_KMOD_SUFFIX)
518 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-2)
519 $(call KernelPackage/nls/Depends)
523 define KernelPackage/nls-iso8859-2/description
524 Kernel module for NLS ISO 8859-2 (Latin 2)
527 $(eval $(call KernelPackage,nls-iso8859-2))
530 define KernelPackage/nls-iso8859-15
532 TITLE:=ISO 8859-15 (Latin 9; Western, with Euro symbol)
533 KCONFIG:=CONFIG_NLS_ISO8859_15
534 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-15.$(LINUX_KMOD_SUFFIX)
535 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-15)
536 $(call KernelPackage/nls/Depends)
540 define KernelPackage/nls-iso8859-15/description
541 Kernel module for NLS ISO 8859-15 (Latin 9)
544 $(eval $(call KernelPackage,nls-iso8859-15))
547 define KernelPackage/nls-koi8r
549 TITLE:=KOI8-R (Russian)
550 KCONFIG:=CONFIG_NLS_KOI8_R
551 FILES:=$(LINUX_DIR)/fs/nls/nls_koi8-r.$(LINUX_KMOD_SUFFIX)
552 AUTOLOAD:=$(call AutoLoad,25,nls_koi8-r)
553 $(call KernelPackage/nls/Depends)
557 define KernelPackage/nls-koi8r/description
558 Kernel module for NLS KOI8-R (Russian)
561 $(eval $(call KernelPackage,nls-koi8r))
564 define KernelPackage/nls-utf8
567 KCONFIG:=CONFIG_NLS_UTF8
568 FILES:=$(LINUX_DIR)/fs/nls/nls_utf8.$(LINUX_KMOD_SUFFIX)
569 AUTOLOAD:=$(call AutoLoad,25,nls_utf8)
570 $(call KernelPackage/nls/Depends)
573 define KernelPackage/nls-utf8/description
574 Kernel module for NLS UTF-8
577 $(eval $(call KernelPackage,nls-utf8))
580 define KernelPackage/nls-iso8859-13
582 TITLE:=ISO 8859-13 (Latin 7; Baltic)
583 KCONFIG:=CONFIG_NLS_ISO8859_13
584 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-13.$(LINUX_KMOD_SUFFIX)
585 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-13)
586 $(call KernelPackage/nls/Depends)
590 define KernelPackage/nls-iso8859-13/description
591 Kernel module for NLS ISO 8859-13 (Latin 7; Baltic)
594 $(eval $(call KernelPackage,nls-iso8859-13))
596 define KernelPackage/nls-cp775
598 TITLE:=Codepage 775 (Baltic Rim)
599 KCONFIG:=CONFIG_NLS_CODEPAGE_775
600 FILES:=$(LINUX_DIR)/fs/nls/nls_cp775.$(LINUX_KMOD_SUFFIX)
601 AUTOLOAD:=$(call AutoLoad,25,nls_cp775)
602 $(call KernelPackage/nls/Depends)
606 define KernelPackage/nls-cp775/description
607 Kernel module for NLS Codepage 775 (Baltic Rim)
610 $(eval $(call KernelPackage,nls-cp775))