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 define KernelPackage
/fs-msdos
276 TITLE
:=MSDOS filesystem support
277 KCONFIG
:=CONFIG_MSDOS_FS
278 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.
$(LINUX_KMOD_SUFFIX
)
279 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
280 $(call KernelPackage
/nls
/Depends
)
283 define KernelPackage
/fs-msdos
/2.4
284 FILES
:=$(LINUX_DIR
)/fs
/msdos
/msdos.
$(LINUX_KMOD_SUFFIX
)
287 define KernelPackage
/fs-msdos
/description
288 Kernel module for MSDOS filesystem support
291 $(eval
$(call KernelPackage
,fs-msdos
))
294 define KernelPackage
/fs-reiserfs
296 TITLE
:=ReiserFS filesystem support
297 KCONFIG
:=CONFIG_REISERFS_FS
298 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.
$(LINUX_KMOD_SUFFIX
)
299 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
)
302 define KernelPackage
/fs-reiserfs
/description
303 Kernel module for ReiserFS support
306 $(eval
$(call KernelPackage
,fs-reiserfs
))
308 define KernelPackage
/fs-vfat
310 TITLE
:=VFAT filesystem support
315 $(LINUX_DIR
)/fs
/fat
/fat.
$(LINUX_KMOD_SUFFIX
) \
316 $(LINUX_DIR
)/fs
/fat
/vfat.
$(LINUX_KMOD_SUFFIX
)
317 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
318 $(call KernelPackage
/nls
/Depends
)
321 define KernelPackage
/fs-vfat
/2.4
323 $(LINUX_DIR
)/fs
/fat
/fat.
$(LINUX_KMOD_SUFFIX
) \
324 $(LINUX_DIR
)/fs
/vfat
/vfat.
$(LINUX_KMOD_SUFFIX
)
327 define KernelPackage
/fs-vfat
/description
328 Kernel module for VFAT filesystem support
331 $(eval
$(call KernelPackage
,fs-vfat
))
334 define KernelPackage
/fs-xfs
336 TITLE
:=XFS filesystem support
337 KCONFIG
:=CONFIG_XFS_FS
338 DEPENDS
:= +kmod-fs-exportfs
339 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.
$(LINUX_KMOD_SUFFIX
)
340 AUTOLOAD
:=$(call AutoLoad
,30,xfs
)
343 define KernelPackage
/fs-xfs
/description
344 Kernel module for XFS support
347 $(eval
$(call KernelPackage
,fs-xfs
))
349 define KernelPackage
/fs-btrfs
351 TITLE
:=BTRFS filesystem support
353 CONFIG_CRYPTO_CRC32C \
356 CONFIG_BTRFS_FS_POSIX_ACL
=n
358 DEPENDS
:=+kmod-crypto-core @
!LINUX_2_6_21
&&!LINUX_2_6_25
360 $(LINUX_DIR
)/crypto
/crc32c.
$(LINUX_KMOD_SUFFIX
) \
361 $(LINUX_DIR
)/lib
/libcrc32c.
$(LINUX_KMOD_SUFFIX
) \
362 $(LINUX_DIR
)/fs
/btrfs
/btrfs.
$(LINUX_KMOD_SUFFIX
)
363 AUTOLOAD
:=$(call AutoLoad
,30,crc32c libcrc32c btrfs
)
366 define KernelPackage
/fs-btrfs
/description
367 Kernel module for BTRFS support
370 $(eval
$(call KernelPackage
,fs-btrfs
))
372 define KernelPackage
/fs-autofs4
374 TITLE
:=AUTOFS4 filesystem support
375 KCONFIG
:=CONFIG_AUTOFS4_FS
376 FILES
:=$(LINUX_DIR
)/fs
/autofs4
/autofs4.
$(LINUX_KMOD_SUFFIX
)
377 AUTOLOAD
:=$(call AutoLoad
,30,autofs4
)
380 define KernelPackage
/fs-autofs4
/description
381 Kernel module for AutoFS4 support
384 $(eval
$(call KernelPackage
,fs-autofs4
))
387 define KernelPackage
/nls-base
389 TITLE
:=Native Language Support
391 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_base.
$(LINUX_KMOD_SUFFIX
)
392 AUTOLOAD
:=$(call AutoLoad
,20,nls_base
)
395 define KernelPackage
/nls-base
/description
396 Kernel module for NLS
(Native Language Support
)
399 $(eval
$(call KernelPackage
,nls-base
))
402 define KernelPackage
/nls-cp437
404 TITLE
:=Codepage
437 (United States
, Canada
)
405 KCONFIG
:=CONFIG_NLS_CODEPAGE_437
406 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp437.
$(LINUX_KMOD_SUFFIX
)
407 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp437
)
408 $(call KernelPackage
/nls
/Depends
)
412 define KernelPackage
/nls-cp437
/description
413 Kernel module for NLS Codepage
437 (United States
, Canada
)
416 $(eval
$(call KernelPackage
,nls-cp437
))
419 define KernelPackage
/nls-cp850
421 TITLE
:=Codepage
850 (Europe
)
422 KCONFIG
:=CONFIG_NLS_CODEPAGE_850
423 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp850.
$(LINUX_KMOD_SUFFIX
)
424 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp850
)
425 $(call KernelPackage
/nls
/Depends
)
429 define KernelPackage
/nls-cp850
/description
430 Kernel module for NLS Codepage
850 (Europe
)
433 $(eval
$(call KernelPackage
,nls-cp850
))
436 define KernelPackage
/nls-cp852
438 TITLE
:=Codepage
852 (Europe
)
439 KCONFIG
:=CONFIG_NLS_CODEPAGE_852
440 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp852.
$(LINUX_KMOD_SUFFIX
)
441 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp852
)
442 $(call KernelPackage
/nls
/Depends
)
446 define KernelPackage
/nls-cp852
/description
447 Kernel module for NLS Codepage
852 (Europe
)
450 $(eval
$(call KernelPackage
,nls-cp852
))
453 define KernelPackage
/nls-cp866
455 TITLE
:=Codepage
866 (Cyrillic
)
456 KCONFIG
:=CONFIG_NLS_CODEPAGE_866
457 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp866.
$(LINUX_KMOD_SUFFIX
)
458 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp866
)
459 $(call KernelPackage
/nls
/Depends
)
463 define KernelPackage
/nls-cp866
/description
464 Kernel module for NLS Codepage
866 (Cyrillic
)
467 $(eval
$(call KernelPackage
,nls-cp866
))
470 define KernelPackage
/nls-cp1250
472 TITLE
:=Codepage
1250 (Eastern Europe
)
473 KCONFIG
:=CONFIG_NLS_CODEPAGE_1250
474 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1250.
$(LINUX_KMOD_SUFFIX
)
475 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1250
)
476 $(call KernelPackage
/nls
/Depends
)
480 define KernelPackage
/nls-cp1250
/description
481 Kernel module for NLS Codepage
1250 (Eastern Europe
)
484 $(eval
$(call KernelPackage
,nls-cp1250
))
487 define KernelPackage
/nls-cp1251
489 TITLE
:=Codepage
1251 (Russian
)
490 KCONFIG
:=CONFIG_NLS_CODEPAGE_1251
491 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp1251.
$(LINUX_KMOD_SUFFIX
)
492 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp1251
)
493 $(call KernelPackage
/nls
/Depends
)
497 define KernelPackage
/nls-cp1251
/description
498 Kernel module for NLS Codepage
1251 (Russian
)
501 $(eval
$(call KernelPackage
,nls-cp1251
))
504 define KernelPackage
/nls-iso8859-1
506 TITLE
:=ISO
8859-1 (Latin
1; Western European Languages
)
507 KCONFIG
:=CONFIG_NLS_ISO8859_1
508 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-1.
$(LINUX_KMOD_SUFFIX
)
509 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-1
)
510 $(call KernelPackage
/nls
/Depends
)
514 define KernelPackage
/nls-iso8859-1
/description
515 Kernel module for NLS ISO
8859-1 (Latin
1)
518 $(eval
$(call KernelPackage
,nls-iso8859-1
))
521 define KernelPackage
/nls-iso8859-2
523 TITLE
:=ISO
8859-2 (Latin
2; Central European Languages
)
524 KCONFIG
:=CONFIG_NLS_ISO8859_2
525 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-2.
$(LINUX_KMOD_SUFFIX
)
526 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-2
)
527 $(call KernelPackage
/nls
/Depends
)
531 define KernelPackage
/nls-iso8859-2
/description
532 Kernel module for NLS ISO
8859-2 (Latin
2)
535 $(eval
$(call KernelPackage
,nls-iso8859-2
))
538 define KernelPackage
/nls-iso8859-15
540 TITLE
:=ISO
8859-15 (Latin
9; Western
, with Euro symbol
)
541 KCONFIG
:=CONFIG_NLS_ISO8859_15
542 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-15.
$(LINUX_KMOD_SUFFIX
)
543 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-15
)
544 $(call KernelPackage
/nls
/Depends
)
548 define KernelPackage
/nls-iso8859-15
/description
549 Kernel module for NLS ISO
8859-15 (Latin
9)
552 $(eval
$(call KernelPackage
,nls-iso8859-15
))
555 define KernelPackage
/nls-koi8r
557 TITLE
:=KOI8-R
(Russian
)
558 KCONFIG
:=CONFIG_NLS_KOI8_R
559 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_koi8-r.
$(LINUX_KMOD_SUFFIX
)
560 AUTOLOAD
:=$(call AutoLoad
,25,nls_koi8-r
)
561 $(call KernelPackage
/nls
/Depends
)
565 define KernelPackage
/nls-koi8r
/description
566 Kernel module for NLS KOI8-R
(Russian
)
569 $(eval
$(call KernelPackage
,nls-koi8r
))
572 define KernelPackage
/nls-utf8
575 KCONFIG
:=CONFIG_NLS_UTF8
576 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_utf8.
$(LINUX_KMOD_SUFFIX
)
577 AUTOLOAD
:=$(call AutoLoad
,25,nls_utf8
)
578 $(call KernelPackage
/nls
/Depends
)
581 define KernelPackage
/nls-utf8
/description
582 Kernel module for NLS UTF-8
585 $(eval
$(call KernelPackage
,nls-utf8
))
588 define KernelPackage
/nls-iso8859-13
590 TITLE
:=ISO
8859-13 (Latin
7; Baltic
)
591 KCONFIG
:=CONFIG_NLS_ISO8859_13
592 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_iso8859-13.
$(LINUX_KMOD_SUFFIX
)
593 AUTOLOAD
:=$(call AutoLoad
,25,nls_iso8859-13
)
594 $(call KernelPackage
/nls
/Depends
)
598 define KernelPackage
/nls-iso8859-13
/description
599 Kernel module for NLS ISO
8859-13 (Latin
7; Baltic
)
602 $(eval
$(call KernelPackage
,nls-iso8859-13
))
604 define KernelPackage
/nls-cp775
606 TITLE
:=Codepage
775 (Baltic Rim
)
607 KCONFIG
:=CONFIG_NLS_CODEPAGE_775
608 FILES
:=$(LINUX_DIR
)/fs
/nls
/nls_cp775.
$(LINUX_KMOD_SUFFIX
)
609 AUTOLOAD
:=$(call AutoLoad
,25,nls_cp775
)
610 $(call KernelPackage
/nls
/Depends
)
614 define KernelPackage
/nls-cp775
/description
615 Kernel module for NLS Codepage
775 (Baltic Rim
)
618 $(eval
$(call KernelPackage
,nls-cp775
))