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
))
274 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,2.6.30)),1)
279 define KernelPackage
/fs-msdos
281 TITLE
:=MSDOS filesystem support
282 KCONFIG
:=CONFIG_MSDOS_FS
283 FILES
:=$(LINUX_DIR
)/fs
/$(MSDOS_DIR
)/msdos.
$(LINUX_KMOD_SUFFIX
)
284 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
285 $(call KernelPackage
/nls
/Depends
)
289 define KernelPackage
/fs-msdos
/description
290 Kernel module for MSDOS filesystem support
293 $(eval
$(call KernelPackage
,fs-msdos
))
296 define KernelPackage
/fs-reiserfs
298 TITLE
:=ReiserFS filesystem support
299 KCONFIG
:=CONFIG_REISERFS_FS
300 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.
$(LINUX_KMOD_SUFFIX
)
301 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
)
304 define KernelPackage
/fs-reiserfs
/description
305 Kernel module for ReiserFS support
308 $(eval
$(call KernelPackage
,fs-reiserfs
))
310 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,2.6.28)),1)
315 define KernelPackage
/fs-vfat
317 TITLE
:=VFAT filesystem support
322 $(LINUX_DIR
)/fs
/fat
/fat.
$(LINUX_KMOD_SUFFIX
) \
323 $(LINUX_DIR
)/fs
/$(VFAT_DIR
)/vfat.
$(LINUX_KMOD_SUFFIX
)
324 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
325 $(call KernelPackage
/nls
/Depends
)
329 define KernelPackage
/fs-vfat
/description
330 Kernel module for VFAT filesystem support
333 $(eval
$(call KernelPackage
,fs-vfat
))
336 define KernelPackage
/fs-xfs
338 TITLE
:=XFS filesystem support
339 KCONFIG
:=CONFIG_XFS_FS
340 DEPENDS
:= +kmod-fs-exportfs
341 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.
$(LINUX_KMOD_SUFFIX
)
342 AUTOLOAD
:=$(call AutoLoad
,30,xfs
)
345 define KernelPackage
/fs-xfs
/description
346 Kernel module for XFS support
349 $(eval
$(call KernelPackage
,fs-xfs
))
351 define KernelPackage
/fs-btrfs
353 TITLE
:=BTRFS filesystem support
355 CONFIG_CRYPTO_CRC32C \
358 CONFIG_BTRFS_FS_POSIX_ACL
=n
360 DEPENDS
:=+kmod-crypto-core @
!LINUX_2_6_21
&&!LINUX_2_6_25
362 $(LINUX_DIR
)/crypto
/crc32c.
$(LINUX_KMOD_SUFFIX
) \
363 $(LINUX_DIR
)/lib
/libcrc32c.
$(LINUX_KMOD_SUFFIX
) \
364 $(LINUX_DIR
)/fs
/btrfs
/btrfs.
$(LINUX_KMOD_SUFFIX
)
365 AUTOLOAD
:=$(call AutoLoad
,30,crc32c libcrc32c btrfs
)
368 define KernelPackage
/fs-btrfs
/description
369 Kernel module for BTRFS support
372 $(eval
$(call KernelPackage
,fs-btrfs
))
374 define KernelPackage
/fs-autofs4
376 TITLE
:=AUTOFS4 filesystem support
377 KCONFIG
:=CONFIG_AUTOFS4_FS
378 FILES
:=$(LINUX_DIR
)/fs
/autofs4
/autofs4.
$(LINUX_KMOD_SUFFIX
)
379 AUTOLOAD
:=$(call AutoLoad
,30,autofs4
)
382 define KernelPackage
/fs-autofs4
/description
383 Kernel module for AutoFS4 support
386 $(eval
$(call KernelPackage
,fs-autofs4
))
389 define KernelPackage
/nls-base
391 TITLE
:=Native Language Support
393 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_base.
$(LINUX_KMOD_SUFFIX
)
394 AUTOLOAD
:=$(call AutoLoad
,20,nls_base
)
397 define KernelPackage
/nls-base
/description
398 Kernel module for NLS
(Native Language Support
)
401 $(eval
$(call KernelPackage
,nls-base
))
404 define KernelPackage
/nls-cp437
406 TITLE
:=Codepage
437 (United States
, Canada
)
407 KCONFIG
:=CONFIG_NLS_CODEPAGE_437
408 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp437.
$(LINUX_KMOD_SUFFIX
)
409 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp437
)
410 $(call KernelPackage
/nls
/Depends
)
414 define KernelPackage
/nls-cp437
/description
415 Kernel module for NLS Codepage
437 (United States
, Canada
)
418 $(eval
$(call KernelPackage
,nls-cp437
))
421 define KernelPackage
/nls-cp850
423 TITLE
:=Codepage
850 (Europe
)
424 KCONFIG
:=CONFIG_NLS_CODEPAGE_850
425 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp850.
$(LINUX_KMOD_SUFFIX
)
426 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp850
)
427 $(call KernelPackage
/nls
/Depends
)
431 define KernelPackage
/nls-cp850
/description
432 Kernel module for NLS Codepage
850 (Europe
)
435 $(eval
$(call KernelPackage
,nls-cp850
))
438 define KernelPackage
/nls-cp852
440 TITLE
:=Codepage
852 (Europe
)
441 KCONFIG
:=CONFIG_NLS_CODEPAGE_852
442 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp852.
$(LINUX_KMOD_SUFFIX
)
443 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp852
)
444 $(call KernelPackage
/nls
/Depends
)
448 define KernelPackage
/nls-cp852
/description
449 Kernel module for NLS Codepage
852 (Europe
)
452 $(eval
$(call KernelPackage
,nls-cp852
))
455 define KernelPackage
/nls-cp866
457 TITLE
:=Codepage
866 (Cyrillic
)
458 KCONFIG
:=CONFIG_NLS_CODEPAGE_866
459 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp866.
$(LINUX_KMOD_SUFFIX
)
460 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp866
)
461 $(call KernelPackage
/nls
/Depends
)
465 define KernelPackage
/nls-cp866
/description
466 Kernel module for NLS Codepage
866 (Cyrillic
)
469 $(eval
$(call KernelPackage
,nls-cp866
))
472 define KernelPackage
/nls-cp1250
474 TITLE
:=Codepage
1250 (Eastern Europe
)
475 KCONFIG
:=CONFIG_NLS_CODEPAGE_1250
476 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1250.
$(LINUX_KMOD_SUFFIX
)
477 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1250
)
478 $(call KernelPackage
/nls
/Depends
)
482 define KernelPackage
/nls-cp1250
/description
483 Kernel module for NLS Codepage
1250 (Eastern Europe
)
486 $(eval
$(call KernelPackage
,nls-cp1250
))
489 define KernelPackage
/nls-cp1251
491 TITLE
:=Codepage
1251 (Russian
)
492 KCONFIG
:=CONFIG_NLS_CODEPAGE_1251
493 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1251.
$(LINUX_KMOD_SUFFIX
)
494 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1251
)
495 $(call KernelPackage
/nls
/Depends
)
499 define KernelPackage
/nls-cp1251
/description
500 Kernel module for NLS Codepage
1251 (Russian
)
503 $(eval
$(call KernelPackage
,nls-cp1251
))
506 define KernelPackage
/nls-iso8859-1
508 TITLE
:=ISO
8859-1 (Latin
1; Western European Languages
)
509 KCONFIG
:=CONFIG_NLS_ISO8859_1
510 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-1.
$(LINUX_KMOD_SUFFIX
)
511 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-1
)
512 $(call KernelPackage
/nls
/Depends
)
516 define KernelPackage
/nls-iso8859-1
/description
517 Kernel module for NLS ISO
8859-1 (Latin
1)
520 $(eval
$(call KernelPackage
,nls-iso8859-1
))
523 define KernelPackage
/nls-iso8859-2
525 TITLE
:=ISO
8859-2 (Latin
2; Central European Languages
)
526 KCONFIG
:=CONFIG_NLS_ISO8859_2
527 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-2.
$(LINUX_KMOD_SUFFIX
)
528 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-2
)
529 $(call KernelPackage
/nls
/Depends
)
533 define KernelPackage
/nls-iso8859-2
/description
534 Kernel module for NLS ISO
8859-2 (Latin
2)
537 $(eval
$(call KernelPackage
,nls-iso8859-2
))
540 define KernelPackage
/nls-iso8859-15
542 TITLE
:=ISO
8859-15 (Latin
9; Western
, with Euro symbol
)
543 KCONFIG
:=CONFIG_NLS_ISO8859_15
544 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-15.
$(LINUX_KMOD_SUFFIX
)
545 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-15
)
546 $(call KernelPackage
/nls
/Depends
)
550 define KernelPackage
/nls-iso8859-15
/description
551 Kernel module for NLS ISO
8859-15 (Latin
9)
554 $(eval
$(call KernelPackage
,nls-iso8859-15
))
557 define KernelPackage
/nls-koi8r
559 TITLE
:=KOI8-R
(Russian
)
560 KCONFIG
:=CONFIG_NLS_KOI8_R
561 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_koi8-r.
$(LINUX_KMOD_SUFFIX
)
562 AUTOLOAD
:=$(call AutoLoad
,25,nls_koi8-r
)
563 $(call KernelPackage
/nls
/Depends
)
567 define KernelPackage
/nls-koi8r
/description
568 Kernel module for NLS KOI8-R
(Russian
)
571 $(eval
$(call KernelPackage
,nls-koi8r
))
574 define KernelPackage
/nls-utf8
577 KCONFIG
:=CONFIG_NLS_UTF8
578 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_utf8.
$(LINUX_KMOD_SUFFIX
)
579 AUTOLOAD
:=$(call AutoLoad
,25,nls_utf8
)
580 $(call KernelPackage
/nls
/Depends
)
583 define KernelPackage
/nls-utf8
/description
584 Kernel module for NLS UTF-8
587 $(eval
$(call KernelPackage
,nls-utf8
))
590 define KernelPackage
/nls-iso8859-13
592 TITLE
:=ISO
8859-13 (Latin
7; Baltic
)
593 KCONFIG
:=CONFIG_NLS_ISO8859_13
594 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-13.
$(LINUX_KMOD_SUFFIX
)
595 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-13
)
596 $(call KernelPackage
/nls
/Depends
)
600 define KernelPackage
/nls-iso8859-13
/description
601 Kernel module for NLS ISO
8859-13 (Latin
7; Baltic
)
604 $(eval
$(call KernelPackage
,nls-iso8859-13
))
606 define KernelPackage
/nls-cp775
608 TITLE
:=Codepage
775 (Baltic Rim
)
609 KCONFIG
:=CONFIG_NLS_CODEPAGE_775
610 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp775.
$(LINUX_KMOD_SUFFIX
)
611 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp775
)
612 $(call KernelPackage
/nls
/Depends
)
616 define KernelPackage
/nls-cp775
/description
617 Kernel module for NLS Codepage
775 (Baltic Rim
)
620 $(eval
$(call KernelPackage
,nls-cp775
))