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 @BROKEN
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
367 CONFIG_BTRFS_FS_POSIX_ACL
=n
369 DEPENDS
:=+kmod-crypto-core
+kmod-crypto-misc
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
,1)
376 define KernelPackage
/fs-btrfs
/description
377 Kernel module for BTRFS support
380 $(eval
$(call KernelPackage
,fs-btrfs
))
382 define KernelPackage
/fs-autofs4
384 TITLE
:=AUTOFS4 filesystem support
385 KCONFIG
:=CONFIG_AUTOFS4_FS
386 FILES
:=$(LINUX_DIR
)/fs
/autofs4
/autofs4.
$(LINUX_KMOD_SUFFIX
)
387 AUTOLOAD
:=$(call AutoLoad
,30,autofs4
)
390 define KernelPackage
/fs-autofs4
/description
391 Kernel module for AutoFS4 support
394 $(eval
$(call KernelPackage
,fs-autofs4
))
397 define KernelPackage
/nls-base
399 TITLE
:=Native Language Support
401 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_base.
$(LINUX_KMOD_SUFFIX
)
402 AUTOLOAD
:=$(call AutoLoad
,20,nls_base
,1)
405 define KernelPackage
/nls-base
/description
406 Kernel module for NLS
(Native Language Support
)
409 $(eval
$(call KernelPackage
,nls-base
))
412 define KernelPackage
/nls-cp437
414 TITLE
:=Codepage
437 (United States
, Canada
)
415 KCONFIG
:=CONFIG_NLS_CODEPAGE_437
416 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp437.
$(LINUX_KMOD_SUFFIX
)
417 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp437
)
418 $(call KernelPackage
/nls
/Depends
)
422 define KernelPackage
/nls-cp437
/description
423 Kernel module for NLS Codepage
437 (United States
, Canada
)
426 $(eval
$(call KernelPackage
,nls-cp437
))
429 define KernelPackage
/nls-cp850
431 TITLE
:=Codepage
850 (Europe
)
432 KCONFIG
:=CONFIG_NLS_CODEPAGE_850
433 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp850.
$(LINUX_KMOD_SUFFIX
)
434 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp850
)
435 $(call KernelPackage
/nls
/Depends
)
439 define KernelPackage
/nls-cp850
/description
440 Kernel module for NLS Codepage
850 (Europe
)
443 $(eval
$(call KernelPackage
,nls-cp850
))
446 define KernelPackage
/nls-cp852
448 TITLE
:=Codepage
852 (Europe
)
449 KCONFIG
:=CONFIG_NLS_CODEPAGE_852
450 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp852.
$(LINUX_KMOD_SUFFIX
)
451 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp852
)
452 $(call KernelPackage
/nls
/Depends
)
456 define KernelPackage
/nls-cp852
/description
457 Kernel module for NLS Codepage
852 (Europe
)
460 $(eval
$(call KernelPackage
,nls-cp852
))
463 define KernelPackage
/nls-cp866
465 TITLE
:=Codepage
866 (Cyrillic
)
466 KCONFIG
:=CONFIG_NLS_CODEPAGE_866
467 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp866.
$(LINUX_KMOD_SUFFIX
)
468 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp866
)
469 $(call KernelPackage
/nls
/Depends
)
473 define KernelPackage
/nls-cp866
/description
474 Kernel module for NLS Codepage
866 (Cyrillic
)
477 $(eval
$(call KernelPackage
,nls-cp866
))
480 define KernelPackage
/nls-cp1250
482 TITLE
:=Codepage
1250 (Eastern Europe
)
483 KCONFIG
:=CONFIG_NLS_CODEPAGE_1250
484 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1250.
$(LINUX_KMOD_SUFFIX
)
485 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1250
)
486 $(call KernelPackage
/nls
/Depends
)
490 define KernelPackage
/nls-cp1250
/description
491 Kernel module for NLS Codepage
1250 (Eastern Europe
)
494 $(eval
$(call KernelPackage
,nls-cp1250
))
497 define KernelPackage
/nls-cp1251
499 TITLE
:=Codepage
1251 (Russian
)
500 KCONFIG
:=CONFIG_NLS_CODEPAGE_1251
501 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1251.
$(LINUX_KMOD_SUFFIX
)
502 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1251
)
503 $(call KernelPackage
/nls
/Depends
)
507 define KernelPackage
/nls-cp1251
/description
508 Kernel module for NLS Codepage
1251 (Russian
)
511 $(eval
$(call KernelPackage
,nls-cp1251
))
514 define KernelPackage
/nls-iso8859-1
516 TITLE
:=ISO
8859-1 (Latin
1; Western European Languages
)
517 KCONFIG
:=CONFIG_NLS_ISO8859_1
518 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-1.
$(LINUX_KMOD_SUFFIX
)
519 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-1
)
520 $(call KernelPackage
/nls
/Depends
)
524 define KernelPackage
/nls-iso8859-1
/description
525 Kernel module for NLS ISO
8859-1 (Latin
1)
528 $(eval
$(call KernelPackage
,nls-iso8859-1
))
531 define KernelPackage
/nls-iso8859-2
533 TITLE
:=ISO
8859-2 (Latin
2; Central European Languages
)
534 KCONFIG
:=CONFIG_NLS_ISO8859_2
535 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-2.
$(LINUX_KMOD_SUFFIX
)
536 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-2
)
537 $(call KernelPackage
/nls
/Depends
)
541 define KernelPackage
/nls-iso8859-2
/description
542 Kernel module for NLS ISO
8859-2 (Latin
2)
545 $(eval
$(call KernelPackage
,nls-iso8859-2
))
548 define KernelPackage
/nls-iso8859-15
550 TITLE
:=ISO
8859-15 (Latin
9; Western
, with Euro symbol
)
551 KCONFIG
:=CONFIG_NLS_ISO8859_15
552 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-15.
$(LINUX_KMOD_SUFFIX
)
553 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-15
)
554 $(call KernelPackage
/nls
/Depends
)
558 define KernelPackage
/nls-iso8859-15
/description
559 Kernel module for NLS ISO
8859-15 (Latin
9)
562 $(eval
$(call KernelPackage
,nls-iso8859-15
))
565 define KernelPackage
/nls-koi8r
567 TITLE
:=KOI8-R
(Russian
)
568 KCONFIG
:=CONFIG_NLS_KOI8_R
569 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_koi8-r.
$(LINUX_KMOD_SUFFIX
)
570 AUTOLOAD
:=$(call AutoLoad
,25,nls_koi8-r
)
571 $(call KernelPackage
/nls
/Depends
)
575 define KernelPackage
/nls-koi8r
/description
576 Kernel module for NLS KOI8-R
(Russian
)
579 $(eval
$(call KernelPackage
,nls-koi8r
))
582 define KernelPackage
/nls-utf8
585 KCONFIG
:=CONFIG_NLS_UTF8
586 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_utf8.
$(LINUX_KMOD_SUFFIX
)
587 AUTOLOAD
:=$(call AutoLoad
,25,nls_utf8
)
588 $(call KernelPackage
/nls
/Depends
)
591 define KernelPackage
/nls-utf8
/description
592 Kernel module for NLS UTF-8
595 $(eval
$(call KernelPackage
,nls-utf8
))
598 define KernelPackage
/nls-iso8859-13
600 TITLE
:=ISO
8859-13 (Latin
7; Baltic
)
601 KCONFIG
:=CONFIG_NLS_ISO8859_13
602 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-13.
$(LINUX_KMOD_SUFFIX
)
603 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-13
)
604 $(call KernelPackage
/nls
/Depends
)
608 define KernelPackage
/nls-iso8859-13
/description
609 Kernel module for NLS ISO
8859-13 (Latin
7; Baltic
)
612 $(eval
$(call KernelPackage
,nls-iso8859-13
))
614 define KernelPackage
/nls-cp775
616 TITLE
:=Codepage
775 (Baltic Rim
)
617 KCONFIG
:=CONFIG_NLS_CODEPAGE_775
618 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp775.
$(LINUX_KMOD_SUFFIX
)
619 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp775
)
620 $(call KernelPackage
/nls
/Depends
)
624 define KernelPackage
/nls-cp775
/description
625 Kernel module for NLS Codepage
775 (Baltic Rim
)
628 $(eval
$(call KernelPackage
,nls-cp775
))