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