kernel: add Chinese codepages
[openwrt/openwrt.git] / package / kernel / linux / modules / nls.mk
1 #
2 # Copyright (C) 2006-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 define KernelPackage/nls-base
9 SUBMENU:=Native Language Support
10 TITLE:=Native Language Support
11 KCONFIG:=CONFIG_NLS
12 FILES:=$(LINUX_DIR)/fs/nls/nls_base.ko
13 endef
14
15 define KernelPackage/nls-base/description
16 Kernel module for NLS (Native Language Support)
17 endef
18
19 $(eval $(call KernelPackage,nls-base))
20
21
22 define KernelPackage/nls-cp437
23 SUBMENU:=Native Language Support
24 TITLE:=Codepage 437 (United States, Canada)
25 KCONFIG:=CONFIG_NLS_CODEPAGE_437
26 FILES:=$(LINUX_DIR)/fs/nls/nls_cp437.ko
27 AUTOLOAD:=$(call AutoLoad,25,nls_cp437)
28 $(call AddDepends/nls)
29 endef
30
31 define KernelPackage/nls-cp437/description
32 Kernel module for NLS Codepage 437 (United States, Canada)
33 endef
34
35 $(eval $(call KernelPackage,nls-cp437))
36
37
38 define KernelPackage/nls-cp775
39 SUBMENU:=Native Language Support
40 TITLE:=Codepage 775 (Baltic Rim)
41 KCONFIG:=CONFIG_NLS_CODEPAGE_775
42 FILES:=$(LINUX_DIR)/fs/nls/nls_cp775.ko
43 AUTOLOAD:=$(call AutoLoad,25,nls_cp775)
44 $(call AddDepends/nls)
45 endef
46
47 define KernelPackage/nls-cp775/description
48 Kernel module for NLS Codepage 775 (Baltic Rim)
49 endef
50
51 $(eval $(call KernelPackage,nls-cp775))
52
53
54 define KernelPackage/nls-cp850
55 SUBMENU:=Native Language Support
56 TITLE:=Codepage 850 (Europe)
57 KCONFIG:=CONFIG_NLS_CODEPAGE_850
58 FILES:=$(LINUX_DIR)/fs/nls/nls_cp850.ko
59 AUTOLOAD:=$(call AutoLoad,25,nls_cp850)
60 $(call AddDepends/nls)
61 endef
62
63 define KernelPackage/nls-cp850/description
64 Kernel module for NLS Codepage 850 (Europe)
65 endef
66
67 $(eval $(call KernelPackage,nls-cp850))
68
69
70 define KernelPackage/nls-cp852
71 SUBMENU:=Native Language Support
72 TITLE:=Codepage 852 (Europe)
73 KCONFIG:=CONFIG_NLS_CODEPAGE_852
74 FILES:=$(LINUX_DIR)/fs/nls/nls_cp852.ko
75 AUTOLOAD:=$(call AutoLoad,25,nls_cp852)
76 $(call AddDepends/nls)
77 endef
78
79 define KernelPackage/nls-cp852/description
80 Kernel module for NLS Codepage 852 (Europe)
81 endef
82
83 $(eval $(call KernelPackage,nls-cp852))
84
85
86 define KernelPackage/nls-cp862
87 SUBMENU:=Native Language Support
88 TITLE:=Codepage 862 (Hebrew)
89 KCONFIG:=CONFIG_NLS_CODEPAGE_862
90 FILES:=$(LINUX_DIR)/fs/nls/nls_cp862.ko
91 AUTOLOAD:=$(call AutoLoad,25,nls_cp862)
92 $(call AddDepends/nls)
93 endef
94
95 define KernelPackage/nls-cp862/description
96 Kernel module for NLS Codepage 862 (Hebrew)
97 endef
98
99 $(eval $(call KernelPackage,nls-cp862))
100
101
102 define KernelPackage/nls-cp864
103 SUBMENU:=Native Language Support
104 TITLE:=Codepage 864 (Arabic)
105 KCONFIG:=CONFIG_NLS_CODEPAGE_864
106 FILES:=$(LINUX_DIR)/fs/nls/nls_cp864.ko
107 AUTOLOAD:=$(call AutoLoad,25,nls_cp864)
108 $(call AddDepends/nls)
109 endef
110
111 define KernelPackage/nls-cp864/description
112 Kernel module for NLS Codepage 864 (Arabic)
113 endef
114
115 $(eval $(call KernelPackage,nls-cp864))
116
117
118 define KernelPackage/nls-cp866
119 SUBMENU:=Native Language Support
120 TITLE:=Codepage 866 (Cyrillic)
121 KCONFIG:=CONFIG_NLS_CODEPAGE_866
122 FILES:=$(LINUX_DIR)/fs/nls/nls_cp866.ko
123 AUTOLOAD:=$(call AutoLoad,25,nls_cp866)
124 $(call AddDepends/nls)
125 endef
126
127 define KernelPackage/nls-cp866/description
128 Kernel module for NLS Codepage 866 (Cyrillic)
129 endef
130
131 $(eval $(call KernelPackage,nls-cp866))
132
133
134 define KernelPackage/nls-cp932
135 SUBMENU:=Native Language Support
136 TITLE:=Codepage 932 (Japanese)
137 KCONFIG:=CONFIG_NLS_CODEPAGE_932
138 FILES:=$(LINUX_DIR)/fs/nls/nls_cp932.ko
139 AUTOLOAD:=$(call AutoLoad,25,nls_cp932)
140 $(call AddDepends/nls)
141 endef
142
143 define KernelPackage/nls-cp932/description
144 Kernel module for NLS Codepage 932 (Japanese)
145 endef
146
147 $(eval $(call KernelPackage,nls-cp932))
148
149
150 define KernelPackage/nls-cp936
151 SUBMENU:=Native Language Support
152 TITLE:=Codepage 936 (Simplified Chinese)
153 KCONFIG:=CONFIG_NLS_CODEPAGE_936
154 FILES:=$(LINUX_DIR)/fs/nls/nls_cp936.ko
155 AUTOLOAD:=$(call AutoLoad,25,nls_cp936)
156 $(call AddDepends/nls)
157 endef
158
159 define KernelPackage/nls-cp936/description
160 Kernel module for NLS Codepage 936 (Simplified Chinese)
161 endef
162
163 $(eval $(call KernelPackage,nls-cp936))
164
165
166 define KernelPackage/nls-cp950
167 SUBMENU:=Native Language Support
168 TITLE:=Codepage 950 (Traditional Chinese)
169 KCONFIG:=CONFIG_NLS_CODEPAGE_950
170 FILES:=$(LINUX_DIR)/fs/nls/nls_cp950.ko
171 AUTOLOAD:=$(call AutoLoad,25,nls_cp950)
172 $(call AddDepends/nls)
173 endef
174
175 define KernelPackage/nls-cp950/description
176 Kernel module for NLS Codepage 950 (Traditional Chinese)
177 endef
178
179 $(eval $(call KernelPackage,nls-cp950))
180
181
182 define KernelPackage/nls-cp1250
183 SUBMENU:=Native Language Support
184 TITLE:=Codepage 1250 (Eastern Europe)
185 KCONFIG:=CONFIG_NLS_CODEPAGE_1250
186 FILES:=$(LINUX_DIR)/fs/nls/nls_cp1250.ko
187 AUTOLOAD:=$(call AutoLoad,25,nls_cp1250)
188 $(call AddDepends/nls)
189 endef
190
191 define KernelPackage/nls-cp1250/description
192 Kernel module for NLS Codepage 1250 (Eastern Europe)
193 endef
194
195 $(eval $(call KernelPackage,nls-cp1250))
196
197
198 define KernelPackage/nls-cp1251
199 SUBMENU:=Native Language Support
200 TITLE:=Codepage 1251 (Russian)
201 KCONFIG:=CONFIG_NLS_CODEPAGE_1251
202 FILES:=$(LINUX_DIR)/fs/nls/nls_cp1251.ko
203 AUTOLOAD:=$(call AutoLoad,25,nls_cp1251)
204 $(call AddDepends/nls)
205 endef
206
207 define KernelPackage/nls-cp1251/description
208 Kernel module for NLS Codepage 1251 (Russian)
209 endef
210
211 $(eval $(call KernelPackage,nls-cp1251))
212
213
214 define KernelPackage/nls-iso8859-1
215 SUBMENU:=Native Language Support
216 TITLE:=ISO 8859-1 (Latin 1; Western European Languages)
217 KCONFIG:=CONFIG_NLS_ISO8859_1
218 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-1.ko
219 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-1)
220 $(call AddDepends/nls)
221 endef
222
223 define KernelPackage/nls-iso8859-1/description
224 Kernel module for NLS ISO 8859-1 (Latin 1)
225 endef
226
227 $(eval $(call KernelPackage,nls-iso8859-1))
228
229
230 define KernelPackage/nls-iso8859-2
231 SUBMENU:=Native Language Support
232 TITLE:=ISO 8859-2 (Latin 2; Central European Languages)
233 KCONFIG:=CONFIG_NLS_ISO8859_2
234 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-2.ko
235 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-2)
236 $(call AddDepends/nls)
237 endef
238
239 define KernelPackage/nls-iso8859-2/description
240 Kernel module for NLS ISO 8859-2 (Latin 2)
241 endef
242
243 $(eval $(call KernelPackage,nls-iso8859-2))
244
245
246 define KernelPackage/nls-iso8859-6
247 SUBMENU:=Native Language Support
248 TITLE:=ISO 8859-6 (Arabic)
249 KCONFIG:=CONFIG_NLS_ISO8859_6
250 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-6.ko
251 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-6)
252 $(call AddDepends/nls)
253 endef
254
255 define KernelPackage/nls-iso8859-6/description
256 Kernel module for NLS ISO 8859-6 (Arabic)
257 endef
258
259 $(eval $(call KernelPackage,nls-iso8859-6))
260
261
262 define KernelPackage/nls-iso8859-8
263 SUBMENU:=Native Language Support
264 TITLE:=ISO 8859-8, CP1255 (Hebrew)
265 KCONFIG:=CONFIG_NLS_ISO8859_8
266 FILES:=$(LINUX_DIR)/fs/nls/nls_cp1255.ko
267 AUTOLOAD:=$(call AutoLoad,25,nls_cp1255)
268 $(call AddDepends/nls)
269 endef
270
271 define KernelPackage/nls-iso8859-8/description
272 Kernel module for Hebrew charsets (ISO-8859-8, CP1255)
273 endef
274
275 $(eval $(call KernelPackage,nls-iso8859-8))
276
277
278 define KernelPackage/nls-iso8859-13
279 SUBMENU:=Native Language Support
280 TITLE:=ISO 8859-13 (Latin 7; Baltic)
281 KCONFIG:=CONFIG_NLS_ISO8859_13
282 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-13.ko
283 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-13)
284 $(call AddDepends/nls)
285 endef
286
287 define KernelPackage/nls-iso8859-13/description
288 Kernel module for NLS ISO 8859-13 (Latin 7; Baltic)
289 endef
290
291 $(eval $(call KernelPackage,nls-iso8859-13))
292
293
294 define KernelPackage/nls-iso8859-15
295 SUBMENU:=Native Language Support
296 TITLE:=ISO 8859-15 (Latin 9; Western, with Euro symbol)
297 KCONFIG:=CONFIG_NLS_ISO8859_15
298 FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-15.ko
299 AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-15)
300 $(call AddDepends/nls)
301 endef
302
303 define KernelPackage/nls-iso8859-15/description
304 Kernel module for NLS ISO 8859-15 (Latin 9)
305 endef
306
307 $(eval $(call KernelPackage,nls-iso8859-15))
308
309
310 define KernelPackage/nls-koi8r
311 SUBMENU:=Native Language Support
312 TITLE:=KOI8-R (Russian)
313 KCONFIG:=CONFIG_NLS_KOI8_R
314 FILES:=$(LINUX_DIR)/fs/nls/nls_koi8-r.ko
315 AUTOLOAD:=$(call AutoLoad,25,nls_koi8-r)
316 $(call AddDepends/nls)
317 endef
318
319 define KernelPackage/nls-koi8r/description
320 Kernel module for NLS KOI8-R (Russian)
321 endef
322
323 $(eval $(call KernelPackage,nls-koi8r))
324
325
326 define KernelPackage/nls-utf8
327 SUBMENU:=Native Language Support
328 TITLE:=UTF-8
329 KCONFIG:=CONFIG_NLS_UTF8
330 FILES:=$(LINUX_DIR)/fs/nls/nls_utf8.ko
331 AUTOLOAD:=$(call AutoLoad,25,nls_utf8)
332 $(call AddDepends/nls)
333 endef
334
335 define KernelPackage/nls-utf8/description
336 Kernel module for NLS UTF-8
337 endef
338
339 $(eval $(call KernelPackage,nls-utf8))