fs.mk 8.31 KB
Newer Older
1
#
2
# Copyright (C) 2006-2011 OpenWrt.org
3
4
5
6
7
8
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

FS_MENU:=Filesystems
nbd's avatar
nbd committed
9

10
define KernelPackage/fs-autofs4
11
  SUBMENU:=$(FS_MENU)
12
  TITLE:=AUTOFS4 filesystem support
13
  KCONFIG:=CONFIG_AUTOFS4_FS
14
  FILES:=$(LINUX_DIR)/fs/autofs4/autofs4.ko
15
  AUTOLOAD:=$(call AutoLoad,30,autofs4)
nbd's avatar
nbd committed
16
endef
17

18
define KernelPackage/fs-autofs4/description
19
 Kernel module for AutoFS4 support
20
21
endef

22
$(eval $(call KernelPackage,fs-autofs4))
nbd's avatar
nbd committed
23

24

25
define KernelPackage/fs-btrfs
26
  SUBMENU:=$(FS_MENU)
27
  TITLE:=BTRFS filesystem support
wigyori's avatar
wigyori committed
28
  DEPENDS:=+kmod-lib-crc32c +kmod-lib-lzo +kmod-lib-zlib +(LINUX_3_9||LINUX_3_10||LINUX_3_12):kmod-lib-raid6 +(LINUX_3_9||LINUX_3_10||LINUX_3_12):kmod-lib-xor
29
30
  KCONFIG:=\
	CONFIG_BTRFS_FS \
31
32
	CONFIG_BTRFS_FS_POSIX_ACL=n \
	CONFIG_BTRFS_FS_CHECK_INTEGRITY=n
33
  FILES:=\
34
35
	$(LINUX_DIR)/fs/btrfs/btrfs.ko
  AUTOLOAD:=$(call AutoLoad,30,btrfs,1)
nbd's avatar
nbd committed
36
endef
37

38
define KernelPackage/fs-btrfs/description
39
 Kernel module for BTRFS support
40
41
endef

42
$(eval $(call KernelPackage,fs-btrfs))
nbd's avatar
nbd committed
43

44

45
define KernelPackage/fs-cifs
46
  SUBMENU:=$(FS_MENU)
47
  TITLE:=CIFS support
48
49
50
51
  KCONFIG:= \
	CONFIG_CIFS \
	CONFIG_CIFS_DFS_UPCALL=n \
	CONFIG_CIFS_UPCALL=n
52
  FILES:=$(LINUX_DIR)/fs/cifs/cifs.ko
53
  AUTOLOAD:=$(call AutoLoad,30,cifs)
54
  $(call AddDepends/nls)
55
  DEPENDS+= \
56
57
58
    +kmod-crypto-arc4 \
    +kmod-crypto-hmac \
    +kmod-crypto-md5 \
59
60
    +kmod-crypto-md4 \
    +kmod-crypto-des \
61
62
    +kmod-crypto-ecb \
    +!LINUX_3_3&&!LINUX_3_6:kmod-crypto-sha256
florian's avatar
florian committed
63
endef
64

65
66
define KernelPackage/fs-cifs/description
 Kernel module for CIFS support
67
68
endef

69
$(eval $(call KernelPackage,fs-cifs))
florian's avatar
florian committed
70

71

72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
define KernelPackage/fs-configfs
  SUBMENU:=$(FS_MENU)
  TITLE:=Configuration filesystem support
  KCONFIG:= \
	CONFIG_CONFIGFS_FS
  FILES:=$(LINUX_DIR)/fs/configfs/configfs.ko
  AUTOLOAD:=$(call AutoLoad,30,configfs)
endef

define KernelPackage/fs-configfs/description
 Kernel module for configfs support
endef

$(eval $(call KernelPackage,fs-configfs))


88
define KernelPackage/fs-exportfs
nbd's avatar
nbd committed
89
  SUBMENU:=$(FS_MENU)
90
91
  TITLE:=exportfs kernel server support
  KCONFIG:=CONFIG_EXPORTFS
