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
/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
+kmod-crc16
$(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)
130 define KernelPackage
/fs-ext4
/description
131 Kernel module for EXT4 filesystem support
134 $(eval
$(call KernelPackage
,fs-ext4
))
138 define KernelPackage
/fs-hfs
140 TITLE
:=HFS
+ filesystem support
141 KCONFIG
:=CONFIG_HFS_FS
142 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.
$(LINUX_KMOD_SUFFIX
)
143 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
144 $(call KernelPackage
/nls
/Depends
)
147 define KernelPackage
/fs-hfs
/description
148 Kernel module for HFS filesystem support
151 $(eval
$(call KernelPackage
,fs-hfs
))
154 define KernelPackage
/fs-hfsplus
156 TITLE
:=HFS
+ filesystem support
157 KCONFIG
:=CONFIG_HFSPLUS_FS
158 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.
$(LINUX_KMOD_SUFFIX
)
159 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
160 $(call KernelPackage
/nls
/Depends
,utf8
)
164 define KernelPackage
/fs-hfsplus
/description
165 Kernel module for HFS
+ filesystem support
168 $(eval
$(call KernelPackage
,fs-hfsplus
))
171 define KernelPackage
/fs-isofs
173 TITLE
:=ISO9660 filesystem support
174 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
175 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.
$(LINUX_KMOD_SUFFIX
)
176 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
177 $(call KernelPackage
/nls
/Depends
)
181 define KernelPackage
/fs-isofs
/description
182 Kernel module for ISO9660 filesystem support
185 $(eval
$(call KernelPackage
,fs-isofs
))
188 define KernelPackage
/fs-udf
190 TITLE
:=UDF filesystem support
191 KCONFIG
:=CONFIG_UDF_FS
192 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.
$(LINUX_KMOD_SUFFIX
)
193 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
194 $(call KernelPackage
/nls
/Depends
)
198 define KernelPackage
/fs-udf
/description
199 Kernel module for UDF filesystem support
202 $(eval
$(call KernelPackage
,fs-udf
))
204 define KernelPackage
/fs-nfs-common
206 TITLE
:=Common NFS filesystem modules
211 $(LINUX_DIR
)/fs
/lockd
/lockd.
$(LINUX_KMOD_SUFFIX
) \
212 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.
$(LINUX_KMOD_SUFFIX
)
213 AUTOLOAD
:=$(call AutoLoad
,30,sunrpc lockd
)
216 $(eval
$(call KernelPackage
,fs-nfs-common
))
219 define KernelPackage
/fs-nfs-common-v4
221 TITLE
:=Common NFS V4 filesystem modules
226 DEPENDS
:= @LINUX_2_6
+kmod-fs-nfs-common
227 FILES
+=$(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.
$(LINUX_KMOD_SUFFIX
)
228 AUTOLOAD
=$(call AutoLoad
,30,auth_rpcgss
)
231 define KernelPackage
/fs-nfs-common-v4
/description
232 Kernel modules for NFS V4
& NFSD V4 kernel support
235 $(eval
$(call KernelPackage
,fs-nfs-common-v4
))
238 define KernelPackage
/fs-nfs
240 TITLE
:=NFS filesystem support
241 DEPENDS
:=+kmod-fs-nfs-common
245 $(LINUX_DIR
)/fs
/nfs
/nfs.
$(LINUX_KMOD_SUFFIX
)
246 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
249 define KernelPackage
/fs-nfs
/description
250 Kernel module for NFS support
253 $(eval
$(call KernelPackage
,fs-nfs
))
256 define KernelPackage
/fs-exportfs
258 TITLE
:=exportfs kernel server support
259 KCONFIG
:=CONFIG_EXPORTFS
260 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.
$(LINUX_KMOD_SUFFIX
)
261 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
)
264 define KernelPackage
/fs-exportfs
/description
265 Kernel module for exportfs. Needed for some other modules.
268 $(eval
$(call KernelPackage
,fs-exportfs
))
271 define KernelPackage
/fs-nfsd
273 TITLE
:=NFS kernel server support
274 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
276 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.
$(LINUX_KMOD_SUFFIX
)
277 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
280 define KernelPackage
/fs-nfsd
/description
281 Kernel module for NFS kernel server support
284 $(eval
$(call KernelPackage
,fs-nfsd
))
286 define KernelPackage
/fs-msdos
288 TITLE
:=MSDOS filesystem support
289 KCONFIG
:=CONFIG_MSDOS_FS
290 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.
$(LINUX_KMOD_SUFFIX
)
291 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
292 $(call KernelPackage
/nls
/Depends
)
295 define KernelPackage
/fs-msdos
/2.4
296 FILES
:=$(LINUX_DIR
)/fs
/msdos
/msdos.
$(LINUX_KMOD_SUFFIX
)
299 define KernelPackage
/fs-msdos
/description
300 Kernel module for MSDOS filesystem support
303 $(eval
$(call KernelPackage
,fs-msdos
))
306 define KernelPackage
/fs-reiserfs
308 TITLE
:=ReiserFS filesystem support
309 KCONFIG
:=CONFIG_REISERFS_FS
310 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.
$(LINUX_KMOD_SUFFIX
)
311 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
314 define KernelPackage
/fs-reiserfs
/description
315 Kernel module for ReiserFS support
318 $(eval
$(call KernelPackage
,fs-reiserfs
))
320 define KernelPackage
/fs-vfat
322 TITLE
:=VFAT filesystem support
327 $(LINUX_DIR
)/fs
/fat
/fat.
$(LINUX_KMOD_SUFFIX
) \
328 $(LINUX_DIR
)/fs
/fat
/vfat.
$(LINUX_KMOD_SUFFIX
)
329 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
330 $(call KernelPackage
/nls
/Depends
)
333 define KernelPackage
/fs-vfat
/2.4
335 $(LINUX_DIR
)/fs
/fat
/fat.
$(LINUX_KMOD_SUFFIX
) \
336 $(LINUX_DIR
)/fs
/vfat
/vfat.
$(LINUX_KMOD_SUFFIX
)
339 define KernelPackage
/fs-vfat
/description
340 Kernel module for VFAT filesystem support
343 $(eval
$(call KernelPackage
,fs-vfat
))
346 define KernelPackage
/fs-xfs
348 TITLE
:=XFS filesystem support
349 KCONFIG
:=CONFIG_XFS_FS
350 DEPENDS
:= +kmod-fs-exportfs
351 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.
$(LINUX_KMOD_SUFFIX
)
352 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
355 define KernelPackage
/fs-xfs
/description
356 Kernel module for XFS support
359 $(eval
$(call KernelPackage
,fs-xfs
))
361 define KernelPackage
/fs-btrfs
363 TITLE
:=BTRFS filesystem support
365 CONFIG_CRYPTO_CRC32C \
368 CONFIG_BTRFS_FS_POSIX_ACL
=n
370 DEPENDS
:=+kmod-crypto-core
372 $(LINUX_DIR
)/crypto
/crc32c.
$(LINUX_KMOD_SUFFIX
) \
373 $(LINUX_DIR
)/lib
/libcrc32c.
$(LINUX_KMOD_SUFFIX
) \
374 $(LINUX_DIR
)/fs
/btrfs
/btrfs.
$(LINUX_KMOD_SUFFIX
)
375 AUTOLOAD
:=$(call AutoLoad
,30,crc32c libcrc32c btrfs
,1)
378 define KernelPackage
/fs-btrfs
/description
379 Kernel module for BTRFS support
382 $(eval
$(call KernelPackage
,fs-btrfs
))
384 define KernelPackage
/fs-autofs4
386 TITLE
:=AUTOFS4 filesystem support
387 KCONFIG
:=CONFIG_AUTOFS4_FS
388 FILES
:=$(LINUX_DIR
)/fs
/autofs4
/autofs4.
$(LINUX_KMOD_SUFFIX
)
389 AUTOLOAD
:=$(call AutoLoad
,30,autofs4
)
392 define KernelPackage
/fs-autofs4
/description
393 Kernel module for AutoFS4 support
396 $(eval
$(call KernelPackage
,fs-autofs4
))
399 define KernelPackage
/nls-base
401 TITLE
:=Native Language Support
403 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_base.
$(LINUX_KMOD_SUFFIX
)
404 AUTOLOAD
:=$(call AutoLoad
,20,nls_base
,1)
407 define KernelPackage
/nls-base
/description
408 Kernel module for NLS
(Native Language Support
)
411 $(eval
$(call KernelPackage
,nls-base
))
414 define KernelPackage
/nls-cp437
416 TITLE
:=Codepage
437 (United States
, Canada
)
417 KCONFIG
:=CONFIG_NLS_CODEPAGE_437
418 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp437.
$(LINUX_KMOD_SUFFIX
)
419 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp437
)
420 $(call KernelPackage
/nls
/Depends
)
424 define KernelPackage
/nls-cp437
/description
425 Kernel module for NLS Codepage
437 (United States
, Canada
)
428 $(eval
$(call KernelPackage
,nls-cp437
))
431 define KernelPackage
/nls-cp850
433 TITLE
:=Codepage
850 (Europe
)
434 KCONFIG
:=CONFIG_NLS_CODEPAGE_850
435 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp850.
$(LINUX_KMOD_SUFFIX
)
436 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp850
)
437 $(call KernelPackage
/nls
/Depends
)
441 define KernelPackage
/nls-cp850
/description
442 Kernel module for NLS Codepage
850 (Europe
)
445 $(eval
$(call KernelPackage
,nls-cp850
))
448 define KernelPackage
/nls-cp852
450 TITLE
:=Codepage
852 (Europe
)
451 KCONFIG
:=CONFIG_NLS_CODEPAGE_852
452 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp852.
$(LINUX_KMOD_SUFFIX
)
453 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp852
)
454 $(call KernelPackage
/nls
/Depends
)
458 define KernelPackage
/nls-cp852
/description
459 Kernel module for NLS Codepage
852 (Europe
)
462 $(eval
$(call KernelPackage
,nls-cp852
))
465 define KernelPackage
/nls-cp866
467 TITLE
:=Codepage
866 (Cyrillic
)
468 KCONFIG
:=CONFIG_NLS_CODEPAGE_866
469 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp866.
$(LINUX_KMOD_SUFFIX
)
470 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp866
)
471 $(call KernelPackage
/nls
/Depends
)
475 define KernelPackage
/nls-cp866
/description
476 Kernel module for NLS Codepage
866 (Cyrillic
)
479 $(eval
$(call KernelPackage
,nls-cp866
))
482 define KernelPackage
/nls-cp1250
484 TITLE
:=Codepage
1250 (Eastern Europe
)
485 KCONFIG
:=CONFIG_NLS_CODEPAGE_1250
486 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1250.
$(LINUX_KMOD_SUFFIX
)
487 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1250
)
488 $(call KernelPackage
/nls
/Depends
)
492 define KernelPackage
/nls-cp1250
/description
493 Kernel module for NLS Codepage
1250 (Eastern Europe
)
496 $(eval
$(call KernelPackage
,nls-cp1250
))
499 define KernelPackage
/nls-cp1251
501 TITLE
:=Codepage
1251 (Russian
)
502 KCONFIG
:=CONFIG_NLS_CODEPAGE_1251
503 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1251.
$(LINUX_KMOD_SUFFIX
)
504 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1251
)
505 $(call KernelPackage
/nls
/Depends
)
509 define KernelPackage
/nls-cp1251
/description
510 Kernel module for NLS Codepage
1251 (Russian
)
513 $(eval
$(call KernelPackage
,nls-cp1251
))
516 define KernelPackage
/nls-iso8859-1
518 TITLE
:=ISO
8859-1 (Latin
1; Western European Languages
)
519 KCONFIG
:=CONFIG_NLS_ISO8859_1
520 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-1.
$(LINUX_KMOD_SUFFIX
)
521 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-1
)
522 $(call KernelPackage
/nls
/Depends
)
526 define KernelPackage
/nls-iso8859-1
/description
527 Kernel module for NLS ISO
8859-1 (Latin
1)
530 $(eval
$(call KernelPackage
,nls-iso8859-1
))
533 define KernelPackage
/nls-iso8859-2
535 TITLE
:=ISO
8859-2 (Latin
2; Central European Languages
)
536 KCONFIG
:=CONFIG_NLS_ISO8859_2
537 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-2.
$(LINUX_KMOD_SUFFIX
)
538 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-2
)
539 $(call KernelPackage
/nls
/Depends
)
543 define KernelPackage
/nls-iso8859-2
/description
544 Kernel module for NLS ISO
8859-2 (Latin
2)
547 $(eval
$(call KernelPackage
,nls-iso8859-2
))
550 define KernelPackage
/nls-iso8859-15
552 TITLE
:=ISO
8859-15 (Latin
9; Western
, with Euro symbol
)
553 KCONFIG
:=CONFIG_NLS_ISO8859_15
554 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-15.
$(LINUX_KMOD_SUFFIX
)
555 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-15
)
556 $(call KernelPackage
/nls
/Depends
)
560 define KernelPackage
/nls-iso8859-15
/description
561 Kernel module for NLS ISO
8859-15 (Latin
9)
564 $(eval
$(call KernelPackage
,nls-iso8859-15
))
567 define KernelPackage
/nls-koi8r
569 TITLE
:=KOI8-R
(Russian
)
570 KCONFIG
:=CONFIG_NLS_KOI8_R
571 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_koi8-r.
$(LINUX_KMOD_SUFFIX
)
572 AUTOLOAD
:=$(call AutoLoad
,25,nls_koi8-r
)
573 $(call KernelPackage
/nls
/Depends
)
577 define KernelPackage
/nls-koi8r
/description
578 Kernel module for NLS KOI8-R
(Russian
)
581 $(eval
$(call KernelPackage
,nls-koi8r
))
584 define KernelPackage
/nls-utf8
587 KCONFIG
:=CONFIG_NLS_UTF8
588 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_utf8.
$(LINUX_KMOD_SUFFIX
)
589 AUTOLOAD
:=$(call AutoLoad
,25,nls_utf8
)
590 $(call KernelPackage
/nls
/Depends
)
593 define KernelPackage
/nls-utf8
/description
594 Kernel module for NLS UTF-8
597 $(eval
$(call KernelPackage
,nls-utf8
))
600 define KernelPackage
/nls-iso8859-13
602 TITLE
:=ISO
8859-13 (Latin
7; Baltic
)
603 KCONFIG
:=CONFIG_NLS_ISO8859_13
604 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-13.
$(LINUX_KMOD_SUFFIX
)
605 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-13
)
606 $(call KernelPackage
/nls
/Depends
)
610 define KernelPackage
/nls-iso8859-13
/description
611 Kernel module for NLS ISO
8859-13 (Latin
7; Baltic
)
614 $(eval
$(call KernelPackage
,nls-iso8859-13
))
616 define KernelPackage
/nls-cp775
618 TITLE
:=Codepage
775 (Baltic Rim
)
619 KCONFIG
:=CONFIG_NLS_CODEPAGE_775
620 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp775.
$(LINUX_KMOD_SUFFIX
)
621 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp775
)
622 $(call KernelPackage
/nls
/Depends
)
626 define KernelPackage
/nls-cp775
/description
627 Kernel module for NLS Codepage
775 (Baltic Rim
)
630 $(eval
$(call KernelPackage
,nls-cp775
))