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,30,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,30,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_27&&!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))
382 define KernelPackage/nls-base
384 TITLE:=Native Language Support
386 FILES:=$(LINUX_DIR)/fs/nls/nls_base.$(LINUX_KMOD_SUFFIX)
387 AUTOLOAD:=$(call AutoLoad,20,nls_base)
390 define KernelPackage/nls-base/description
391 Kernel module for NLS (Native Language Support)
394 $(eval $(call KernelPackage,nls-base))
397 define KernelPackage/nls-cp437
399 TITLE:=Codepage 437 (United States, Canada)
400 KCONFIG:=CONFIG_NLS_CODEPAGE_437
401 FILES:=$(LINUX_DIR)/fs/nls/nls_cp437.$(LINUX_KMOD_SUFFIX)
402 AUTOLOAD:=$(call AutoLoad,25,nls_cp437)
403 $(call KernelPackage/nls/Depends)
407 define KernelPackage/nls-cp437/description
408 Kernel module for NLS Codepage 437 (United States, Canada)
411 $(eval $(call KernelPackage,nls-cp437))
414 define KernelPackage/nls-cp850
416 TITLE:=Codepage 850 (Europe)
417 KCONFIG:=CONFIG_NLS_CODEPAGE_850
418 FILES:=$(LINUX_DIR)/fs/nls/nls_cp850.$(LINUX_KMOD_SUFFIX)
419 AUTOLOAD:=$(call AutoLoad,25,nls_cp850)
420 $(call KernelPackage/nls/Depends)
424 define KernelPackage/nls-cp850/description
425 Kernel module for NLS Codepage 850 (Europe)
428 $(eval $(call KernelPackage,nls-cp850))
431 define KernelPackage/nls-cp852
433 TITLE:=Codepage 852 (Europe)
434 KCONFIG:=CONFIG_NLS_CODEPAGE_852
435 FILES:=$(LINUX_DIR)/fs/nls/nls_cp852.$(LINUX_KMOD_SUFFIX)
436 AUTOLOAD:=$(call AutoLoad,25,nls_cp852)
437 $(call KernelPackage/nls/Depends)
441 define KernelPackage/nls-cp852/description
442 Kernel module for NLS Codepage 852 (Europe)
445 $(eval $(call KernelPackage,nls-cp852))
448 define KernelPackage/nls-cp1250
450 TITLE:=Codepage 1250 (Eastern Europe)
451 KCONFIG:=CONFIG_NLS_CODEPAGE_1250
452 FILES:=$(LINUX_DIR)/fs/nls/nls_cp1250.$(LINUX_KMOD_SUFFIX)
453 AUTOLOAD:=$(call AutoLoad,25,nls_cp1250)
454 $(call KernelPackage/nls/Depends)
458 define KernelPackage/nls-cp1250/description
459 Kernel module for NLS Codepage 1250 (Eastern Europe)
462 $(eval $(call KernelPackage,nls-cp1250))
465 define KernelPackage/nls-cp1251
467 TITLE:=Codepage 1251 (Russian)
468 KCONFIG:=CONFIG_NLS_CODEPAGE_1251
469 FILES:=$(LINUX_DIR)/fs/nls/nls_cp1251.$(LINUX_KMOD_SUFFIX)
470 AUTOLOAD:=$(call AutoLoad,25,nls_cp1251)
471 $(call KernelPackage/nls/Depends)
475 define KernelPackage/nls-cp1251/description
476 Kernel module for NLS Codepage 1251 (Russian)
479 $(eval $(call KernelPackage,nls-cp1251))
482 define KernelPackage/nls-iso8859-1
484 TITLE:=ISO 8859-1 (Latin 1; Western European Languages)
485 KCONFIG:=CONFIG_NLS_ISO8859_1
486 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-1.$(LINUX_KMOD_SUFFIX)
487 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-1)
488 $(call KernelPackage/nls/Depends)
492 define KernelPackage/nls-iso8859-1/description
493 Kernel module for NLS ISO 8859-1 (Latin 1)
496 $(eval $(call KernelPackage,nls-iso8859-1))
499 define KernelPackage/nls-iso8859-2
501 TITLE:=ISO 8859-2 (Latin 2; Central European Languages)
502 KCONFIG:=CONFIG_NLS_ISO8859_2
503 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-2.$(LINUX_KMOD_SUFFIX)
504 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-2)
505 $(call KernelPackage/nls/Depends)
509 define KernelPackage/nls-iso8859-2/description
510 Kernel module for NLS ISO 8859-2 (Latin 2)
513 $(eval $(call KernelPackage,nls-iso8859-2))
516 define KernelPackage/nls-iso8859-15
518 TITLE:=ISO 8859-15 (Latin 9; Western, with Euro symbol)
519 KCONFIG:=CONFIG_NLS_ISO8859_15
520 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-15.$(LINUX_KMOD_SUFFIX)
521 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-15)
522 $(call KernelPackage/nls/Depends)
526 define KernelPackage/nls-iso8859-15/description
527 Kernel module for NLS ISO 8859-15 (Latin 9)
530 $(eval $(call KernelPackage,nls-iso8859-15))
533 define KernelPackage/nls-koi8r
535 TITLE:=KOI8-R (Russian)
536 KCONFIG:=CONFIG_NLS_KOI8_R
537 FILES:=$(LINUX_DIR)/fs/nls/nls_koi8-r.$(LINUX_KMOD_SUFFIX)
538 AUTOLOAD:=$(call AutoLoad,25,nls_koi8-r)
539 $(call KernelPackage/nls/Depends)
543 define KernelPackage/nls-koi8r/description
544 Kernel module for NLS KOI8-R (Russian)
547 $(eval $(call KernelPackage,nls-koi8r))
550 define KernelPackage/nls-utf8
553 KCONFIG:=CONFIG_NLS_UTF8
554 FILES:=$(LINUX_DIR)/fs/nls/nls_utf8.$(LINUX_KMOD_SUFFIX)
555 AUTOLOAD:=$(call AutoLoad,25,nls_utf8)
556 $(call KernelPackage/nls/Depends)
559 define KernelPackage/nls-utf8/description
560 Kernel module for NLS UTF-8
563 $(eval $(call KernelPackage,nls-utf8))
566 define KernelPackage/nls-iso8859-13
568 TITLE:=ISO 8859-13 (Latin 7; Baltic)
569 KCONFIG:=CONFIG_NLS_ISO8859_13
570 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-13.$(LINUX_KMOD_SUFFIX)
571 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-13)
572 $(call KernelPackage/nls/Depends)
576 define KernelPackage/nls-iso8859-13/description
577 Kernel module for NLS ISO 8859-13 (Latin 7; Baltic)
580 $(eval $(call KernelPackage,nls-iso8859-13))
582 define KernelPackage/nls-cp775
584 TITLE:=Codepage 775 (Baltic Rim)
585 KCONFIG:=CONFIG_NLS_CODEPAGE_775
586 FILES:=$(LINUX_DIR)/fs/nls/nls_cp775.$(LINUX_KMOD_SUFFIX)
587 AUTOLOAD:=$(call AutoLoad,25,nls_cp775)
588 $(call KernelPackage/nls/Depends)
592 define KernelPackage/nls-cp775/description
593 Kernel module for NLS Codepage 775 (Baltic Rim)
596 $(eval $(call KernelPackage,nls-cp775))