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
12 DEPENDS:= +kmod-nls-base
16 define KernelPackage/fs-cifs
20 FILES:=$(LINUX_DIR)/fs/cifs/cifs.$(LINUX_KMOD_SUFFIX)
21 AUTOLOAD:=$(call AutoLoad,30,cifs)
22 $(call KernelPackage/nls/Depends)
26 define KernelPackage/fs-cifs/description
27 Kernel module for CIFS support
30 $(eval $(call KernelPackage,fs-cifs))
33 define KernelPackage/fs-minix
35 TITLE:=Minix filesystem support
36 KCONFIG:=CONFIG_MINIX_FS
37 FILES:=$(LINUX_DIR)/fs/minix/minix.$(LINUX_KMOD_SUFFIX)
38 AUTOLOAD:=$(call AutoLoad,30,minix)
41 define KernelPackage/fs-minix/description
42 Kernel module for Minix filesystem support
45 $(eval $(call KernelPackage,fs-minix))
48 define KernelPackage/fs-ntfs
50 TITLE:=NTFS filesystem support
51 KCONFIG:=CONFIG_NTFS_FS
52 FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.$(LINUX_KMOD_SUFFIX)
53 AUTOLOAD:=$(call AutoLoad,30,ntfs)
54 $(call KernelPackage/nls/Depends)
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))
116 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),lt,2.6.28)),1)
122 define KernelPackage/fs-ext4
124 TITLE:=EXT4 filesystem support
126 CONFIG_EXT4DEV_COMPAT=y \
127 CONFIG_EXT4_FS_XATTR=y \
128 CONFIG_EXT4_FS_POSIX_ACL=y \
129 CONFIG_EXT4_FS_SECURITY=y \
132 DEPENDS:= @LINUX_2_6 +kmod-crc16 $(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache)
134 $(LINUX_DIR)/fs/ext4/$(EXT4_NAME).$(LINUX_KMOD_SUFFIX) \
135 $(LINUX_DIR)/fs/jbd2/jbd2.$(LINUX_KMOD_SUFFIX)
136 AUTOLOAD:=$(call AutoLoad,30,jbd2 $(EXT4_NAME))
139 define KernelPackage/fs-ext4/description
140 Kernel module for EXT4 filesystem support
143 $(eval $(call KernelPackage,fs-ext4))
147 define KernelPackage/fs-hfs
149 TITLE:=HFS+ filesystem support
150 KCONFIG:=CONFIG_HFS_FS
151 FILES:=$(LINUX_DIR)/fs/hfs/hfs.$(LINUX_KMOD_SUFFIX)
152 AUTOLOAD:=$(call AutoLoad,30,hfs)
153 $(call KernelPackage/nls/Depends)
156 define KernelPackage/fs-hfs/description
157 Kernel module for HFS filesystem support
160 $(eval $(call KernelPackage,fs-hfs))
163 define KernelPackage/fs-hfsplus
165 TITLE:=HFS+ filesystem support
166 KCONFIG:=CONFIG_HFSPLUS_FS
167 FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.$(LINUX_KMOD_SUFFIX)
168 AUTOLOAD:=$(call AutoLoad,30,hfsplus)
169 $(call KernelPackage/nls/Depends,utf8)
173 define KernelPackage/fs-hfsplus/description
174 Kernel module for HFS+ filesystem support
177 $(eval $(call KernelPackage,fs-hfsplus))
180 define KernelPackage/fs-isofs
182 TITLE:=ISO9660 filesystem support
183 KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
184 FILES:=$(LINUX_DIR)/fs/isofs/isofs.$(LINUX_KMOD_SUFFIX)
185 AUTOLOAD:=$(call AutoLoad,30,isofs)
186 $(call KernelPackage/nls/Depends)
190 define KernelPackage/fs-isofs/description
191 Kernel module for ISO9660 filesystem support
194 $(eval $(call KernelPackage,fs-isofs))
197 define KernelPackage/fs-udf
199 TITLE:=UDF filesystem support
200 KCONFIG:=CONFIG_UDF_FS
201 FILES:=$(LINUX_DIR)/fs/udf/udf.$(LINUX_KMOD_SUFFIX)
202 AUTOLOAD:=$(call AutoLoad,30,udf)
203 $(call KernelPackage/nls/Depends)
207 define KernelPackage/fs-udf/description
208 Kernel module for UDF filesystem support
211 $(eval $(call KernelPackage,fs-udf))
213 define KernelPackage/fs-nfs-common
215 TITLE:=Common NFS filesystem modules
220 $(LINUX_DIR)/fs/lockd/lockd.$(LINUX_KMOD_SUFFIX) \
221 $(LINUX_DIR)/net/sunrpc/sunrpc.$(LINUX_KMOD_SUFFIX)
222 AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd)
225 define KernelPackage/fs-nfs-common/2.6
226 KCONFIG+=CONFIG_SUNRPC_GSS
227 FILES+=$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.$(LINUX_KMOD_SUFFIX)
228 AUTOLOAD=$(call AutoLoad,30,sunrpc lockd auth_rpcgss)
231 $(eval $(call KernelPackage,fs-nfs-common))
234 define KernelPackage/fs-nfs
236 TITLE:=NFS filesystem support
237 DEPENDS:=+kmod-fs-nfs-common
241 $(LINUX_DIR)/fs/nfs/nfs.$(LINUX_KMOD_SUFFIX)
242 AUTOLOAD:=$(call AutoLoad,40,nfs)
245 define KernelPackage/fs-nfs/description
246 Kernel module for NFS support
249 $(eval $(call KernelPackage,fs-nfs))
252 define KernelPackage/fs-exportfs
254 TITLE:=exportfs kernel server support
255 KCONFIG:=CONFIG_EXPORTFS
256 FILES=$(LINUX_DIR)/fs/exportfs/exportfs.$(LINUX_KMOD_SUFFIX)
257 AUTOLOAD:=$(call AutoLoad,20,exportfs)
260 define KernelPackage/fs-exportfs/description
261 Kernel module for exportfs. Needed for some other modules.
264 $(eval $(call KernelPackage,fs-exportfs))
267 define KernelPackage/fs-nfsd
269 TITLE:=NFS kernel server support
270 DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs
272 FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.$(LINUX_KMOD_SUFFIX)
273 AUTOLOAD:=$(call AutoLoad,40,nfsd)
276 define KernelPackage/fs-nfsd/description
277 Kernel module for NFS kernel server support
280 $(eval $(call KernelPackage,fs-nfsd))
283 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.28)),1)
288 define KernelPackage/fs-msdos
290 TITLE:=MSDOS filesystem support
291 KCONFIG:=CONFIG_MSDOS_FS
292 FILES:=$(LINUX_DIR)/fs/$(MSDOS_DIR)/msdos.$(LINUX_KMOD_SUFFIX)
293 AUTOLOAD:=$(call AutoLoad,40,msdos)
294 $(call KernelPackage/nls/Depends)
298 define KernelPackage/fs-msdos/description
299 Kernel module for MSDOS filesystem support
302 $(eval $(call KernelPackage,fs-msdos))
305 define KernelPackage/fs-reiserfs
307 TITLE:=ReiserFS filesystem support
308 KCONFIG:=CONFIG_REISERFS_FS
309 FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.$(LINUX_KMOD_SUFFIX)
310 AUTOLOAD:=$(call AutoLoad,30,reiserfs)
313 define KernelPackage/fs-reiserfs/description
314 Kernel module for ReiserFS support
317 $(eval $(call KernelPackage,fs-reiserfs))
319 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.28)),1)
324 define KernelPackage/fs-vfat
326 TITLE:=VFAT filesystem support
331 $(LINUX_DIR)/fs/fat/fat.$(LINUX_KMOD_SUFFIX) \
332 $(LINUX_DIR)/fs/$(VFAT_DIR)/vfat.$(LINUX_KMOD_SUFFIX)
333 AUTOLOAD:=$(call AutoLoad,30,fat vfat)
334 $(call KernelPackage/nls/Depends)
338 define KernelPackage/fs-vfat/description
339 Kernel module for VFAT filesystem support
342 $(eval $(call KernelPackage,fs-vfat))
345 define KernelPackage/fs-xfs
347 TITLE:=XFS filesystem support
348 KCONFIG:=CONFIG_XFS_FS
349 DEPENDS:= +kmod-fs-exportfs
350 FILES:=$(LINUX_DIR)/fs/xfs/xfs.$(LINUX_KMOD_SUFFIX)
351 AUTOLOAD:=$(call AutoLoad,30,xfs)
354 define KernelPackage/fs-xfs/description
355 Kernel module for XFS support
358 $(eval $(call KernelPackage,fs-xfs))
360 define KernelPackage/fs-btrfs
362 TITLE:=BTRFS filesystem support
364 CONFIG_CRYPTO_CRC32C \
367 CONFIG_BTRFS_FS_POSIX_ACL=n
369 DEPENDS:=+kmod-crypto-core @!LINUX_2_6_21&&!LINUX_2_6_25&&!LINUX_2_6_27&&!LINUX_2_6_28
371 $(LINUX_DIR)/crypto/crc32c.$(LINUX_KMOD_SUFFIX) \
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)
377 define KernelPackage/fs-btrfs/description
378 Kernel module for BTRFS support
381 $(eval $(call KernelPackage,fs-btrfs))
384 define KernelPackage/nls-base
386 TITLE:=Native Language Support
388 FILES:=$(LINUX_DIR)/fs/nls/nls_base.$(LINUX_KMOD_SUFFIX)
389 AUTOLOAD:=$(call AutoLoad,20,nls_base)
392 define KernelPackage/nls-base/description
393 Kernel module for NLS (Native Language Support)
396 $(eval $(call KernelPackage,nls-base))
399 define KernelPackage/nls-cp437
401 TITLE:=Codepage 437 (United States, Canada)
402 KCONFIG:=CONFIG_NLS_CODEPAGE_437
403 FILES:=$(LINUX_DIR)/fs/nls/nls_cp437.$(LINUX_KMOD_SUFFIX)
404 AUTOLOAD:=$(call AutoLoad,25,nls_cp437)
405 $(call KernelPackage/nls/Depends)
409 define KernelPackage/nls-cp437/description
410 Kernel module for NLS Codepage 437 (United States, Canada)
413 $(eval $(call KernelPackage,nls-cp437))
416 define KernelPackage/nls-cp850
418 TITLE:=Codepage 850 (Europe)
419 KCONFIG:=CONFIG_NLS_CODEPAGE_850
420 FILES:=$(LINUX_DIR)/fs/nls/nls_cp850.$(LINUX_KMOD_SUFFIX)
421 AUTOLOAD:=$(call AutoLoad,25,nls_cp850)
422 $(call KernelPackage/nls/Depends)
426 define KernelPackage/nls-cp850/description
427 Kernel module for NLS Codepage 850 (Europe)
430 $(eval $(call KernelPackage,nls-cp850))
433 define KernelPackage/nls-cp852
435 TITLE:=Codepage 852 (Europe)
436 KCONFIG:=CONFIG_NLS_CODEPAGE_852
437 FILES:=$(LINUX_DIR)/fs/nls/nls_cp852.$(LINUX_KMOD_SUFFIX)
438 AUTOLOAD:=$(call AutoLoad,25,nls_cp852)
439 $(call KernelPackage/nls/Depends)
443 define KernelPackage/nls-cp852/description
444 Kernel module for NLS Codepage 852 (Europe)
447 $(eval $(call KernelPackage,nls-cp852))
450 define KernelPackage/nls-cp1250
452 TITLE:=Codepage 1250 (Eastern Europe)
453 KCONFIG:=CONFIG_NLS_CODEPAGE_1250
454 FILES:=$(LINUX_DIR)/fs/nls/nls_cp1250.$(LINUX_KMOD_SUFFIX)
455 AUTOLOAD:=$(call AutoLoad,25,nls_cp1250)
456 $(call KernelPackage/nls/Depends)
460 define KernelPackage/nls-cp1250/description
461 Kernel module for NLS Codepage 1250 (Eastern Europe)
464 $(eval $(call KernelPackage,nls-cp1250))
467 define KernelPackage/nls-cp1251
469 TITLE:=Codepage 1251 (Russian)
470 KCONFIG:=CONFIG_NLS_CODEPAGE_1251
471 FILES:=$(LINUX_DIR)/fs/nls/nls_cp1251.$(LINUX_KMOD_SUFFIX)
472 AUTOLOAD:=$(call AutoLoad,25,nls_cp1251)
473 $(call KernelPackage/nls/Depends)
477 define KernelPackage/nls-cp1251/description
478 Kernel module for NLS Codepage 1251 (Russian)
481 $(eval $(call KernelPackage,nls-cp1251))
484 define KernelPackage/nls-iso8859-1
486 TITLE:=ISO 8859-1 (Latin 1; Western European Languages)
487 KCONFIG:=CONFIG_NLS_ISO8859_1
488 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-1.$(LINUX_KMOD_SUFFIX)
489 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-1)
490 $(call KernelPackage/nls/Depends)
494 define KernelPackage/nls-iso8859-1/description
495 Kernel module for NLS ISO 8859-1 (Latin 1)
498 $(eval $(call KernelPackage,nls-iso8859-1))
501 define KernelPackage/nls-iso8859-2
503 TITLE:=ISO 8859-2 (Latin 2; Central European Languages)
504 KCONFIG:=CONFIG_NLS_ISO8859_2
505 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-2.$(LINUX_KMOD_SUFFIX)
506 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-2)
507 $(call KernelPackage/nls/Depends)
511 define KernelPackage/nls-iso8859-2/description
512 Kernel module for NLS ISO 8859-2 (Latin 2)
515 $(eval $(call KernelPackage,nls-iso8859-2))
518 define KernelPackage/nls-iso8859-15
520 TITLE:=ISO 8859-15 (Latin 9; Western, with Euro symbol)
521 KCONFIG:=CONFIG_NLS_ISO8859_15
522 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-15.$(LINUX_KMOD_SUFFIX)
523 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-15)
524 $(call KernelPackage/nls/Depends)
528 define KernelPackage/nls-iso8859-15/description
529 Kernel module for NLS ISO 8859-15 (Latin 9)
532 $(eval $(call KernelPackage,nls-iso8859-15))
535 define KernelPackage/nls-koi8r
537 TITLE:=KOI8-R (Russian)
538 KCONFIG:=CONFIG_NLS_KOI8_R
539 FILES:=$(LINUX_DIR)/fs/nls/nls_koi8-r.$(LINUX_KMOD_SUFFIX)
540 AUTOLOAD:=$(call AutoLoad,25,nls_koi8-r)
541 $(call KernelPackage/nls/Depends)
545 define KernelPackage/nls-koi8r/description
546 Kernel module for NLS KOI8-R (Russian)
549 $(eval $(call KernelPackage,nls-koi8r))
552 define KernelPackage/nls-utf8
555 KCONFIG:=CONFIG_NLS_UTF8
556 FILES:=$(LINUX_DIR)/fs/nls/nls_utf8.$(LINUX_KMOD_SUFFIX)
557 AUTOLOAD:=$(call AutoLoad,25,nls_utf8)
558 $(call KernelPackage/nls/Depends)
561 define KernelPackage/nls-utf8/description
562 Kernel module for NLS UTF-8
565 $(eval $(call KernelPackage,nls-utf8))
568 define KernelPackage/nls-iso8859-13
570 TITLE:=ISO 8859-13 (Latin 7; Baltic)
571 KCONFIG:=CONFIG_NLS_ISO8859_13
572 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-13.$(LINUX_KMOD_SUFFIX)
573 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-13)
574 $(call KernelPackage/nls/Depends)
578 define KernelPackage/nls-iso8859-13/description
579 Kernel module for NLS ISO 8859-13 (Latin 7; Baltic)
582 $(eval $(call KernelPackage,nls-iso8859-13))
584 define KernelPackage/nls-cp775
586 TITLE:=Codepage 775 (Baltic Rim)
587 KCONFIG:=CONFIG_NLS_CODEPAGE_775
588 FILES:=$(LINUX_DIR)/fs/nls/nls_cp775.$(LINUX_KMOD_SUFFIX)
589 AUTOLOAD:=$(call AutoLoad,25,nls_cp775)
590 $(call KernelPackage/nls/Depends)
594 define KernelPackage/nls-cp775/description
595 Kernel module for NLS Codepage 775 (Baltic Rim)
598 $(eval $(call KernelPackage,nls-cp775))