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 $(eval
$(call KernelPackage
,fs-nfs-common
))
227 define KernelPackage
/fs-nfs
229 TITLE
:=NFS filesystem support
230 DEPENDS
:=kmod-fs-nfs-common
234 $(LINUX_DIR
)/fs
/nfs
/nfs.
$(LINUX_KMOD_SUFFIX
)
235 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
238 define KernelPackage
/fs-nfs
/description
239 Kernel module for NFS support
242 $(eval
$(call KernelPackage
,fs-nfs
))
245 define KernelPackage
/fs-nfsd
247 TITLE
:=NFS kernel server support
248 DEPENDS
:=kmod-fs-nfs-common
250 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.
$(LINUX_KMOD_SUFFIX
)
251 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
254 define KernelPackage
/fs-nfsd
/2.6
255 KCONFIG
+=CONFIG_EXPORTFS \
257 FILES
+=$(LINUX_DIR
)/fs
/exportfs
/exportfs.
$(LINUX_KMOD_SUFFIX
) \
258 $(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.
$(LINUX_KMOD_SUFFIX
)
259 AUTOLOAD
+=$(call AutoLoad
,40,auth_rpcgss exportfs nfsd
)
262 define KernelPackage
/fs-nfsd
/description
263 Kernel module for NFS kernel server support
266 $(eval
$(call KernelPackage
,fs-nfsd
))
269 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,2.6.28)),1)
274 define KernelPackage
/fs-msdos
276 TITLE
:=MSDOS filesystem support
277 KCONFIG
:=CONFIG_MSDOS_FS
278 FILES
:=$(LINUX_DIR
)/fs
/$(MSDOS_DIR
)/msdos.
$(LINUX_KMOD_SUFFIX
)
279 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
280 $(call KernelPackage
/nls
/Depends
)
284 define KernelPackage
/fs-msdos
/description
285 Kernel module for MSDOS filesystem support
288 $(eval
$(call KernelPackage
,fs-msdos
))
291 define KernelPackage
/fs-reiserfs
293 TITLE
:=ReiserFS filesystem support
294 KCONFIG
:=CONFIG_REISERFS_FS
295 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.
$(LINUX_KMOD_SUFFIX
)
296 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
)
299 define KernelPackage
/fs-reiserfs
/description
300 Kernel module for ReiserFS support
303 $(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
/$(if
$(CONFIG_LINUX_2_6_28
),fat
,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 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.
$(LINUX_KMOD_SUFFIX
)
332 AUTOLOAD
:=$(call AutoLoad
,30,xfs
)
335 define KernelPackage
/fs-xfs
/description
336 Kernel module for XFS support
339 $(eval
$(call KernelPackage
,fs-xfs
))
342 define KernelPackage
/nls-base
344 TITLE
:=Native Language Support
346 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_base.
$(LINUX_KMOD_SUFFIX
)
347 AUTOLOAD
:=$(call AutoLoad
,20,nls_base
)
350 define KernelPackage
/nls-base
/description
351 Kernel module for NLS
(Native Language Support
)
354 $(eval
$(call KernelPackage
,nls-base
))
357 define KernelPackage
/nls-cp437
359 TITLE
:=Codepage
437 (United States
, Canada
)
360 KCONFIG
:=CONFIG_NLS_CODEPAGE_437
361 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp437.
$(LINUX_KMOD_SUFFIX
)
362 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp437
)
363 $(call KernelPackage
/nls
/Depends
)
367 define KernelPackage
/nls-cp437
/description
368 Kernel module for NLS Codepage
437 (United States
, Canada
)
371 $(eval
$(call KernelPackage
,nls-cp437
))
374 define KernelPackage
/nls-cp850
376 TITLE
:=Codepage
850 (Europe
)
377 KCONFIG
:=CONFIG_NLS_CODEPAGE_850
378 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp850.
$(LINUX_KMOD_SUFFIX
)
379 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp850
)
380 $(call KernelPackage
/nls
/Depends
)
384 define KernelPackage
/nls-cp850
/description
385 Kernel module for NLS Codepage
850 (Europe
)
388 $(eval
$(call KernelPackage
,nls-cp850
))
391 define KernelPackage
/nls-cp852
393 TITLE
:=Codepage
852 (Europe
)
394 KCONFIG
:=CONFIG_NLS_CODEPAGE_852
395 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp852.
$(LINUX_KMOD_SUFFIX
)
396 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp852
)
397 $(call KernelPackage
/nls
/Depends
)
401 define KernelPackage
/nls-cp852
/description
402 Kernel module for NLS Codepage
852 (Europe
)
405 $(eval
$(call KernelPackage
,nls-cp852
))
408 define KernelPackage
/nls-cp1250
410 TITLE
:=Codepage
1250 (Eastern Europe
)
411 KCONFIG
:=CONFIG_NLS_CODEPAGE_1250
412 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1250.
$(LINUX_KMOD_SUFFIX
)
413 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1250
)
414 $(call KernelPackage
/nls
/Depends
)
418 define KernelPackage
/nls-cp1250
/description
419 Kernel module for NLS Codepage
1250 (Eastern Europe
)
422 $(eval
$(call KernelPackage
,nls-cp1250
))
425 define KernelPackage
/nls-cp1251
427 TITLE
:=Codepage
1251 (Russian
)
428 KCONFIG
:=CONFIG_NLS_CODEPAGE_1251
429 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1251.
$(LINUX_KMOD_SUFFIX
)
430 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1251
)
431 $(call KernelPackage
/nls
/Depends
)
435 define KernelPackage
/nls-cp1251
/description
436 Kernel module for NLS Codepage
1251 (Russian
)
439 $(eval
$(call KernelPackage
,nls-cp1251
))
442 define KernelPackage
/nls-iso8859-1
444 TITLE
:=ISO
8859-1 (Latin
1; Western European Languages
)
445 KCONFIG
:=CONFIG_NLS_ISO8859_1
446 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-1.
$(LINUX_KMOD_SUFFIX
)
447 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-1
)
448 $(call KernelPackage
/nls
/Depends
)
452 define KernelPackage
/nls-iso8859-1
/description
453 Kernel module for NLS ISO
8859-1 (Latin
1)
456 $(eval
$(call KernelPackage
,nls-iso8859-1
))
459 define KernelPackage
/nls-iso8859-2
461 TITLE
:=ISO
8859-2 (Latin
2; Central European Languages
)
462 KCONFIG
:=CONFIG_NLS_ISO8859_2
463 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-2.
$(LINUX_KMOD_SUFFIX
)
464 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-2
)
465 $(call KernelPackage
/nls
/Depends
)
469 define KernelPackage
/nls-iso8859-2
/description
470 Kernel module for NLS ISO
8859-2 (Latin
2)
473 $(eval
$(call KernelPackage
,nls-iso8859-2
))
476 define KernelPackage
/nls-iso8859-15
478 TITLE
:=ISO
8859-15 (Latin
9; Western
, with Euro symbol
)
479 KCONFIG
:=CONFIG_NLS_ISO8859_15
480 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-15.
$(LINUX_KMOD_SUFFIX
)
481 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-15
)
482 $(call KernelPackage
/nls
/Depends
)
486 define KernelPackage
/nls-iso8859-15
/description
487 Kernel module for NLS ISO
8859-15 (Latin
9)
490 $(eval
$(call KernelPackage
,nls-iso8859-15
))
493 define KernelPackage
/nls-koi8r
495 TITLE
:=KOI8-R
(Russian
)
496 KCONFIG
:=CONFIG_NLS_KOI8_R
497 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_koi8-r.
$(LINUX_KMOD_SUFFIX
)
498 AUTOLOAD
:=$(call AutoLoad
,25,nls_koi8-r
)
499 $(call KernelPackage
/nls
/Depends
)
503 define KernelPackage
/nls-koi8r
/description
504 Kernel module for NLS KOI8-R
(Russian
)
507 $(eval
$(call KernelPackage
,nls-koi8r
))
510 define KernelPackage
/nls-utf8
513 KCONFIG
:=CONFIG_NLS_UTF8
514 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_utf8.
$(LINUX_KMOD_SUFFIX
)
515 AUTOLOAD
:=$(call AutoLoad
,25,nls_utf8
)
516 $(call KernelPackage
/nls
/Depends
)
519 define KernelPackage
/nls-utf8
/description
520 Kernel module for NLS UTF-8
523 $(eval
$(call KernelPackage
,nls-utf8
))