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