Do it the other way 2.4 has no nls-base dependency 2.6 has (#2222)
[openwrt/svn-archive/archive.git] / package / kernel / modules / fs.mk
1 FSMENU:=Filesystems
2
3 define KernelPackage/fs-cifs
4 TITLE:=CIFS support
5 DESCRIPTION:=Kernel module for CIFS support
6 KCONFIG:=CONFIG_CIFS
7 DEPENDS:=+kmod-nls-base
8 SUBMENU:=$(FSMENU)
9 AUTOLOAD:=$(call AutoLoad,30,cifs)
10 FILES:=$(LINUX_DIR)/fs/cifs/cifs.$(LINUX_KMOD_SUFFIX)
11 endef
12
13 define KernelPackage/fs-cifs/2.4
14 DEPENDS:=
15 endef
16 $(eval $(call KernelPackage,fs-cifs))
17
18 define KernelPackage/fs-minix
19 TITLE:=Minix filesystem support
20 DESCRIPTION:=Kernel module for Minix filesystem support
21 KCONFIG:=CONFIG_MINIX_FS
22 SUBMENU:=$(FSMENU)
23 AUTOLOAD:=$(call AutoLoad,30,minix)
24 FILES:=$(LINUX_DIR)/fs/minix/minix.$(LINUX_KMOD_SUFFIX)
25 endef
26 $(eval $(call KernelPackage,fs-minix))
27
28 define KernelPackage/fs-ntfs
29 TITLE:=NTFS filesystem support
30 DESCRIPTION:=Kernel module for NTFS filesystem support
31 KCONFIG:=CONFIG_NTFS_FS
32 SUBMENU:=$(FSMENU)
33 AUTOLOAD:=$(call AutoLoad,30,ntfs)
34 FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.$(LINUX_KMOD_SUFFIX)
35 endef
36 $(eval $(call KernelPackage,fs-ntfs))
37
38 define KernelPackage/fs-ext2
39 TITLE:=EXT2 filesystem support
40 DESCRIPTION:=Kernel module for EXT2 filesystem support
41 KCONFIG:=CONFIG_EXT2_FS
42 SUBMENU:=$(FSMENU)
43 AUTOLOAD:=$(call AutoLoad,30,ext2)
44 FILES:=$(LINUX_DIR)/fs/ext2/ext2.$(LINUX_KMOD_SUFFIX)
45 endef
46 $(eval $(call KernelPackage,fs-ext2))
47
48 define KernelPackage/fs-ext3
49 TITLE:=EXT3 filesystem support
50 DESCRIPTION:=Kernel module for EXT3 filesystem support
51 KCONFIG:=CONFIG_EXT3_FS
52 SUBMENU:=$(FSMENU)
53 AUTOLOAD:=$(call AutoLoad,30,jbd ext3)
54 FILES:= \
55 $(LINUX_DIR)/fs/jbd/jbd.$(LINUX_KMOD_SUFFIX) \
56 $(LINUX_DIR)/fs/ext3/ext3.$(LINUX_KMOD_SUFFIX)
57 endef
58 $(eval $(call KernelPackage,fs-ext3))
59
60 define KernelPackage/fs-hfs
61 TITLE:=HFS+ filesystem support
62 DESCRIPTION:=Kernel module for HFS filesystem support
63 KCONFIG:=CONFIG_HFS_FS
64 DEPENDS:=+kmod-nls-base
65 SUBMENU:=$(FSMENU)
66 AUTOLOAD:=$(call AutoLoad,30,hfs)
67 FILES:=$(LINUX_DIR)/fs/hfs/hfs.$(LINUX_KMOD_SUFFIX)
68 endef
69 define KernelPackage/fs-hfs/2.4
70 DEPENDS:=
71 endef
72 $(eval $(call KernelPackage,fs-hfs))
73
74
75 define KernelPackage/fs-hfsplus
76 TITLE:=HFS+ filesystem support
77 DESCRIPTION:=Kernel module for HFS+ filesystem support
78 KCONFIG:=CONFIG_HFSPLUS_FS
79 DEPENDS:=+kmod-nls-base
80 SUBMENU:=$(FSMENU)
81 AUTOLOAD:=$(call AutoLoad,30,hfsplus)
82 FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.$(LINUX_KMOD_SUFFIX)
83 endef
84
85 define KernelPackage/fs-hfsplus/2.4
86 DEPENDS:=
87 endef
88 $(eval $(call KernelPackage,fs-hfsplus))
89
90 define KernelPackage/fs-isofs
91 TITLE:=ISO9660 filesystem support
92 DESCRIPTION:=Kernel module for ISO9660 filesystem support
93 KCONFIG:=CONFIG_ISO9660_FS
94 DEPENDS:=+kmod-nls-base
95 SUBMENU:=$(FSMENU)
96 AUTOLOAD:=$(call AutoLoad,30,isofs)
97 FILES:=$(LINUX_DIR)/fs/isofs/isofs.$(LINUX_KMOD_SUFFIX)
98 endef
99
100 define Kernel/Package/fs-isofs/2.4
101 DEPENDS:=
102 endef
103 $(eval $(call KernelPackage,fs-isofs))
104
105 define KernelPackage/fs-udf
106 TITLE:=UDF filesystem support
107 DESCRIPTION:=Kernel module for UDF filesystem support
108 KCONFIG:=CONFIG_UDF_FS
109 DEPENDS:=+kmod-nls-base
110 SUBMENU:=$(FSMENU)
111 AUTOLOAD:=$(call AutoLoad,30,udf)
112 FILES:=$(LINUX_DIR)/fs/udf/udf.$(LINUX_KMOD_SUFFIX)
113 endef
114
115 define KernelPackage/fs-udf/2.4
116 DEPENDS:=
117 endef
118 $(eval $(call KernelPackage,fs-udf))
119
120 define KernelPackage/fs-nfs
121 TITLE:=NFS filesystem support
122 DESCRIPTION:=Kernel module for NFS support
123 KCONFIG:=CONFIG_NFS_FS
124 SUBMENU:=$(FSMENU)
125 AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd nfs)
126 FILES:= \
127 $(LINUX_DIR)/net/sunrpc/sunrpc.$(LINUX_KMOD_SUFFIX) \
128 $(LINUX_DIR)/fs/lockd/lockd.$(LINUX_KMOD_SUFFIX) \
129 $(LINUX_DIR)/fs/nfs/nfs.$(LINUX_KMOD_SUFFIX)
130 endef
131 $(eval $(call KernelPackage,fs-nfs))
132
133 define KernelPackage/fs-nfsd
134 TITLE:=NFS kernel server support
135 DESCRIPTION:=Kernel module for NFS kernel server support
136 KCONFIG:=CONFIG_NFSD
137 SUBMENU:=$(FSMENU)
138 FILES:= \
139 $(LINUX_DIR)/fs/nfsd/nfsd.$(LINUX_KMOD_SUFFIX)
140 endef
141
142 define KernelPackage/fs-nfsd/2.4
143 AUTOLOAD:=$(call AutoLoad,30,nfsd)
144 endef
145
146 define KernelPackage/fs-nfsd/2.6
147 FILES+=$(LINUX_DIR)/fs/exportfs/exportfs.$(LINUX_KMOD_SUFFIX)
148 AUTOLOAD:=$(call AutoLoad,30,exportfs nfsd)
149 endef
150
151 $(eval $(call KernelPackage,fs-nfsd))
152
153 define KernelPackage/fs-msdos
154 TITLE:=MSDOS filesystem support
155 DESCRIPTION:=Kernel module for MSDOS filesystem support
156 KCONFIG:=CONFIG_MSDOS_FS
157 DEPENDS:=+kmod-nls-base
158 SUBMENU:=$(FSMENU)
159 AUTOLOAD:=$(call AutoLoad,40,msdos)
160 FILES:= \
161 $(LINUX_DIR)/fs/msdos/msdos.$(LINUX_KMOD_SUFFIX)
162 endef
163
164 define KernelPackage/fs-msdos/2.4
165 DEPENDS:=
166 endef
167 $(eval $(call KernelPackage,fs-msdos))
168
169 define KernelPackage/fs-vfat
170 TITLE:=VFAT filesystem support
171 DESCRIPTION:=Kernel module for VFAT filesystem support
172 KCONFIG:=CONFIG_VFAT_FS
173 DEPENDS:=+kmod-nls-base
174 SUBMENU:=$(FSMENU)
175 AUTOLOAD:=$(call AutoLoad,30,fat vfat)
176 FILES:= \
177 $(LINUX_DIR)/fs/fat/fat.$(LINUX_KMOD_SUFFIX) \
178 $(LINUX_DIR)/fs/vfat/vfat.$(LINUX_KMOD_SUFFIX)
179 endef
180
181 define KernelPackage/fs-vfat/2.4
182 DEPENDS:=
183 endef
184 $(eval $(call KernelPackage,fs-vfat))
185
186 define KernelPackage/fs-xfs
187 TITLE:=XFS filesystem support
188 DESCRIPTION:=Kernel module for XFS support
189 KCONFIG:=CONFIG_XFS_FS
190 SUBMENU:=$(FSMENU)
191 AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd xfs)
192 FILES:= \
193 $(LINUX_DIR)/fs/xfs/xfs.$(LINUX_KMOD_SUFFIX)
194 endef
195 $(eval $(call KernelPackage,fs-xfs))
196
197
198 define KernelPackage/nls-base
199 TITLE:=Native Language Support
200 DESCRIPTION:=Kernel module for Native Language Support
201 KCONFIG:=CONFIG_NLS
202 SUBMENU:=$(FSMENU)
203 MENU:=1
204 FILES:=$(LINUX_DIR)/fs/nls/nls_base.$(LINUX_KMOD_SUFFIX)
205 AUTOLOAD:=$(call AutoLoad,20,nls_base)
206 endef
207 $(eval $(call KernelPackage,nls-base))
208
209
210 define KernelPackage/nls-cp437
211 TITLE:=Codepage 437 (United States, Canada)
212 DESCRIPTION:=Kernel module for NLS Codepage 437 (United States, Canada)
213 KCONFIG:=CONFIG_NLS_CODEPAGE_437
214 DEPENDS:=+kmod-nls-base
215 SUBMENU:=$(FSMENU)
216 FILES:=$(LINUX_DIR)/fs/nls/nls_cp437.$(LINUX_KMOD_SUFFIX)
217 AUTOLOAD:=$(call AutoLoad,25,nls_cp437)
218 endef
219
220 define KernelPackage/nfs-c437/2.4
221 DEPENDS:=
222 endef
223 $(eval $(call KernelPackage,nls-cp437))
224
225
226 define KernelPackage/nls-cp850
227 TITLE:=Codepage 850 (Europe)
228 DESCRIPTION:=Kernel module for NLS Codepage 850 (Europe)
229 KCONFIG:=CONFIG_NLS_CODEPAGE_850
230 DEPENDS:=+kmod-nls-base
231 SUBMENU:=$(FSMENU)
232 FILES:=$(LINUX_DIR)/fs/nls/nls_cp850.$(LINUX_KMOD_SUFFIX)
233 AUTOLOAD:=$(call AutoLoad,25,nls_cp850)
234 endef
235
236 define KernelPackage/nls-cp850/2.4
237 DEPENDS:=
238 endef
239 $(eval $(call KernelPackage,nls-cp850))
240
241 define KernelPackage/nls-cp1250
242 TITLE:=Codepage 1250 (Eastern Europe)
243 DESCRIPTION:=Kernel module for NLS Codepage 1250 (Eastern Europe)
244 KCONFIG:=CONFIG_NLS_CODEPAGE_1250
245 DEPENDS:=+kmod-nls-base
246 SUBMENU:=$(FSMENU)
247 FILES:=$(LINUX_DIR)/fs/nls/nls_cp1250.$(LINUX_KMOD_SUFFIX)
248 AUTOLOAD:=$(call AutoLoad,25,nls_cp1250)
249 endef
250
251 define KernelPackage/nls-cp1250/2.4
252 DEPENDS:=
253 endef
254 $(eval $(call KernelPackage,nls-cp1250))
255
256 define KernelPackage/nls-iso8859-1
257 TITLE:=ISO 8859-1 (Latin 1; Western European Languages)
258 DESCRIPTION:=Kernel module for ISO 8859-1 (Latin 1)
259 KCONFIG:=CONFIG_NLS_ISO8859_1
260 DEPENDS:=+kmod-nls-base
261 SUBMENU:=$(FSMENU)
262 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-1.$(LINUX_KMOD_SUFFIX)
263 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-1)
264 endef
265
266 define KernelPackage/nls-iso8859-1/2.4
267 DEPENDS:=
268 endef
269 $(eval $(call KernelPackage,nls-iso8859-1))
270
271 define KernelPackage/nls-iso8859-2
272 TITLE:=ISO 8859-2 (Latin 2; Central European Languages)
273 DESCRIPTION:=Kernel module for ISO 8859-2 (Latin 2)
274 KCONFIG:=CONFIG_NLS_ISO8859_2
275 DEPENDS:=+kmod-nls-base
276 SUBMENU:=$(FSMENU)
277 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-2.$(LINUX_KMOD_SUFFIX)
278 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-2)
279 endef
280
281 define KernelPackage/nls-iso8859-2/2.4
282 DEPENDS:=
283 endef
284 $(eval $(call KernelPackage,nls-iso8859-2))
285
286 define KernelPackage/nls-iso8859-15
287 TITLE:=ISO 8859-15 (Latin 9; Western, with Euro symbol)
288 DESCRIPTION:=Kernel module for ISO 8859-15 (Latin 9)
289 KCONFIG:=CONFIG_NLS_ISO8859_15
290 DEPENDS:=+kmod-nls-base
291 SUBMENU:=$(FSMENU)
292 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-15.$(LINUX_KMOD_SUFFIX)
293 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-15)
294 endef
295
296 define KernelPackage/nls-iso8859-15/2.4
297 DEPENDS:=
298 endef
299 $(eval $(call KernelPackage,nls-iso8859-15))
300
301 define KernelPackage/nls-koi8r
302 TITLE:=KOI8-R (Russian)
303 DESCRIPTION:=Kernel module for KOI8-R (Russian)
304 KCONFIG:=CONFIG_NLS_KOI8_R
305 DEPENDS:=+kmod-nls-base
306 SUBMENU:=$(FSMENU)
307 FILES:=$(LINUX_DIR)/fs/nls/nls_koi8-r.$(LINUX_KMOD_SUFFIX)
308 AUTOLOAD:=$(call AutoLoad,25,nls_koi8-r)
309 endef
310
311 define KernelPackage/nls-koi8r/2.4
312 DEPENDS:=
313 endef
314 $(eval $(call KernelPackage,nls-koi8r))
315
316 define KernelPackage/nls-utf8
317 TITLE:=UTF8
318 DESCRIPTION:=Kernel module for NLS UTF8
319 KCONFIG:=CONFIG_NLS_UTF8
320 DEPENDS:=+kmod-nls-base
321 SUBMENU:=$(FSMENU)
322 FILES:=$(LINUX_DIR)/fs/nls/nls_utf8.$(LINUX_KMOD_SUFFIX)
323 AUTOLOAD:=$(call AutoLoad,25,nls_utf8)
324 endef
325
326 define KernelPackage/nls-utf8/2.4
327 DEPENDS:=
328 endef
329 $(eval $(call KernelPackage,nls-utf8))
330
331