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
,32,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
,31,jbd ext3
)
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_EXT4DEV_COMPAT
=y \
119 CONFIG_EXT4_FS_XATTR
=y \
120 CONFIG_EXT4_FS_POSIX_ACL
=y \
121 CONFIG_EXT4_FS_SECURITY
=y \
124 DEPENDS
:= @LINUX_2_6
+kmod-crc16
$(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
)
126 $(LINUX_DIR
)/fs
/ext4
/ext4.
$(LINUX_KMOD_SUFFIX
) \
127 $(LINUX_DIR
)/fs
/jbd2
/jbd2.
$(LINUX_KMOD_SUFFIX
)
128 AUTOLOAD
:=$(call AutoLoad
,30,jbd2
$(EXT4_NAME
))
131 define KernelPackage
/fs-ext4
/description
132 Kernel module for EXT4 filesystem support
135 $(eval
$(call KernelPackage
,fs-ext4
))
139 define KernelPackage
/fs-hfs
141 TITLE
:=HFS
+ filesystem support
142 KCONFIG
:=CONFIG_HFS_FS
143 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.
$(LINUX_KMOD_SUFFIX
)
144 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
145 $(call KernelPackage
/nls
/Depends
)
148 define KernelPackage
/fs-hfs
/description
149 Kernel module for HFS filesystem support
152 $(eval
$(call KernelPackage
,fs-hfs
))
155 define KernelPackage
/fs-hfsplus
157 TITLE
:=HFS
+ filesystem support
158 KCONFIG
:=CONFIG_HFSPLUS_FS
159 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.
$(LINUX_KMOD_SUFFIX
)
160 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
161 $(call KernelPackage
/nls
/Depends
,utf8
)
165 define KernelPackage
/fs-hfsplus
/description
166 Kernel module for HFS
+ filesystem support
169 $(eval
$(call KernelPackage
,fs-hfsplus
))
172 define KernelPackage
/fs-isofs
174 TITLE
:=ISO9660 filesystem support
175 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
176 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.
$(LINUX_KMOD_SUFFIX
)
177 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
178 $(call KernelPackage
/nls
/Depends
)
182 define KernelPackage
/fs-isofs
/description
183 Kernel module for ISO9660 filesystem support
186 $(eval
$(call KernelPackage
,fs-isofs
))
189 define KernelPackage
/fs-udf
191 TITLE
:=UDF filesystem support
192 KCONFIG
:=CONFIG_UDF_FS
193 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.
$(LINUX_KMOD_SUFFIX
)
194 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
195 $(call KernelPackage
/nls
/Depends
)
199 define KernelPackage
/fs-udf
/description
200 Kernel module for UDF filesystem support
203 $(eval
$(call KernelPackage
,fs-udf
))
205 define KernelPackage
/fs-nfs-common
207 TITLE
:=Common NFS filesystem modules
212 $(LINUX_DIR
)/fs
/lockd
/lockd.
$(LINUX_KMOD_SUFFIX
) \
213 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.
$(LINUX_KMOD_SUFFIX
)
214 AUTOLOAD
:=$(call AutoLoad
,30,sunrpc lockd
)
217 define KernelPackage
/fs-nfs-common
/2.6
218 KCONFIG
+=CONFIG_SUNRPC_GSS
219 FILES
+=$(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.
$(LINUX_KMOD_SUFFIX
)
220 AUTOLOAD
=$(call AutoLoad
,30,sunrpc lockd auth_rpcgss
)
223 $(eval
$(call KernelPackage
,fs-nfs-common
))
226 define KernelPackage
/fs-nfs
228 TITLE
:=NFS filesystem support
229 DEPENDS
:=+kmod-fs-nfs-common
233 $(LINUX_DIR
)/fs
/nfs
/nfs.
$(LINUX_KMOD_SUFFIX
)
234 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
237 define KernelPackage
/fs-nfs
/description
238 Kernel module for NFS support
241 $(eval
$(call KernelPackage
,fs-nfs
))
244 define KernelPackage
/fs-exportfs
246 TITLE
:=exportfs kernel server support
247 KCONFIG
:=CONFIG_EXPORTFS
248 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.
$(LINUX_KMOD_SUFFIX
)
249 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
)
252 define KernelPackage
/fs-exportfs
/description
253 Kernel module for exportfs. Needed for some other modules.
256 $(eval
$(call KernelPackage
,fs-exportfs
))
259 define KernelPackage
/fs-nfsd
261 TITLE
:=NFS kernel server support
262 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
264 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.
$(LINUX_KMOD_SUFFIX
)
265 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
268 define KernelPackage
/fs-nfsd
/description
269 Kernel module for NFS kernel server support
272 $(eval
$(call KernelPackage
,fs-nfsd
))
275 define KernelPackage
/fs-msdos
277 TITLE
:=MSDOS filesystem support
278 KCONFIG
:=CONFIG_MSDOS_FS
279 FILES
:=$(LINUX_DIR
)/fs
/msdos
/msdos.
$(LINUX_KMOD_SUFFIX
)
280 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
281 $(call KernelPackage
/nls
/Depends
)
285 define KernelPackage
/fs-msdos
/description
286 Kernel module for MSDOS filesystem support
289 $(eval
$(call KernelPackage
,fs-msdos
))
292 define KernelPackage
/fs-reiserfs
294 TITLE
:=ReiserFS filesystem support
295 KCONFIG
:=CONFIG_REISERFS_FS
296 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.
$(LINUX_KMOD_SUFFIX
)
297 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
)
300 define KernelPackage
/fs-reiserfs
/description
301 Kernel module for ReiserFS support
304 $(eval
$(call KernelPackage
,fs-reiserfs
))
306 define KernelPackage
/fs-vfat
308 TITLE
:=VFAT filesystem support
313 $(LINUX_DIR
)/fs
/fat
/fat.
$(LINUX_KMOD_SUFFIX
) \
314 $(LINUX_DIR
)/fs
/vfat
/vfat.
$(LINUX_KMOD_SUFFIX
)
315 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
316 $(call KernelPackage
/nls
/Depends
)
320 define KernelPackage
/fs-vfat
/description
321 Kernel module for VFAT filesystem support
324 $(eval
$(call KernelPackage
,fs-vfat
))
327 define KernelPackage
/fs-xfs
329 TITLE
:=XFS filesystem support
330 KCONFIG
:=CONFIG_XFS_FS
331 DEPENDS
:= +kmod-fs-exportfs
332 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.
$(LINUX_KMOD_SUFFIX
)
333 AUTOLOAD
:=$(call AutoLoad
,30,xfs
)
336 define KernelPackage
/fs-xfs
/description
337 Kernel module for XFS support
340 $(eval
$(call KernelPackage
,fs-xfs
))
342 define KernelPackage
/fs-btrfs
344 TITLE
:=BTRFS filesystem support
346 CONFIG_CRYPTO_CRC32C \
349 CONFIG_BTRFS_FS_POSIX_ACL
=n
351 DEPENDS
:=+kmod-crypto-core @
!LINUX_2_6_21
&&!LINUX_2_6_25
353 $(LINUX_DIR
)/crypto
/crc32c.
$(LINUX_KMOD_SUFFIX
) \
354 $(LINUX_DIR
)/lib
/libcrc32c.
$(LINUX_KMOD_SUFFIX
) \
355 $(LINUX_DIR
)/fs
/btrfs
/btrfs.
$(LINUX_KMOD_SUFFIX
)
356 AUTOLOAD
:=$(call AutoLoad
,30,crc32c libcrc32c btrfs
)
359 define KernelPackage
/fs-btrfs
/description
360 Kernel module for BTRFS support
363 $(eval
$(call KernelPackage
,fs-btrfs
))
365 define KernelPackage
/fs-autofs4
367 TITLE
:=AUTOFS4 filesystem support
368 KCONFIG
:=CONFIG_AUTOFS4_FS
369 FILES
:=$(LINUX_DIR
)/fs
/autofs4
/autofs4.
$(LINUX_KMOD_SUFFIX
)
370 AUTOLOAD
:=$(call AutoLoad
,30,autofs4
)
373 define KernelPackage
/fs-autofs4
/description
374 Kernel module for AutoFS4 support
377 $(eval
$(call KernelPackage
,fs-autofs4
))
380 define KernelPackage
/nls-base
382 TITLE
:=Native Language Support
384 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_base.
$(LINUX_KMOD_SUFFIX
)
385 AUTOLOAD
:=$(call AutoLoad
,20,nls_base
)
388 define KernelPackage
/nls-base
/description
389 Kernel module for NLS
(Native Language Support
)
392 $(eval
$(call KernelPackage
,nls-base
))
395 define KernelPackage
/nls-cp437
397 TITLE
:=Codepage
437 (United States
, Canada
)
398 KCONFIG
:=CONFIG_NLS_CODEPAGE_437
399 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp437.
$(LINUX_KMOD_SUFFIX
)
400 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp437
)
401 $(call KernelPackage
/nls
/Depends
)
405 define KernelPackage
/nls-cp437
/description
406 Kernel module for NLS Codepage
437 (United States
, Canada
)
409 $(eval
$(call KernelPackage
,nls-cp437
))
412 define KernelPackage
/nls-cp850
414 TITLE
:=Codepage
850 (Europe
)
415 KCONFIG
:=CONFIG_NLS_CODEPAGE_850
416 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp850.
$(LINUX_KMOD_SUFFIX
)
417 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp850
)
418 $(call KernelPackage
/nls
/Depends
)
422 define KernelPackage
/nls-cp850
/description
423 Kernel module for NLS Codepage
850 (Europe
)
426 $(eval
$(call KernelPackage
,nls-cp850
))
429 define KernelPackage
/nls-cp852
431 TITLE
:=Codepage
852 (Europe
)
432 KCONFIG
:=CONFIG_NLS_CODEPAGE_852
433 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp852.
$(LINUX_KMOD_SUFFIX
)
434 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp852
)
435 $(call KernelPackage
/nls
/Depends
)
439 define KernelPackage
/nls-cp852
/description
440 Kernel module for NLS Codepage
852 (Europe
)
443 $(eval
$(call KernelPackage
,nls-cp852
))
446 define KernelPackage
/nls-cp866
448 TITLE
:=Codepage
866 (Cyrillic
)
449 KCONFIG
:=CONFIG_NLS_CODEPAGE_866
450 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp866.
$(LINUX_KMOD_SUFFIX
)
451 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp866
)
452 $(call KernelPackage
/nls
/Depends
)
456 define KernelPackage
/nls-cp866
/description
457 Kernel module for NLS Codepage
866 (Cyrillic
)
460 $(eval
$(call KernelPackage
,nls-cp866
))
463 define KernelPackage
/nls-cp1250
465 TITLE
:=Codepage
1250 (Eastern Europe
)
466 KCONFIG
:=CONFIG_NLS_CODEPAGE_1250
467 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1250.
$(LINUX_KMOD_SUFFIX
)
468 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1250
)
469 $(call KernelPackage
/nls
/Depends
)
473 define KernelPackage
/nls-cp1250
/description
474 Kernel module for NLS Codepage
1250 (Eastern Europe
)
477 $(eval
$(call KernelPackage
,nls-cp1250
))
480 define KernelPackage
/nls-cp1251
482 TITLE
:=Codepage
1251 (Russian
)
483 KCONFIG
:=CONFIG_NLS_CODEPAGE_1251
484 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1251.
$(LINUX_KMOD_SUFFIX
)
485 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1251
)
486 $(call KernelPackage
/nls
/Depends
)
490 define KernelPackage
/nls-cp1251
/description
491 Kernel module for NLS Codepage
1251 (Russian
)
494 $(eval
$(call KernelPackage
,nls-cp1251
))
497 define KernelPackage
/nls-iso8859-1
499 TITLE
:=ISO
8859-1 (Latin
1; Western European Languages
)
500 KCONFIG
:=CONFIG_NLS_ISO8859_1
501 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-1.
$(LINUX_KMOD_SUFFIX
)
502 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-1
)
503 $(call KernelPackage
/nls
/Depends
)
507 define KernelPackage
/nls-iso8859-1
/description
508 Kernel module for NLS ISO
8859-1 (Latin
1)
511 $(eval
$(call KernelPackage
,nls-iso8859-1
))
514 define KernelPackage
/nls-iso8859-2
516 TITLE
:=ISO
8859-2 (Latin
2; Central European Languages
)
517 KCONFIG
:=CONFIG_NLS_ISO8859_2
518 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-2.
$(LINUX_KMOD_SUFFIX
)
519 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-2
)
520 $(call KernelPackage
/nls
/Depends
)
524 define KernelPackage
/nls-iso8859-2
/description
525 Kernel module for NLS ISO
8859-2 (Latin
2)
528 $(eval
$(call KernelPackage
,nls-iso8859-2
))
531 define KernelPackage
/nls-iso8859-15
533 TITLE
:=ISO
8859-15 (Latin
9; Western
, with Euro symbol
)
534 KCONFIG
:=CONFIG_NLS_ISO8859_15
535 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-15.
$(LINUX_KMOD_SUFFIX
)
536 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-15
)
537 $(call KernelPackage
/nls
/Depends
)
541 define KernelPackage
/nls-iso8859-15
/description
542 Kernel module for NLS ISO
8859-15 (Latin
9)
545 $(eval
$(call KernelPackage
,nls-iso8859-15
))
548 define KernelPackage
/nls-koi8r
550 TITLE
:=KOI8-R
(Russian
)
551 KCONFIG
:=CONFIG_NLS_KOI8_R
552 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_koi8-r.
$(LINUX_KMOD_SUFFIX
)
553 AUTOLOAD
:=$(call AutoLoad
,25,nls_koi8-r
)
554 $(call KernelPackage
/nls
/Depends
)
558 define KernelPackage
/nls-koi8r
/description
559 Kernel module for NLS KOI8-R
(Russian
)
562 $(eval
$(call KernelPackage
,nls-koi8r
))
565 define KernelPackage
/nls-utf8
568 KCONFIG
:=CONFIG_NLS_UTF8
569 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_utf8.
$(LINUX_KMOD_SUFFIX
)
570 AUTOLOAD
:=$(call AutoLoad
,25,nls_utf8
)
571 $(call KernelPackage
/nls
/Depends
)
574 define KernelPackage
/nls-utf8
/description
575 Kernel module for NLS UTF-8
578 $(eval
$(call KernelPackage
,nls-utf8
))
581 define KernelPackage
/nls-iso8859-13
583 TITLE
:=ISO
8859-13 (Latin
7; Baltic
)
584 KCONFIG
:=CONFIG_NLS_ISO8859_13
585 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-13.
$(LINUX_KMOD_SUFFIX
)
586 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-13
)
587 $(call KernelPackage
/nls
/Depends
)
591 define KernelPackage
/nls-iso8859-13
/description
592 Kernel module for NLS ISO
8859-13 (Latin
7; Baltic
)
595 $(eval
$(call KernelPackage
,nls-iso8859-13
))
597 define KernelPackage
/nls-cp775
599 TITLE
:=Codepage
775 (Baltic Rim
)
600 KCONFIG
:=CONFIG_NLS_CODEPAGE_775
601 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp775.
$(LINUX_KMOD_SUFFIX
)
602 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp775
)
603 $(call KernelPackage
/nls
/Depends
)
607 define KernelPackage
/nls-cp775
/description
608 Kernel module for NLS Codepage
775 (Baltic Rim
)
611 $(eval
$(call KernelPackage
,nls-cp775
))