2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
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 AddDepends/nls)
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 AddDepends/nls)
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/ext4)
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,1)
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,1)
88 define KernelPackage/fs-ext2/description
89 Kernel module for EXT2 filesystem support
92 $(eval $(call KernelPackage,fs-ext2,1))
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,1)
108 define KernelPackage/fs-ext3/description
109 Kernel module for EXT3 filesystem support
112 $(eval $(call KernelPackage,fs-ext3))
114 define KernelPackage/fs-ext4
116 TITLE:=EXT4 filesystem support
118 CONFIG_EXT4_FS_XATTR=y \
119 CONFIG_EXT4_FS_POSIX_ACL=y \
120 CONFIG_EXT4_FS_SECURITY=y \
123 DEPENDS:= @LINUX_2_6 $(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache)
125 $(LINUX_DIR)/fs/ext4/ext4.$(LINUX_KMOD_SUFFIX) \
126 $(LINUX_DIR)/fs/jbd2/jbd2.$(LINUX_KMOD_SUFFIX)
127 AUTOLOAD:=$(call AutoLoad,30,jbd2 ext4,1)
128 $(call AddDepends/crc16)
131 define KernelPackage/fs-ext4/description
132 Kernel module for EXT4 filesystem support
135 $(eval $(call KernelPackage,fs-ext4))
139 define KernelPackage/fs-hfs
141 TITLE:=HFS+ filesystem support
142 KCONFIG:=CONFIG_HFS_FS
143 FILES:=$(LINUX_DIR)/fs/hfs/hfs.$(LINUX_KMOD_SUFFIX)
144 AUTOLOAD:=$(call AutoLoad,30,hfs)
145 $(call AddDepends/nls)
148 define KernelPackage/fs-hfs/description
149 Kernel module for HFS filesystem support
152 $(eval $(call KernelPackage,fs-hfs))
155 define KernelPackage/fs-hfsplus
157 TITLE:=HFS+ filesystem support
158 KCONFIG:=CONFIG_HFSPLUS_FS
159 FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.$(LINUX_KMOD_SUFFIX)
160 AUTOLOAD:=$(call AutoLoad,30,hfsplus)
161 $(call AddDepends/nls,utf8)
165 define KernelPackage/fs-hfsplus/description
166 Kernel module for HFS+ filesystem support
169 $(eval $(call KernelPackage,fs-hfsplus))
172 define KernelPackage/fs-isofs
174 TITLE:=ISO9660 filesystem support
175 KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
176 FILES:=$(LINUX_DIR)/fs/isofs/isofs.$(LINUX_KMOD_SUFFIX)
177 AUTOLOAD:=$(call AutoLoad,30,isofs)
178 $(call AddDepends/nls)
182 define KernelPackage/fs-isofs/description
183 Kernel module for ISO9660 filesystem support
186 $(eval $(call KernelPackage,fs-isofs))
189 define KernelPackage/fs-udf
191 TITLE:=UDF filesystem support
192 KCONFIG:=CONFIG_UDF_FS
193 FILES:=$(LINUX_DIR)/fs/udf/udf.$(LINUX_KMOD_SUFFIX)
194 AUTOLOAD:=$(call AutoLoad,30,udf)
195 $(call AddDepends/nls)
199 define KernelPackage/fs-udf/description
200 Kernel module for UDF filesystem support
203 $(eval $(call KernelPackage,fs-udf))
205 define KernelPackage/fs-nfs-common
207 TITLE:=Common NFS filesystem modules
212 $(LINUX_DIR)/fs/lockd/lockd.$(LINUX_KMOD_SUFFIX) \
213 $(LINUX_DIR)/net/sunrpc/sunrpc.$(LINUX_KMOD_SUFFIX)
214 AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd)
217 $(eval $(call KernelPackage,fs-nfs-common))
220 define KernelPackage/fs-nfs-common-v4
222 TITLE:=Common NFS V4 filesystem modules
227 DEPENDS:= @LINUX_2_6 @BROKEN
228 FILES+=$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.$(LINUX_KMOD_SUFFIX)
229 AUTOLOAD=$(call AutoLoad,30,auth_rpcgss)
232 define KernelPackage/fs-nfs-common-v4/description
233 Kernel modules for NFS V4 & NFSD V4 kernel support
236 $(eval $(call KernelPackage,fs-nfs-common-v4))
239 define KernelPackage/fs-nfs
241 TITLE:=NFS filesystem support
242 DEPENDS:=+kmod-fs-nfs-common
246 $(LINUX_DIR)/fs/nfs/nfs.$(LINUX_KMOD_SUFFIX)
247 AUTOLOAD:=$(call AutoLoad,40,nfs)
250 define KernelPackage/fs-nfs/description
251 Kernel module for NFS support
254 $(eval $(call KernelPackage,fs-nfs))
257 define KernelPackage/fs-exportfs
259 TITLE:=exportfs kernel server support
260 KCONFIG:=CONFIG_EXPORTFS
261 FILES=$(LINUX_DIR)/fs/exportfs/exportfs.$(LINUX_KMOD_SUFFIX)
262 AUTOLOAD:=$(call AutoLoad,20,exportfs)
265 define KernelPackage/fs-exportfs/description
266 Kernel module for exportfs. Needed for some other modules.
269 $(eval $(call KernelPackage,fs-exportfs))
272 define KernelPackage/fs-nfsd
274 TITLE:=NFS kernel server support
275 DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs
277 FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.$(LINUX_KMOD_SUFFIX)
278 AUTOLOAD:=$(call AutoLoad,40,nfsd)
281 define KernelPackage/fs-nfsd/description
282 Kernel module for NFS kernel server support
285 $(eval $(call KernelPackage,fs-nfsd))
287 define KernelPackage/fs-msdos
289 TITLE:=MSDOS filesystem support
290 KCONFIG:=CONFIG_MSDOS_FS
291 FILES:=$(LINUX_DIR)/fs/fat/msdos.$(LINUX_KMOD_SUFFIX)
292 AUTOLOAD:=$(call AutoLoad,40,msdos)
293 $(call AddDepends/nls)
296 define KernelPackage/fs-msdos/2.4
297 FILES:=$(LINUX_DIR)/fs/msdos/msdos.$(LINUX_KMOD_SUFFIX)
300 define KernelPackage/fs-msdos/description
301 Kernel module for MSDOS filesystem support
304 $(eval $(call KernelPackage,fs-msdos))
307 define KernelPackage/fs-reiserfs
309 TITLE:=ReiserFS filesystem support
310 KCONFIG:=CONFIG_REISERFS_FS
311 FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.$(LINUX_KMOD_SUFFIX)
312 AUTOLOAD:=$(call AutoLoad,30,reiserfs,1)
315 define KernelPackage/fs-reiserfs/description
316 Kernel module for ReiserFS support
319 $(eval $(call KernelPackage,fs-reiserfs))
321 define KernelPackage/fs-vfat
323 TITLE:=VFAT filesystem support
328 $(LINUX_DIR)/fs/fat/fat.$(LINUX_KMOD_SUFFIX) \
329 $(LINUX_DIR)/fs/fat/vfat.$(LINUX_KMOD_SUFFIX)
330 AUTOLOAD:=$(call AutoLoad,30,fat vfat)
331 $(call AddDepends/nls)
334 define KernelPackage/fs-vfat/2.4
336 $(LINUX_DIR)/fs/fat/fat.$(LINUX_KMOD_SUFFIX) \
337 $(LINUX_DIR)/fs/vfat/vfat.$(LINUX_KMOD_SUFFIX)
340 define KernelPackage/fs-vfat/description
341 Kernel module for VFAT filesystem support
344 $(eval $(call KernelPackage,fs-vfat))
347 define KernelPackage/fs-xfs
349 TITLE:=XFS filesystem support
350 KCONFIG:=CONFIG_XFS_FS
351 DEPENDS:= +kmod-fs-exportfs
352 FILES:=$(LINUX_DIR)/fs/xfs/xfs.$(LINUX_KMOD_SUFFIX)
353 AUTOLOAD:=$(call AutoLoad,30,xfs,1)
356 define KernelPackage/fs-xfs/description
357 Kernel module for XFS support
360 $(eval $(call KernelPackage,fs-xfs))
362 define KernelPackage/fs-btrfs
364 TITLE:=BTRFS filesystem support
368 CONFIG_BTRFS_FS_POSIX_ACL=n
370 DEPENDS:=+kmod-crypto-core +kmod-crypto-misc
372 $(LINUX_DIR)/lib/libcrc32c.$(LINUX_KMOD_SUFFIX) \
373 $(LINUX_DIR)/fs/btrfs/btrfs.$(LINUX_KMOD_SUFFIX)
374 AUTOLOAD:=$(call AutoLoad,30,crc32c libcrc32c btrfs,1)
377 define KernelPackage/fs-btrfs/description
378 Kernel module for BTRFS support
381 $(eval $(call KernelPackage,fs-btrfs))
383 define KernelPackage/fs-autofs4
385 TITLE:=AUTOFS4 filesystem support
386 KCONFIG:=CONFIG_AUTOFS4_FS
387 FILES:=$(LINUX_DIR)/fs/autofs4/autofs4.$(LINUX_KMOD_SUFFIX)
388 AUTOLOAD:=$(call AutoLoad,30,autofs4)
391 define KernelPackage/fs-autofs4/description
392 Kernel module for AutoFS4 support
395 $(eval $(call KernelPackage,fs-autofs4))
398 define KernelPackage/nls-base
400 TITLE:=Native Language Support
402 FILES:=$(LINUX_DIR)/fs/nls/nls_base.$(LINUX_KMOD_SUFFIX)
403 AUTOLOAD:=$(call AutoLoad,20,nls_base,1)
406 define KernelPackage/nls-base/description
407 Kernel module for NLS (Native Language Support)
410 $(eval $(call KernelPackage,nls-base))
413 define KernelPackage/nls-cp437
415 TITLE:=Codepage 437 (United States, Canada)
416 KCONFIG:=CONFIG_NLS_CODEPAGE_437
417 FILES:=$(LINUX_DIR)/fs/nls/nls_cp437.$(LINUX_KMOD_SUFFIX)
418 AUTOLOAD:=$(call AutoLoad,25,nls_cp437)
419 $(call AddDepends/nls)
423 define KernelPackage/nls-cp437/description
424 Kernel module for NLS Codepage 437 (United States, Canada)
427 $(eval $(call KernelPackage,nls-cp437))
430 define KernelPackage/nls-cp850
432 TITLE:=Codepage 850 (Europe)
433 KCONFIG:=CONFIG_NLS_CODEPAGE_850
434 FILES:=$(LINUX_DIR)/fs/nls/nls_cp850.$(LINUX_KMOD_SUFFIX)
435 AUTOLOAD:=$(call AutoLoad,25,nls_cp850)
436 $(call AddDepends/nls)
440 define KernelPackage/nls-cp850/description
441 Kernel module for NLS Codepage 850 (Europe)
444 $(eval $(call KernelPackage,nls-cp850))
447 define KernelPackage/nls-cp852
449 TITLE:=Codepage 852 (Europe)
450 KCONFIG:=CONFIG_NLS_CODEPAGE_852
451 FILES:=$(LINUX_DIR)/fs/nls/nls_cp852.$(LINUX_KMOD_SUFFIX)
452 AUTOLOAD:=$(call AutoLoad,25,nls_cp852)
453 $(call AddDepends/nls)
457 define KernelPackage/nls-cp852/description
458 Kernel module for NLS Codepage 852 (Europe)
461 $(eval $(call KernelPackage,nls-cp852))
464 define KernelPackage/nls-cp866
466 TITLE:=Codepage 866 (Cyrillic)
467 KCONFIG:=CONFIG_NLS_CODEPAGE_866
468 FILES:=$(LINUX_DIR)/fs/nls/nls_cp866.$(LINUX_KMOD_SUFFIX)
469 AUTOLOAD:=$(call AutoLoad,25,nls_cp866)
470 $(call AddDepends/nls)
474 define KernelPackage/nls-cp866/description
475 Kernel module for NLS Codepage 866 (Cyrillic)
478 $(eval $(call KernelPackage,nls-cp866))
481 define KernelPackage/nls-cp1250
483 TITLE:=Codepage 1250 (Eastern Europe)
484 KCONFIG:=CONFIG_NLS_CODEPAGE_1250
485 FILES:=$(LINUX_DIR)/fs/nls/nls_cp1250.$(LINUX_KMOD_SUFFIX)
486 AUTOLOAD:=$(call AutoLoad,25,nls_cp1250)
487 $(call AddDepends/nls)
491 define KernelPackage/nls-cp1250/description
492 Kernel module for NLS Codepage 1250 (Eastern Europe)
495 $(eval $(call KernelPackage,nls-cp1250))
498 define KernelPackage/nls-cp1251
500 TITLE:=Codepage 1251 (Russian)
501 KCONFIG:=CONFIG_NLS_CODEPAGE_1251
502 FILES:=$(LINUX_DIR)/fs/nls/nls_cp1251.$(LINUX_KMOD_SUFFIX)
503 AUTOLOAD:=$(call AutoLoad,25,nls_cp1251)
504 $(call AddDepends/nls)
508 define KernelPackage/nls-cp1251/description
509 Kernel module for NLS Codepage 1251 (Russian)
512 $(eval $(call KernelPackage,nls-cp1251))
515 define KernelPackage/nls-iso8859-1
517 TITLE:=ISO 8859-1 (Latin 1; Western European Languages)
518 KCONFIG:=CONFIG_NLS_ISO8859_1
519 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-1.$(LINUX_KMOD_SUFFIX)
520 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-1)
521 $(call AddDepends/nls)
525 define KernelPackage/nls-iso8859-1/description
526 Kernel module for NLS ISO 8859-1 (Latin 1)
529 $(eval $(call KernelPackage,nls-iso8859-1))
532 define KernelPackage/nls-iso8859-2
534 TITLE:=ISO 8859-2 (Latin 2; Central European Languages)
535 KCONFIG:=CONFIG_NLS_ISO8859_2
536 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-2.$(LINUX_KMOD_SUFFIX)
537 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-2)
538 $(call AddDepends/nls)
542 define KernelPackage/nls-iso8859-2/description
543 Kernel module for NLS ISO 8859-2 (Latin 2)
546 $(eval $(call KernelPackage,nls-iso8859-2))
549 define KernelPackage/nls-iso8859-15
551 TITLE:=ISO 8859-15 (Latin 9; Western, with Euro symbol)
552 KCONFIG:=CONFIG_NLS_ISO8859_15
553 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-15.$(LINUX_KMOD_SUFFIX)
554 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-15)
555 $(call AddDepends/nls)
559 define KernelPackage/nls-iso8859-15/description
560 Kernel module for NLS ISO 8859-15 (Latin 9)
563 $(eval $(call KernelPackage,nls-iso8859-15))
566 define KernelPackage/nls-koi8r
568 TITLE:=KOI8-R (Russian)
569 KCONFIG:=CONFIG_NLS_KOI8_R
570 FILES:=$(LINUX_DIR)/fs/nls/nls_koi8-r.$(LINUX_KMOD_SUFFIX)
571 AUTOLOAD:=$(call AutoLoad,25,nls_koi8-r)
572 $(call AddDepends/nls)
576 define KernelPackage/nls-koi8r/description
577 Kernel module for NLS KOI8-R (Russian)
580 $(eval $(call KernelPackage,nls-koi8r))
583 define KernelPackage/nls-utf8
586 KCONFIG:=CONFIG_NLS_UTF8
587 FILES:=$(LINUX_DIR)/fs/nls/nls_utf8.$(LINUX_KMOD_SUFFIX)
588 AUTOLOAD:=$(call AutoLoad,25,nls_utf8)
589 $(call AddDepends/nls)
592 define KernelPackage/nls-utf8/description
593 Kernel module for NLS UTF-8
596 $(eval $(call KernelPackage,nls-utf8))
599 define KernelPackage/nls-iso8859-13
601 TITLE:=ISO 8859-13 (Latin 7; Baltic)
602 KCONFIG:=CONFIG_NLS_ISO8859_13
603 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-13.$(LINUX_KMOD_SUFFIX)
604 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-13)
605 $(call AddDepends/nls)
609 define KernelPackage/nls-iso8859-13/description
610 Kernel module for NLS ISO 8859-13 (Latin 7; Baltic)
613 $(eval $(call KernelPackage,nls-iso8859-13))
615 define KernelPackage/nls-cp775
617 TITLE:=Codepage 775 (Baltic Rim)
618 KCONFIG:=CONFIG_NLS_CODEPAGE_775
619 FILES:=$(LINUX_DIR)/fs/nls/nls_cp775.$(LINUX_KMOD_SUFFIX)
620 AUTOLOAD:=$(call AutoLoad,25,nls_cp775)
621 $(call AddDepends/nls)
625 define KernelPackage/nls-cp775/description
626 Kernel module for NLS Codepage 775 (Baltic Rim)
629 $(eval $(call KernelPackage,nls-cp775))