92
  FILES=$(LINUX_DIR)/fs/exportfs/exportfs.ko
hauke's avatar
hauke committed
93
  AUTOLOAD:=$(call AutoLoad,20,exportfs,1)
nbd's avatar
nbd committed
94
95
endef

96
97
define KernelPackage/fs-exportfs/description
 Kernel module for exportfs. Needed for some other modules.
nbd's avatar
nbd committed
98
endef
99
100
101

$(eval $(call KernelPackage,fs-exportfs))

nbd's avatar
nbd committed
102

florian's avatar
florian committed
103
104
105
106
define KernelPackage/fs-ext4
  SUBMENU:=$(FS_MENU)
  TITLE:=EXT4 filesystem support
  KCONFIG:= \
hauke's avatar
hauke committed
107
108
	CONFIG_EXT4_FS \
	CONFIG_JBD2
florian's avatar
florian committed
109
  FILES:= \
110
	$(LINUX_DIR)/fs/ext4/ext4.ko \
111
	$(LINUX_DIR)/fs/jbd2/jbd2.ko \
112
	$(LINUX_DIR)/fs/mbcache.ko
113
  AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1)
114
  $(call AddDepends/crc16, +!LINUX_3_3:kmod-crypto-hash)
florian's avatar
florian committed
115
116
117
118
119
120
121
122
123
endef

define KernelPackage/fs-ext4/description
 Kernel module for EXT4 filesystem support
endef

$(eval $(call KernelPackage,fs-ext4))


nbd's avatar
nbd committed
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
define KernelPackage/fuse
  SUBMENU:=$(FS_MENU)
  TITLE:=FUSE (Filesystem in Userspace) support
  KCONFIG:= CONFIG_FUSE_FS
  FILES:=$(LINUX_DIR)/fs/fuse/fuse.ko
  AUTOLOAD:=$(call AutoLoad,80,fuse)
endef

define KernelPackage/fuse/description
 Kernel module for userspace filesystem support
endef

$(eval $(call KernelPackage,fuse))


139
define KernelPackage/fs-hfs
140
  SUBMENU:=$(FS_MENU)
141
  TITLE:=HFS filesystem support
142
  KCONFIG:=CONFIG_HFS_FS
143
  FILES:=$(LINUX_DIR)/fs/hfs/hfs.ko
144
  AUTOLOAD:=$(call AutoLoad,30,hfs)
145
  $(call AddDepends/nls)
146
endef
147

148
149
150
151
define KernelPackage/fs-hfs/description
 Kernel module for HFS filesystem support
endef

152
153
154
$(eval $(call KernelPackage,fs-hfs))


nbd's avatar
nbd committed
155
define KernelPackage/fs-hfsplus
156
  SUBMENU:=$(FS_MENU)
nbd's avatar
nbd committed
157
  TITLE:=HFS+ filesystem support
158
  KCONFIG:=CONFIG_HFSPLUS_FS
159
  FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.ko
160
  AUTOLOAD:=$(call AutoLoad,30,hfsplus)
161
  $(call AddDepends/nls,utf8)
nbd's avatar
nbd committed
162
endef
163

164
165
166
167
define KernelPackage/fs-hfsplus/description
 Kernel module for HFS+ filesystem support
endef

nbd's avatar
nbd committed
168
169
$(eval $(call KernelPackage,fs-hfsplus))

170

171
define KernelPackage/fs-isofs
172
  SUBMENU:=$(FS_MENU)
173
  TITLE:=ISO9660 filesystem support
174
  DEPENDS:=+kmod-lib-zlib
175
  KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
176
  FILES:=$(LINUX_DIR)/fs/isofs/isofs.ko
177
  AUTOLOAD:=$(call AutoLoad,30,isofs)
178
  $(call AddDepends/nls)
179
endef
180

181
182
183
184
define KernelPackage/fs-isofs/description
 Kernel module for ISO9660 filesystem support
endef

