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 define KernelPackage
/fs-ext4
117 TITLE
:=EXT4 filesystem support
119 CONFIG_EXT4DEV_COMPAT
=y \
120 CONFIG_EXT4_FS_XATTR
=y \
121 CONFIG_EXT4_FS_POSIX_ACL
=y \
122 CONFIG_EXT4_FS_SECURITY
=y \
124 DEPENDS
:=$(if
$(DUMP
)$(CONFIG_FS_MBCACHE
),+kmod-fs-mbcache
)
126 $(LINUX_DIR
)/fs
/ext4
/ext4.
$(LINUX_KMOD_SUFFIX
)
127 AUTOLOAD
:=$(call AutoLoad
,30,ext4
)
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
221 TITLE
:=NFS filesystem support
222 DEPENDS
:=kmod-fs-nfs-common
226 $(LINUX_DIR
)/fs
/nfs
/nfs.
$(LINUX_KMOD_SUFFIX
)
227 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
230 define KernelPackage
/fs-nfs
/description
231 Kernel module for NFS support
234 $(eval
$(call KernelPackage
,fs-nfs
))
237 define KernelPackage
/fs-nfsd
239 TITLE
:=NFS kernel server support
240 DEPENDS
:=kmod-fs-nfs-common
242 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.
$(LINUX_KMOD_SUFFIX
)
243 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
246 define KernelPackage
/fs-nfsd
/2.6
247 KCONFIG
+=CONFIG_EXPORTFS \
249 FILES
+=$(LINUX_DIR
)/fs
/exportfs
/exportfs.
$(LINUX_KMOD_SUFFIX
) \
250 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.
$(LINUX_KMOD_SUFFIX
)
251 AUTOLOAD
+=$(call AutoLoad
,40,auth_rpcgss exportfs nfsd
)
254 define KernelPackage
/fs-nfsd
/description
255 Kernel module for NFS kernel server support
258 $(eval
$(call KernelPackage
,fs-nfsd
))
261 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,2.6.28)),1)
266 define KernelPackage
/fs-msdos
268 TITLE
:=MSDOS filesystem support
269 KCONFIG
:=CONFIG_MSDOS_FS
270 FILES
:=$(LINUX_DIR
)/fs
/$(MSDOS_DIR
)/msdos.
$(LINUX_KMOD_SUFFIX
)
271 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
272 $(call KernelPackage
/nls
/Depends
)
276 define KernelPackage
/fs-msdos
/description
277 Kernel module for MSDOS filesystem support
280 $(eval
$(call KernelPackage
,fs-msdos
))
283 define KernelPackage
/fs-reiserfs
285 TITLE
:=ReiserFS filesystem support
286 KCONFIG
:=CONFIG_REISERFS_FS
287 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.
$(LINUX_KMOD_SUFFIX
)
288 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
)
291 define KernelPackage
/fs-reiserfs
/description
292 Kernel module for ReiserFS support
295 $(eval
$(call KernelPackage
,fs-reiserfs
))
298 define KernelPackage
/fs-vfat
300 TITLE
:=VFAT filesystem support
305 $(LINUX_DIR
)/fs
/fat
/fat.
$(LINUX_KMOD_SUFFIX
) \
306 $(LINUX_DIR
)/fs
/$(if
$(CONFIG_LINUX_2_6_28
),fat
,vfat
)/vfat.
$(LINUX_KMOD_SUFFIX
)
307 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
308 $(call KernelPackage
/nls
/Depends
)
312 define KernelPackage
/fs-vfat
/description
313 Kernel module for VFAT filesystem support
316 $(eval
$(call KernelPackage
,fs-vfat
))
319 define KernelPackage
/fs-xfs
321 TITLE
:=XFS filesystem support
322 KCONFIG
:=CONFIG_XFS_FS
323 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.
$(LINUX_KMOD_SUFFIX
)
324 AUTOLOAD
:=$(call AutoLoad
,30,xfs
)
327 define KernelPackage
/fs-xfs
/description
328 Kernel module for XFS support
331 $(eval
$(call KernelPackage
,fs-xfs
))
334 define KernelPackage
/nls-base
336 TITLE
:=Native Language Support
338 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_base.
$(LINUX_KMOD_SUFFIX
)
339 AUTOLOAD
:=$(call AutoLoad
,20,nls_base
)
342 define KernelPackage
/nls-base
/description
343 Kernel module for NLS
(Native Language Support
)
346 $(eval
$(call KernelPackage
,nls-base
))
349 define KernelPackage
/nls-cp437
351 TITLE
:=Codepage
437 (United States
, Canada
)
352 KCONFIG
:=CONFIG_NLS_CODEPAGE_437
353 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp437.
$(LINUX_KMOD_SUFFIX
)
354 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp437
)
355 $(call KernelPackage
/nls
/Depends
)
359 define KernelPackage
/nls-cp437
/description
360 Kernel module for NLS Codepage
437 (United States
, Canada
)
363 $(eval
$(call KernelPackage
,nls-cp437
))
366 define KernelPackage
/nls-cp850
368 TITLE
:=Codepage
850 (Europe
)
369 KCONFIG
:=CONFIG_NLS_CODEPAGE_850
370 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp850.
$(LINUX_KMOD_SUFFIX
)
371 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp850
)
372 $(call KernelPackage
/nls
/Depends
)
376 define KernelPackage
/nls-cp850
/description
377 Kernel module for NLS Codepage
850 (Europe
)
380 $(eval
$(call KernelPackage
,nls-cp850
))
383 define KernelPackage
/nls-cp852
385 TITLE
:=Codepage
852 (Europe
)
386 KCONFIG
:=CONFIG_NLS_CODEPAGE_852
387 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp852.
$(LINUX_KMOD_SUFFIX
)
388 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp852
)
389 $(call KernelPackage
/nls
/Depends
)
393 define KernelPackage
/nls-cp852
/description
394 Kernel module for NLS Codepage
852 (Europe
)
397 $(eval
$(call KernelPackage
,nls-cp852
))
400 define KernelPackage
/nls-cp1250
402 TITLE
:=Codepage
1250 (Eastern Europe
)
403 KCONFIG
:=CONFIG_NLS_CODEPAGE_1250
404 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1250.
$(LINUX_KMOD_SUFFIX
)
405 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1250
)
406 $(call KernelPackage
/nls
/Depends
)
410 define KernelPackage
/nls-cp1250
/description
411 Kernel module for NLS Codepage
1250 (Eastern Europe
)
414 $(eval
$(call KernelPackage
,nls-cp1250
))
417 define KernelPackage
/nls-cp1251
419 TITLE
:=Codepage
1251 (Russian
)
420 KCONFIG
:=CONFIG_NLS_CODEPAGE_1251
421 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1251.
$(LINUX_KMOD_SUFFIX
)
422 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1251
)
423 $(call KernelPackage
/nls
/Depends
)
427 define KernelPackage
/nls-cp1251
/description
428 Kernel module for NLS Codepage
1251 (Russian
)
431 $(eval
$(call KernelPackage
,nls-cp1251
))
434 define KernelPackage
/nls-iso8859-1
436 TITLE
:=ISO
8859-1 (Latin
1; Western European Languages
)
437 KCONFIG
:=CONFIG_NLS_ISO8859_1
438 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-1.
$(LINUX_KMOD_SUFFIX
)
439 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-1
)
440 $(call KernelPackage
/nls
/Depends
)
444 define KernelPackage
/nls-iso8859-1
/description
445 Kernel module for NLS ISO
8859-1 (Latin
1)
448 $(eval
$(call KernelPackage
,nls-iso8859-1
))
451 define KernelPackage
/nls-iso8859-2
453 TITLE
:=ISO
8859-2 (Latin
2; Central European Languages
)
454 KCONFIG
:=CONFIG_NLS_ISO8859_2
455 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-2.
$(LINUX_KMOD_SUFFIX
)
456 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-2
)
457 $(call KernelPackage
/nls
/Depends
)
461 define KernelPackage
/nls-iso8859-2
/description
462 Kernel module for NLS ISO
8859-2 (Latin
2)
465 $(eval
$(call KernelPackage
,nls-iso8859-2
))
468 define KernelPackage
/nls-iso8859-15
470 TITLE
:=ISO
8859-15 (Latin
9; Western
, with Euro symbol
)
471 KCONFIG
:=CONFIG_NLS_ISO8859_15
472 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-15.
$(LINUX_KMOD_SUFFIX
)
473 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-15
)
474 $(call KernelPackage
/nls
/Depends
)
478 define KernelPackage
/nls-iso8859-15
/description
479 Kernel module for NLS ISO
8859-15 (Latin
9)
482 $(eval
$(call KernelPackage
,nls-iso8859-15
))
485 define KernelPackage
/nls-koi8r
487 TITLE
:=KOI8-R
(Russian
)
488 KCONFIG
:=CONFIG_NLS_KOI8_R
489 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_koi8-r.
$(LINUX_KMOD_SUFFIX
)
490 AUTOLOAD
:=$(call AutoLoad
,25,nls_koi8-r
)
491 $(call KernelPackage
/nls
/Depends
)
495 define KernelPackage
/nls-koi8r
/description
496 Kernel module for NLS KOI8-R
(Russian
)
499 $(eval
$(call KernelPackage
,nls-koi8r
))
502 define KernelPackage
/nls-utf8
505 KCONFIG
:=CONFIG_NLS_UTF8
506 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_utf8.
$(LINUX_KMOD_SUFFIX
)
507 AUTOLOAD
:=$(call AutoLoad
,25,nls_utf8
)
508 $(call KernelPackage
/nls
/Depends
)
511 define KernelPackage
/nls-utf8
/description
512 Kernel module for NLS UTF-8
515 $(eval
$(call KernelPackage
,nls-utf8
))