2 # Copyright (C) 2006-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
10 define KernelPackage
/fs-autofs4
12 TITLE
:=AUTOFS4 filesystem support
13 KCONFIG
:=CONFIG_AUTOFS4_FS
14 FILES
:=$(LINUX_DIR
)/fs
/autofs4
/autofs4.ko
15 AUTOLOAD
:=$(call AutoLoad
,30,autofs4
)
18 define KernelPackage
/fs-autofs4
/description
19 Kernel module for AutoFS4 support
22 $(eval
$(call KernelPackage
,fs-autofs4
))
25 define KernelPackage
/fs-btrfs
27 TITLE
:=BTRFS filesystem support
28 DEPENDS
:=+kmod-lib-crc32c
+!(LINUX_2_6_37
):kmod-lib-lzo
+kmod-lib-zlib
31 CONFIG_BTRFS_FS_POSIX_ACL
=n \
32 CONFIG_BTRFS_FS_CHECK_INTEGRITY
=n
34 $(LINUX_DIR
)/fs
/btrfs
/btrfs.ko
35 AUTOLOAD
:=$(call AutoLoad
,30,btrfs
,1)
38 define KernelPackage
/fs-btrfs
/description
39 Kernel module for BTRFS support
42 $(eval
$(call KernelPackage
,fs-btrfs
))
45 define KernelPackage
/fs-cifs
50 CONFIG_CIFS_DFS_UPCALL
=n \
52 FILES
:=$(LINUX_DIR
)/fs
/cifs
/cifs.ko
53 AUTOLOAD
:=$(call AutoLoad
,30,cifs
)
54 $(call AddDepends
/nls
)
59 +!(LINUX_2_6_37
):kmod-crypto-md4 \
60 +!(LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39
):kmod-crypto-des \
61 +!(LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39
):kmod-crypto-ecb
64 define KernelPackage
/fs-cifs
/description
65 Kernel module for CIFS support
68 $(eval
$(call KernelPackage
,fs-cifs
))
71 define KernelPackage
/fs-exportfs
73 TITLE
:=exportfs kernel server support
74 KCONFIG
:=CONFIG_EXPORTFS
75 FILES
=$(LINUX_DIR
)/fs
/exportfs
/exportfs.ko
76 AUTOLOAD
:=$(call AutoLoad
,20,exportfs
)
79 define KernelPackage
/fs-exportfs
/description
80 Kernel module for exportfs. Needed for some other modules.
83 $(eval
$(call KernelPackage
,fs-exportfs
))
86 define KernelPackage
/fs-ext4
88 TITLE
:=EXT4 filesystem support
93 $(LINUX_DIR
)/fs
/ext4
/ext4.ko \
94 $(LINUX_DIR
)/fs
/jbd2
/jbd2.ko
95 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,2.6.37)),1)
97 $(LINUX_DIR
)/fs
/mbcache.ko
98 AUTOLOAD
:=$(call AutoLoad
,30,mbcache jbd2 ext4
,1)
100 AUTOLOAD
:=$(call AutoLoad
,30,jbd2 ext4
,1)
102 $(call AddDepends
/crc16
)
105 define KernelPackage
/fs-ext4
/description
106 Kernel module for EXT4 filesystem support
109 $(eval
$(call KernelPackage
,fs-ext4
))
112 define KernelPackage
/fs-hfs
114 TITLE
:=HFS
+ filesystem support
115 KCONFIG
:=CONFIG_HFS_FS
116 FILES
:=$(LINUX_DIR
)/fs
/hfs
/hfs.ko
117 AUTOLOAD
:=$(call AutoLoad
,30,hfs
)
118 $(call AddDepends
/nls
)
121 define KernelPackage
/fs-hfs
/description
122 Kernel module for HFS filesystem support
125 $(eval
$(call KernelPackage
,fs-hfs
))
128 define KernelPackage
/fs-hfsplus
130 TITLE
:=HFS
+ filesystem support
131 KCONFIG
:=CONFIG_HFSPLUS_FS
132 FILES
:=$(LINUX_DIR
)/fs
/hfsplus
/hfsplus.ko
133 AUTOLOAD
:=$(call AutoLoad
,30,hfsplus
)
134 $(call AddDepends
/nls
,utf8
)
137 define KernelPackage
/fs-hfsplus
/description
138 Kernel module for HFS
+ filesystem support
141 $(eval
$(call KernelPackage
,fs-hfsplus
))
144 define KernelPackage
/fs-isofs
146 TITLE
:=ISO9660 filesystem support
147 KCONFIG
:=CONFIG_ISO9660_FS CONFIG_JOLIET
=y CONFIG_ZISOFS
=n
148 FILES
:=$(LINUX_DIR
)/fs
/isofs
/isofs.ko
149 AUTOLOAD
:=$(call AutoLoad
,30,isofs
)
150 $(call AddDepends
/nls
)
153 define KernelPackage
/fs-isofs
/description
154 Kernel module for ISO9660 filesystem support
157 $(eval
$(call KernelPackage
,fs-isofs
))
160 define KernelPackage
/fs-minix
162 TITLE
:=Minix filesystem support
163 KCONFIG
:=CONFIG_MINIX_FS
164 FILES
:=$(LINUX_DIR
)/fs
/minix
/minix.ko
165 AUTOLOAD
:=$(call AutoLoad
,30,minix
)
168 define KernelPackage
/fs-minix
/description
169 Kernel module for Minix filesystem support
172 $(eval
$(call KernelPackage
,fs-minix
))
175 define KernelPackage
/fs-msdos
177 TITLE
:=MSDOS filesystem support
178 KCONFIG
:=CONFIG_MSDOS_FS
179 FILES
:=$(LINUX_DIR
)/fs
/fat
/msdos.ko
180 AUTOLOAD
:=$(call AutoLoad
,40,msdos
)
181 $(call AddDepends
/nls
)
184 define KernelPackage
/fs-msdos
/description
185 Kernel module for MSDOS filesystem support
188 $(eval
$(call KernelPackage
,fs-msdos
))
191 define KernelPackage
/fs-nfs
193 TITLE
:=NFS filesystem support
194 DEPENDS
:=+kmod-fs-nfs-common
197 CONFIG_NFS_USE_LEGACY_DNS
=n \
198 CONFIG_NFS_USE_NEW_IDMAPPER
=n
200 $(LINUX_DIR
)/fs
/nfs
/nfs.ko
201 AUTOLOAD
:=$(call AutoLoad
,40,nfs
)
204 define KernelPackage
/fs-nfs
/description
205 Kernel module for NFS support
208 $(eval
$(call KernelPackage
,fs-nfs
))
211 define KernelPackage
/fs-nfs-common
213 TITLE
:=Common NFS filesystem modules
218 $(LINUX_DIR
)/fs
/lockd
/lockd.ko \
219 $(LINUX_DIR
)/net
/sunrpc
/sunrpc.ko
220 AUTOLOAD
:=$(call AutoLoad
,30,sunrpc lockd
)
223 $(eval
$(call KernelPackage
,fs-nfs-common
))
226 define KernelPackage
/fs-nfs-common-v4
228 TITLE
:=Common NFS V4 filesystem modules
234 FILES
+=$(LINUX_DIR
)/net
/sunrpc
/auth_gss
/auth_rpcgss.ko
235 AUTOLOAD
=$(call AutoLoad
,30,auth_rpcgss
)
238 define KernelPackage
/fs-nfs-common-v4
/description
239 Kernel modules for NFS V4
& NFSD V4 kernel support
242 $(eval
$(call KernelPackage
,fs-nfs-common-v4
))
245 define KernelPackage
/fs-nfsd
247 TITLE
:=NFS kernel server support
248 DEPENDS
:=+kmod-fs-nfs-common
+kmod-fs-exportfs
251 CONFIG_NFSD_FAULT_INJECTION
=n
252 FILES
:=$(LINUX_DIR
)/fs
/nfsd
/nfsd.ko
253 AUTOLOAD
:=$(call AutoLoad
,40,nfsd
)
256 define KernelPackage
/fs-nfsd
/description
257 Kernel module for NFS kernel server support
260 $(eval
$(call KernelPackage
,fs-nfsd
))
263 define KernelPackage
/fs-ntfs
265 TITLE
:=NTFS filesystem support
266 KCONFIG
:=CONFIG_NTFS_FS
267 FILES
:=$(LINUX_DIR
)/fs
/ntfs
/ntfs.ko
268 AUTOLOAD
:=$(call AutoLoad
,30,ntfs
)
269 $(call AddDepends
/nls
)
272 define KernelPackage
/fs-ntfs
/description
273 Kernel module for NTFS filesystem support
276 $(eval
$(call KernelPackage
,fs-ntfs
))
279 define KernelPackage
/fs-reiserfs
281 TITLE
:=ReiserFS filesystem support
282 KCONFIG
:=CONFIG_REISERFS_FS
283 FILES
:=$(LINUX_DIR
)/fs
/reiserfs
/reiserfs.ko
284 AUTOLOAD
:=$(call AutoLoad
,30,reiserfs
,1)
287 define KernelPackage
/fs-reiserfs
/description
288 Kernel module for ReiserFS support
291 $(eval
$(call KernelPackage
,fs-reiserfs
))
294 define KernelPackage
/fs-udf
296 TITLE
:=UDF filesystem support
297 KCONFIG
:=CONFIG_UDF_FS
298 FILES
:=$(LINUX_DIR
)/fs
/udf
/udf.ko
299 AUTOLOAD
:=$(call AutoLoad
,30,udf
)
300 DEPENDS
:=+kmod-lib-crc-itu-t
301 $(call AddDepends
/nls
)
304 define KernelPackage
/fs-udf
/description
305 Kernel module for UDF filesystem support
308 $(eval
$(call KernelPackage
,fs-udf
))
311 define KernelPackage
/fs-vfat
313 TITLE
:=VFAT filesystem support
318 $(LINUX_DIR
)/fs
/fat
/fat.ko \
319 $(LINUX_DIR
)/fs
/fat
/vfat.ko
320 AUTOLOAD
:=$(call AutoLoad
,30,fat vfat
)
321 $(call AddDepends
/nls
)
324 define KernelPackage
/fs-vfat
/description
325 Kernel module for VFAT filesystem support
328 $(eval
$(call KernelPackage
,fs-vfat
))
331 define KernelPackage
/fs-xfs
333 TITLE
:=XFS filesystem support
334 KCONFIG
:=CONFIG_XFS_FS
335 DEPENDS
:= +kmod-fs-exportfs @
!avr32
336 FILES
:=$(LINUX_DIR
)/fs
/xfs
/xfs.ko
337 AUTOLOAD
:=$(call AutoLoad
,30,xfs
,1)
340 define KernelPackage
/fs-xfs
/description
341 Kernel module for XFS support
344 $(eval
$(call KernelPackage
,fs-xfs
))