185
186
$(eval $(call KernelPackage,fs-isofs))

187

188
define KernelPackage/fs-minix
189
  SUBMENU:=$(FS_MENU)
190
191
  TITLE:=Minix filesystem support
  KCONFIG:=CONFIG_MINIX_FS
192
  FILES:=$(LINUX_DIR)/fs/minix/minix.ko
193
  AUTOLOAD:=$(call AutoLoad,30,minix)
194
195
endef

196
197
198
define KernelPackage/fs-minix/description
 Kernel module for Minix filesystem support
endef
199

200
$(eval $(call KernelPackage,fs-minix))
201

202
203

define KernelPackage/fs-msdos
204
  SUBMENU:=$(FS_MENU)
205
  TITLE:=MSDOS filesystem support
206
  DEPENDS:=+kmod-fs-vfat
207
  KCONFIG:=CONFIG_MSDOS_FS
208
  FILES:=$(LINUX_DIR)/fs/fat/msdos.ko
209
  AUTOLOAD:=$(call AutoLoad,40,msdos)
210
  $(call AddDepends/nls)
hauke's avatar
hauke committed
211
212
endef

213
214
215
216
217
define KernelPackage/fs-msdos/description
 Kernel module for MSDOS filesystem support
endef

$(eval $(call KernelPackage,fs-msdos))
218

219

nbd's avatar
nbd committed
220
define KernelPackage/fs-nfs
221
  SUBMENU:=$(FS_MENU)
nbd's avatar
nbd committed
222
  TITLE:=NFS filesystem support
223
  DEPENDS:=+kmod-fs-nfs-common
224
  KCONFIG:= \
225
226
227
	CONFIG_NFS_FS \
	CONFIG_NFS_USE_LEGACY_DNS=n \
	CONFIG_NFS_USE_NEW_IDMAPPER=n
nbd's avatar
nbd committed
228
  FILES:= \
229
230
231
	$(LINUX_DIR)/fs/nfs/nfs.ko \
	$(LINUX_DIR)/fs/nfs/nfsv3.ko
  AUTOLOAD:=$(call AutoLoad,40,nfs nfsv3)
nbd's avatar
nbd committed
232
endef
233

234
235
236
237
define KernelPackage/fs-nfs/description
 Kernel module for NFS support
endef

nbd's avatar
nbd committed
238
239
$(eval $(call KernelPackage,fs-nfs))

240

241
define KernelPackage/fs-nfs-common
hauke's avatar
hauke committed
242
  SUBMENU:=$(FS_MENU)
243
244
245
246
247
  TITLE:=Common NFS filesystem modules
  KCONFIG:= \
	CONFIG_LOCKD \
	CONFIG_SUNRPC
  FILES:= \
248
249
	$(LINUX_DIR)/fs/lockd/lockd.ko \
	$(LINUX_DIR)/net/sunrpc/sunrpc.ko
250
  AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd)
hauke's avatar
hauke committed
251
252
endef

253
254
255
256
257
258
259
260
261
262
$(eval $(call KernelPackage,fs-nfs-common))


define KernelPackage/fs-nfs-common-v4
  SUBMENU:=$(FS_MENU)
  TITLE:=Common NFS V4 filesystem modules
  KCONFIG+=\
	CONFIG_SUNRPC_GSS\
	CONFIG_NFS_V4=y\
	CONFIG_NFSD_V4=y
263
  DEPENDS:= @BROKEN
264
  FILES+=$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko
265
  AUTOLOAD=$(call AutoLoad,30,auth_rpcgss)
hauke's avatar
hauke committed
266
267
endef

268
269
270
271
272
define KernelPackage/fs-nfs-common-v4/description
 Kernel modules for NFS V4 & NFSD V4 kernel support
endef

$(eval $(call KernelPackage,fs-nfs-common-v4))
hauke's avatar
hauke committed
273
274


275
define KernelPackage/fs-nfsd
276
  SUBMENU:=$(FS_MENU)
