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
))
360 define KernelPackage
/nls-base
362 TITLE
:=Native Language Support
364 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_base.
$(LINUX_KMOD_SUFFIX
)
365 AUTOLOAD
:=$(call AutoLoad
,20,nls_base
)
368 define KernelPackage
/nls-base
/description
369 Kernel module for NLS
(Native Language Support
)
372 $(eval
$(call KernelPackage
,nls-base
))
375 define KernelPackage
/nls-cp437
377 TITLE
:=Codepage
437 (United States
, Canada
)
378 KCONFIG
:=CONFIG_NLS_CODEPAGE_437
379 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp437.
$(LINUX_KMOD_SUFFIX
)
380 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp437
)
381 $(call KernelPackage
/nls
/Depends
)
385 define KernelPackage
/nls-cp437
/description
386 Kernel module for NLS Codepage
437 (United States
, Canada
)
389 $(eval
$(call KernelPackage
,nls-cp437
))
392 define KernelPackage
/nls-cp850
394 TITLE
:=Codepage
850 (Europe
)
395 KCONFIG
:=CONFIG_NLS_CODEPAGE_850
396 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp850.
$(LINUX_KMOD_SUFFIX
)
397 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp850
)
398 $(call KernelPackage
/nls
/Depends
)
402 define KernelPackage
/nls-cp850
/description
403 Kernel module for NLS Codepage
850 (Europe
)
406 $(eval
$(call KernelPackage
,nls-cp850
))
409 define KernelPackage
/nls-cp852
411 TITLE
:=Codepage
852 (Europe
)
412 KCONFIG
:=CONFIG_NLS_CODEPAGE_852
413 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp852.
$(LINUX_KMOD_SUFFIX
)
414 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp852
)
415 $(call KernelPackage
/nls
/Depends
)
419 define KernelPackage
/nls-cp852
/description
420 Kernel module for NLS Codepage
852 (Europe
)
423 $(eval
$(call KernelPackage
,nls-cp852
))
426 define KernelPackage
/nls-cp1250
428 TITLE
:=Codepage
1250 (Eastern Europe
)
429 KCONFIG
:=CONFIG_NLS_CODEPAGE_1250
430 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1250.
$(LINUX_KMOD_SUFFIX
)
431 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1250
)
432 $(call KernelPackage
/nls
/Depends
)
436 define KernelPackage
/nls-cp1250
/description
437 Kernel module for NLS Codepage
1250 (Eastern Europe
)
440 $(eval
$(call KernelPackage
,nls-cp1250
))
443 define KernelPackage
/nls-cp1251
445 TITLE
:=Codepage
1251 (Russian
)
446 KCONFIG
:=CONFIG_NLS_CODEPAGE_1251
447 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1251.
$(LINUX_KMOD_SUFFIX
)
448 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1251
)
449 $(call KernelPackage
/nls
/Depends
)
453 define KernelPackage
/nls-cp1251
/description
454 Kernel module for NLS Codepage
1251 (Russian
)
457 $(eval
$(call KernelPackage
,nls-cp1251
))
460 define KernelPackage
/nls-iso8859-1
462 TITLE
:=ISO
8859-1 (Latin
1; Western European Languages
)
463 KCONFIG
:=CONFIG_NLS_ISO8859_1
464 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-1.
$(LINUX_KMOD_SUFFIX
)
465 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-1
)
466 $(call KernelPackage
/nls
/Depends
)
470 define KernelPackage
/nls-iso8859-1
/description
471 Kernel module for NLS ISO
8859-1 (Latin
1)
474 $(eval
$(call KernelPackage
,nls-iso8859-1
))
477 define KernelPackage
/nls-iso8859-2
479 TITLE
:=ISO
8859-2 (Latin
2; Central European Languages
)
480 KCONFIG
:=CONFIG_NLS_ISO8859_2
481 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-2.
$(LINUX_KMOD_SUFFIX
)
482 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-2
)
483 $(call KernelPackage
/nls
/Depends
)
487 define KernelPackage
/nls-iso8859-2
/description
488 Kernel module for NLS ISO
8859-2 (Latin
2)
491 $(eval
$(call KernelPackage
,nls-iso8859-2
))
494 define KernelPackage
/nls-iso8859-15
496 TITLE
:=ISO
8859-15 (Latin
9; Western
, with Euro symbol
)
497 KCONFIG
:=CONFIG_NLS_ISO8859_15
498 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-15.
$(LINUX_KMOD_SUFFIX
)
499 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-15
)
500 $(call KernelPackage
/nls
/Depends
)
504 define KernelPackage
/nls-iso8859-15
/description
505 Kernel module for NLS ISO
8859-15 (Latin
9)
508 $(eval
$(call KernelPackage
,nls-iso8859-15
))
511 define KernelPackage
/nls-koi8r
513 TITLE
:=KOI8-R
(Russian
)
514 KCONFIG
:=CONFIG_NLS_KOI8_R
515 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_koi8-r.
$(LINUX_KMOD_SUFFIX
)
516 AUTOLOAD
:=$(call AutoLoad
,25,nls_koi8-r
)
517 $(call KernelPackage
/nls
/Depends
)
521 define KernelPackage
/nls-koi8r
/description
522 Kernel module for NLS KOI8-R
(Russian
)
525 $(eval
$(call KernelPackage
,nls-koi8r
))
528 define KernelPackage
/nls-utf8
531 KCONFIG
:=CONFIG_NLS_UTF8
532 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_utf8.
$(LINUX_KMOD_SUFFIX
)
533 AUTOLOAD
:=$(call AutoLoad
,25,nls_utf8
)
534 $(call KernelPackage
/nls
/Depends
)
537 define KernelPackage
/nls-utf8
/description
538 Kernel module for NLS UTF-8
541 $(eval
$(call KernelPackage
,nls-utf8
))