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
)
56 define KernelPackage
/fs-ntfs
/description
57 Kernel module for NTFS filesystem support
60 $(eval
$(call KernelPackage
,fs-ntfs
))
63 define KernelPackage
/fs-mbcache
65 TITLE
:=mbcache
(used by ext2
/ext3
)
66 KCONFIG
:=CONFIG_FS_MBCACHE
67 ifneq ($(CONFIG_FS_MBCACHE
),)
68 FILES
:=$(LINUX_DIR
)/fs
/mbcache.
$(LINUX_KMOD_SUFFIX
)
69 AUTOLOAD
:=$(call AutoLoad
,20,mbcache
)
73 define KernelPackage
/fs-ext2
/description
74 Meta Block cache used by ext2
/ext3
75 This package will only be installed if extended attributes
76 are enabled for ext2
/ext3
78 $(eval
$(call KernelPackage
,fs-mbcache
))
80 define KernelPackage
/fs-ext2
82 TITLE
:=EXT2 filesystem support
83 KCONFIG
:=CONFIG_EXT2_FS
84 DEPENDS
:=$(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
)
85 FILES
:=$(LINUX_DIR
)/fs
/ext2
/ext2.
$(LINUX_KMOD_SUFFIX
)
86 AUTOLOAD
:=$(call AutoLoad
,30,ext2
)
89 define KernelPackage
/fs-ext2
/description
90 Kernel module for EXT2 filesystem support
93 $(eval
$(call KernelPackage
,fs-ext2
))
96 define KernelPackage
/fs-ext3
98 TITLE
:=EXT3 filesystem support
102 DEPENDS
:=$(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
)
104 $(LINUX_DIR
)/fs
/ext3
/ext3.
$(LINUX_KMOD_SUFFIX
) \
105 $(LINUX_DIR
)/fs
/jbd
/jbd.
$(LINUX_KMOD_SUFFIX
)
106 AUTOLOAD
:=$(call AutoLoad
,30,jbd ext3
)
109 define KernelPackage
/fs-ext3
/description
110 Kernel module for EXT3 filesystem support
113 $(eval
$(call KernelPackage
,fs-ext3
))
115 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),lt
,2.6.28)),1)
121 define KernelPackage
/fs-ext4
123 TITLE
:=EXT4 filesystem support
125 CONFIG_EXT4DEV_COMPAT
=y \
126 CONFIG_EXT4_FS_XATTR
=y \
127 CONFIG_EXT4_FS_POSIX_ACL
=y \
128 CONFIG_EXT4_FS_SECURITY
=y \
131 DEPENDS
:= @LINUX_2_6
+kmod-crc16
$(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
)
133 $(LINUX_DIR
)/fs
/ext4
/$(EXT4_NAME
).
$(LINUX_KMOD_SUFFIX
) \
134 $(LINUX_DIR
)/fs
/jbd2
/jbd2.
$(LINUX_KMOD_SUFFIX
)
135 AUTOLOAD
:=$(call AutoLoad
,30,jbd2
$(EXT4_NAME
))
138 define KernelPackage
/fs-ext4
/description
139 Kernel module for EXT4 filesystem support
142 $(eval
$(call KernelPackage
,fs-ext4
))
146 define KernelPackage
/fs-hfs
148 TITLE
:=HFS
+ filesystem support
149 KCONFIG
:=CONFIG_HFS_FS
150 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.
$(LINUX_KMOD_SUFFIX
)
151 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
152 $(call KernelPackage
/nls
/Depends
)
155 define KernelPackage
/fs-hfs
/description
156 Kernel module for HFS filesystem support
159 $(eval
$(call KernelPackage
,fs-hfs
))
162 define KernelPackage
/fs-hfsplus
164 TITLE
:=HFS
+ filesystem support
165 KCONFIG
:=CONFIG_HFSPLUS_FS
166 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.
$(LINUX_KMOD_SUFFIX
)
167 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
168 $(call KernelPackage
/nls
/Depends
,utf8
)
172 define KernelPackage
/fs-hfsplus
/description
173 Kernel module for HFS
+ filesystem support
176 $(eval
$(call KernelPackage
,fs-hfsplus
))
179 define KernelPackage
/fs-isofs
181 TITLE
:=ISO9660 filesystem support
182 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
183 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.
$(LINUX_KMOD_SUFFIX
)
184 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
185 $(call KernelPackage
/nls
/Depends
)
189 define KernelPackage
/fs-isofs
/description
190 Kernel module for ISO9660 filesystem support
193 $(eval
$(call KernelPackage
,fs-isofs
))
196 define KernelPackage
/fs-udf
198 TITLE
:=UDF filesystem support
199 KCONFIG
:=CONFIG_UDF_FS
200 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.
$(LINUX_KMOD_SUFFIX
)
201 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
202 $(call KernelPackage
/nls
/Depends
)
206 define KernelPackage
/fs-udf
/description
207 Kernel module for UDF filesystem support
210 $(eval
$(call KernelPackage
,fs-udf
))
212 define KernelPackage
/fs-nfs-common
214 TITLE
:=Common NFS filesystem modules
219 $(LINUX_DIR
)/fs
/lockd
/lockd.
$(LINUX_KMOD_SUFFIX
) \
220 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.
$(LINUX_KMOD_SUFFIX
)
221 AUTOLOAD
:=$(call AutoLoad
,30,sunrpc lockd
)
224 define KernelPackage
/fs-nfs-common
/2.6
225 KCONFIG
+=CONFIG_SUNRPC_GSS
226 FILES
+=$(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.
$(LINUX_KMOD_SUFFIX
)
227 AUTOLOAD
=$(call AutoLoad
,30,sunrpc lockd auth_rpcgss
)
230 $(eval
$(call KernelPackage
,fs-nfs-common
))
233 define KernelPackage
/fs-nfs
235 TITLE
:=NFS filesystem support
236 DEPENDS
:=+kmod-fs-nfs-common
240 $(LINUX_DIR
)/fs
/nfs
/nfs.
$(LINUX_KMOD_SUFFIX
)
241 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
244 define KernelPackage
/fs-nfs
/description
245 Kernel module for NFS support
248 $(eval
$(call KernelPackage
,fs-nfs
))
251 define KernelPackage
/fs-exportfs
253 TITLE
:=exportfs kernel server support
254 KCONFIG
:=CONFIG_EXPORTFS
255 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.
$(LINUX_KMOD_SUFFIX
)
256 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
)
259 define KernelPackage
/fs-exportfs
/description
260 Kernel module for exportfs. Needed for some other modules.
263 $(eval
$(call KernelPackage
,fs-exportfs
))
266 define KernelPackage
/fs-nfsd
268 TITLE
:=NFS kernel server support
269 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
271 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.
$(LINUX_KMOD_SUFFIX
)
272 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
275 define KernelPackage
/fs-nfsd
/description
276 Kernel module for NFS kernel server support
279 $(eval
$(call KernelPackage
,fs-nfsd
))
282 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,2.6.28)),1)
287 define KernelPackage
/fs-msdos
289 TITLE
:=MSDOS filesystem support
290 KCONFIG
:=CONFIG_MSDOS_FS
291 FILES
:=$(LINUX_DIR
)/fs
/$(MSDOS_DIR
)/msdos.
$(LINUX_KMOD_SUFFIX
)
292 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
293 $(call KernelPackage
/nls
/Depends
)
297 define KernelPackage
/fs-msdos
/description
298 Kernel module for MSDOS filesystem support
301 $(eval
$(call KernelPackage
,fs-msdos
))
304 define KernelPackage
/fs-reiserfs
306 TITLE
:=ReiserFS filesystem support
307 KCONFIG
:=CONFIG_REISERFS_FS
308 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.
$(LINUX_KMOD_SUFFIX
)
309 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
)
312 define KernelPackage
/fs-reiserfs
/description
313 Kernel module for ReiserFS support
316 $(eval
$(call KernelPackage
,fs-reiserfs
))
318 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,2.6.28)),1)
323 define KernelPackage
/fs-vfat
325 TITLE
:=VFAT filesystem support
330 $(LINUX_DIR
)/fs
/fat
/fat.
$(LINUX_KMOD_SUFFIX
) \
331 $(LINUX_DIR
)/fs
/$(VFAT_DIR
)/vfat.
$(LINUX_KMOD_SUFFIX
)
332 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
333 $(call KernelPackage
/nls
/Depends
)
337 define KernelPackage
/fs-vfat
/description
338 Kernel module for VFAT filesystem support
341 $(eval
$(call KernelPackage
,fs-vfat
))
344 define KernelPackage
/fs-xfs
346 TITLE
:=XFS filesystem support
347 KCONFIG
:=CONFIG_XFS_FS
348 DEPENDS
:= +kmod-fs-exportfs
349 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.
$(LINUX_KMOD_SUFFIX
)
350 AUTOLOAD
:=$(call AutoLoad
,30,xfs
)
353 define KernelPackage
/fs-xfs
/description
354 Kernel module for XFS support
357 $(eval
$(call KernelPackage
,fs-xfs
))
359 define KernelPackage
/fs-btrfs
361 TITLE
:=BTRFS filesystem support
363 CONFIG_CRYPTO_CRC32C \
366 CONFIG_BTRFS_FS_POSIX_ACL
=n
368 DEPENDS
:=+kmod-crypto-core @
!LINUX_2_6_21||
!LINUX_2_6_25||
!LINUX_2_6_28
370 $(LINUX_DIR
)/crypto
/crc32c.
$(LINUX_KMOD_SUFFIX
) \
371 $(LINUX_DIR
)/lib
/libcrc32c.
$(LINUX_KMOD_SUFFIX
) \
372 $(LINUX_DIR
)/fs
/btrfs
/btrfs.
$(LINUX_KMOD_SUFFIX
)
373 AUTOLOAD
:=$(call AutoLoad
,30,crc32c libcrc32c btrfs
)
376 define KernelPackage
/fs-btrfs
/description
377 Kernel module for BTRFS support
380 $(eval
$(call KernelPackage
,fs-btrfs
))
383 define KernelPackage
/nls-base
385 TITLE
:=Native Language Support
387 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_base.
$(LINUX_KMOD_SUFFIX
)
388 AUTOLOAD
:=$(call AutoLoad
,20,nls_base
)
391 define KernelPackage
/nls-base
/description
392 Kernel module for NLS
(Native Language Support
)
395 $(eval
$(call KernelPackage
,nls-base
))
398 define KernelPackage
/nls-cp437
400 TITLE
:=Codepage
437 (United States
, Canada
)
401 KCONFIG
:=CONFIG_NLS_CODEPAGE_437
402 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp437.
$(LINUX_KMOD_SUFFIX
)
403 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp437
)
404 $(call KernelPackage
/nls
/Depends
)
408 define KernelPackage
/nls-cp437
/description
409 Kernel module for NLS Codepage
437 (United States
, Canada
)
412 $(eval
$(call KernelPackage
,nls-cp437
))
415 define KernelPackage
/nls-cp850
417 TITLE
:=Codepage
850 (Europe
)
418 KCONFIG
:=CONFIG_NLS_CODEPAGE_850
419 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp850.
$(LINUX_KMOD_SUFFIX
)
420 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp850
)
421 $(call KernelPackage
/nls
/Depends
)
425 define KernelPackage
/nls-cp850
/description
426 Kernel module for NLS Codepage
850 (Europe
)
429 $(eval
$(call KernelPackage
,nls-cp850
))
432 define KernelPackage
/nls-cp852
434 TITLE
:=Codepage
852 (Europe
)
435 KCONFIG
:=CONFIG_NLS_CODEPAGE_852
436 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp852.
$(LINUX_KMOD_SUFFIX
)
437 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp852
)
438 $(call KernelPackage
/nls
/Depends
)
442 define KernelPackage
/nls-cp852
/description
443 Kernel module for NLS Codepage
852 (Europe
)
446 $(eval
$(call KernelPackage
,nls-cp852
))
449 define KernelPackage
/nls-cp1250
451 TITLE
:=Codepage
1250 (Eastern Europe
)
452 KCONFIG
:=CONFIG_NLS_CODEPAGE_1250
453 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1250.
$(LINUX_KMOD_SUFFIX
)
454 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1250
)
455 $(call KernelPackage
/nls
/Depends
)
459 define KernelPackage
/nls-cp1250
/description
460 Kernel module for NLS Codepage
1250 (Eastern Europe
)
463 $(eval
$(call KernelPackage
,nls-cp1250
))
466 define KernelPackage
/nls-cp1251
468 TITLE
:=Codepage
1251 (Russian
)
469 KCONFIG
:=CONFIG_NLS_CODEPAGE_1251
470 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1251.
$(LINUX_KMOD_SUFFIX
)
471 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1251
)
472 $(call KernelPackage
/nls
/Depends
)
476 define KernelPackage
/nls-cp1251
/description
477 Kernel module for NLS Codepage
1251 (Russian
)
480 $(eval
$(call KernelPackage
,nls-cp1251
))
483 define KernelPackage
/nls-iso8859-1
485 TITLE
:=ISO
8859-1 (Latin
1; Western European Languages
)
486 KCONFIG
:=CONFIG_NLS_ISO8859_1
487 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-1.
$(LINUX_KMOD_SUFFIX
)
488 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-1
)
489 $(call KernelPackage
/nls
/Depends
)
493 define KernelPackage
/nls-iso8859-1
/description
494 Kernel module for NLS ISO
8859-1 (Latin
1)
497 $(eval
$(call KernelPackage
,nls-iso8859-1
))
500 define KernelPackage
/nls-iso8859-2
502 TITLE
:=ISO
8859-2 (Latin
2; Central European Languages
)
503 KCONFIG
:=CONFIG_NLS_ISO8859_2
504 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-2.
$(LINUX_KMOD_SUFFIX
)
505 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-2
)
506 $(call KernelPackage
/nls
/Depends
)
510 define KernelPackage
/nls-iso8859-2
/description
511 Kernel module for NLS ISO
8859-2 (Latin
2)
514 $(eval
$(call KernelPackage
,nls-iso8859-2
))
517 define KernelPackage
/nls-iso8859-15
519 TITLE
:=ISO
8859-15 (Latin
9; Western
, with Euro symbol
)
520 KCONFIG
:=CONFIG_NLS_ISO8859_15
521 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-15.
$(LINUX_KMOD_SUFFIX
)
522 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-15
)
523 $(call KernelPackage
/nls
/Depends
)
527 define KernelPackage
/nls-iso8859-15
/description
528 Kernel module for NLS ISO
8859-15 (Latin
9)
531 $(eval
$(call KernelPackage
,nls-iso8859-15
))
534 define KernelPackage
/nls-koi8r
536 TITLE
:=KOI8-R
(Russian
)
537 KCONFIG
:=CONFIG_NLS_KOI8_R
538 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_koi8-r.
$(LINUX_KMOD_SUFFIX
)
539 AUTOLOAD
:=$(call AutoLoad
,25,nls_koi8-r
)
540 $(call KernelPackage
/nls
/Depends
)
544 define KernelPackage
/nls-koi8r
/description
545 Kernel module for NLS KOI8-R
(Russian
)
548 $(eval
$(call KernelPackage
,nls-koi8r
))
551 define KernelPackage
/nls-utf8
554 KCONFIG
:=CONFIG_NLS_UTF8
555 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_utf8.
$(LINUX_KMOD_SUFFIX
)
556 AUTOLOAD
:=$(call AutoLoad
,25,nls_utf8
)
557 $(call KernelPackage
/nls
/Depends
)
560 define KernelPackage
/nls-utf8
/description
561 Kernel module for NLS UTF-8
564 $(eval
$(call KernelPackage
,nls-utf8
))
567 define KernelPackage
/nls-iso8859-13
569 TITLE
:=ISO
8859-13 (Latin
7; Baltic
)
570 KCONFIG
:=CONFIG_NLS_ISO8859_13
571 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-13.
$(LINUX_KMOD_SUFFIX
)
572 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-13
)
573 $(call KernelPackage
/nls
/Depends
)
577 define KernelPackage
/nls-iso8859-13
/description
578 Kernel module for NLS ISO
8859-13 (Latin
7; Baltic
)
581 $(eval
$(call KernelPackage
,nls-iso8859-13
))
583 define KernelPackage
/nls-cp775
585 TITLE
:=Codepage
775 (Baltic Rim
)
586 KCONFIG
:=CONFIG_NLS_CODEPAGE_775
587 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp775.
$(LINUX_KMOD_SUFFIX
)
588 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp775
)
589 $(call KernelPackage
/nls
/Depends
)
593 define KernelPackage
/nls-cp775
/description
594 Kernel module for NLS Codepage
775 (Baltic Rim
)
597 $(eval
$(call KernelPackage
,nls-cp775
))