277
  TITLE:=NFS kernel server support
278
  DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs
279
280
281
  KCONFIG:= \
	CONFIG_NFSD \
	CONFIG_NFSD_FAULT_INJECTION=n
282
  FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
283
  AUTOLOAD:=$(call AutoLoad,40,nfsd)
284
285
endef

286
287
288
289
define KernelPackage/fs-nfsd/description
 Kernel module for NFS kernel server support
endef

290
291
$(eval $(call KernelPackage,fs-nfsd))

292
293

define KernelPackage/fs-ntfs
294
  SUBMENU:=$(FS_MENU)
295
296
  TITLE:=NTFS filesystem support
  KCONFIG:=CONFIG_NTFS_FS
297
  FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.ko
298
  AUTOLOAD:=$(call AutoLoad,30,ntfs)
299
  $(call AddDepends/nls)
300
endef
301

302
303
define KernelPackage/fs-ntfs/description
 Kernel module for NTFS filesystem support
304
305
endef

306
$(eval $(call KernelPackage,fs-ntfs))
307

308

309
310
311
312
define KernelPackage/fs-reiserfs
  SUBMENU:=$(FS_MENU)
  TITLE:=ReiserFS filesystem support
  KCONFIG:=CONFIG_REISERFS_FS
313
  FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.ko
314
  AUTOLOAD:=$(call AutoLoad,30,reiserfs,1)
315
316
317
318
319
320
321
322
endef

define KernelPackage/fs-reiserfs/description
 Kernel module for ReiserFS support
endef

$(eval $(call KernelPackage,fs-reiserfs))

323
324
325
326
327

define KernelPackage/fs-udf
  SUBMENU:=$(FS_MENU)
  TITLE:=UDF filesystem support
  KCONFIG:=CONFIG_UDF_FS
328
  FILES:=$(LINUX_DIR)/fs/udf/udf.ko
329
  AUTOLOAD:=$(call AutoLoad,30,udf)
330
  DEPENDS:=+kmod-lib-crc-itu-t
331
  $(call AddDepends/nls)
332
333
334
335
336
337
338
339
340
endef

define KernelPackage/fs-udf/description
 Kernel module for UDF filesystem support
endef

$(eval $(call KernelPackage,fs-udf))


nbd's avatar
nbd committed
341
define KernelPackage/fs-vfat
342
  SUBMENU:=$(FS_MENU)
nbd's avatar
nbd committed
343
  TITLE:=VFAT filesystem support
344
345
346
  KCONFIG:= \
	CONFIG_FAT_FS \
	CONFIG_VFAT_FS
nbd's avatar
nbd committed
347
  FILES:= \
348
349
	$(LINUX_DIR)/fs/fat/fat.ko \
	$(LINUX_DIR)/fs/fat/vfat.ko
350
  AUTOLOAD:=$(call AutoLoad,30,fat vfat)
351
  $(call AddDepends/nls)
nbd's avatar
nbd committed
352
endef
353

354
355
356
357
define KernelPackage/fs-vfat/description
 Kernel module for VFAT filesystem support
endef

nbd's avatar
nbd committed
358
359
$(eval $(call KernelPackage,fs-vfat))

360

nbd's avatar
nbd committed
361
define KernelPackage/fs-xfs
362
  SUBMENU:=$(FS_MENU)
nbd's avatar
nbd committed
363
  TITLE:=XFS filesystem support
364
  KCONFIG:=CONFIG_XFS_FS
365
  DEPENDS:= +kmod-fs-exportfs +kmod-lib-crc32c @!avr32
366
  FILES:=$(LINUX_DIR)/fs/xfs/xfs.ko
367
  AUTOLOAD:=$(call AutoLoad,30,xfs,1)
nbd's avatar
nbd committed
368
endef
369

370
371
372
373
define KernelPackage/fs-xfs/description
 Kernel module for XFS support
endef

nbd's avatar
nbd committed
374
$(eval $(call KernelPackage,fs-xfs))