source: trunk/package/kernel/modules/nls.mk @ 28668

Last change on this file since 28668 was 28668, checked in by nico, 5 years ago

package/kernel: various NLS handling fixes

  • move AddDepends/nls to 001-depends.mk for proper use by other packages (closes: #7639)
  • make kmod-usb-core use it
  • fix deps generated from its arguments (as used in kmod-fs-hfsplus)
  • Property svn:eol-style set to native
File size: 5.6 KB
Line 
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
8define 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  AUTOLOAD:=$(call AutoLoad,20,nls_base,1)
14endef
15
16define KernelPackage/nls-base/description
17 Kernel module for NLS (Native Language Support)
18endef
19
20$(eval $(call KernelPackage,nls-base))
21
22
23define KernelPackage/nls-cp437
24  SUBMENU:=Native Language Support
25  TITLE:=Codepage 437 (United States, Canada)
26  KCONFIG:=CONFIG_NLS_CODEPAGE_437
27  FILES:=$(LINUX_DIR)/fs/nls/nls_cp437.ko
28  AUTOLOAD:=$(call AutoLoad,25,nls_cp437)
29  $(call AddDepends/nls)
30endef
31
32define KernelPackage/nls-cp437/description
33 Kernel module for NLS Codepage 437 (United States, Canada)
34endef
35
36$(eval $(call KernelPackage,nls-cp437))
37
38
39define KernelPackage/nls-cp775
40  SUBMENU:=Native Language Support
41  TITLE:=Codepage 775 (Baltic Rim)
42  KCONFIG:=CONFIG_NLS_CODEPAGE_775
43  FILES:=$(LINUX_DIR)/fs/nls/nls_cp775.ko
44  AUTOLOAD:=$(call AutoLoad,25,nls_cp775)
45  $(call AddDepends/nls)
46endef
47
48define KernelPackage/nls-cp775/description
49 Kernel module for NLS Codepage 775 (Baltic Rim)
50endef
51
52$(eval $(call KernelPackage,nls-cp775))
53
54
55define KernelPackage/nls-cp850
56  SUBMENU:=Native Language Support
57  TITLE:=Codepage 850 (Europe)
58  KCONFIG:=CONFIG_NLS_CODEPAGE_850
59  FILES:=$(LINUX_DIR)/fs/nls/nls_cp850.ko
60  AUTOLOAD:=$(call AutoLoad,25,nls_cp850)
61  $(call AddDepends/nls)
62endef
63
64define KernelPackage/nls-cp850/description
65 Kernel module for NLS Codepage 850 (Europe)
66endef
67
68$(eval $(call KernelPackage,nls-cp850))
69
70
71define KernelPackage/nls-cp852
72  SUBMENU:=Native Language Support
73  TITLE:=Codepage 852 (Europe)
74  KCONFIG:=CONFIG_NLS_CODEPAGE_852
75  FILES:=$(LINUX_DIR)/fs/nls/nls_cp852.ko
76  AUTOLOAD:=$(call AutoLoad,25,nls_cp852)
77  $(call AddDepends/nls)
78endef
79
80define KernelPackage/nls-cp852/description
81 Kernel module for NLS Codepage 852 (Europe)
82endef
83
84$(eval $(call KernelPackage,nls-cp852))
85
86
87define KernelPackage/nls-cp866
88  SUBMENU:=Native Language Support
89  TITLE:=Codepage 866 (Cyrillic)
90  KCONFIG:=CONFIG_NLS_CODEPAGE_866
91  FILES:=$(LINUX_DIR)/fs/nls/nls_cp866.ko
92  AUTOLOAD:=$(call AutoLoad,25,nls_cp866)
93  $(call AddDepends/nls)
94endef
95
96define KernelPackage/nls-cp866/description
97  Kernel module for NLS Codepage 866 (Cyrillic)
98endef
99
100$(eval $(call KernelPackage,nls-cp866))
101
102
103define KernelPackage/nls-cp1250
104  SUBMENU:=Native Language Support
105  TITLE:=Codepage 1250 (Eastern Europe)
106  KCONFIG:=CONFIG_NLS_CODEPAGE_1250
107  FILES:=$(LINUX_DIR)/fs/nls/nls_cp1250.ko
108  AUTOLOAD:=$(call AutoLoad,25,nls_cp1250)
109  $(call AddDepends/nls)
110endef
111
112define KernelPackage/nls-cp1250/description
113 Kernel module for NLS Codepage 1250 (Eastern Europe)
114endef
115
116$(eval $(call KernelPackage,nls-cp1250))
117
118
119define KernelPackage/nls-cp1251
120  SUBMENU:=Native Language Support
121  TITLE:=Codepage 1251 (Russian)
122  KCONFIG:=CONFIG_NLS_CODEPAGE_1251
123  FILES:=$(LINUX_DIR)/fs/nls/nls_cp1251.ko
124  AUTOLOAD:=$(call AutoLoad,25,nls_cp1251)
125  $(call AddDepends/nls)
126endef
127
128define KernelPackage/nls-cp1251/description
129 Kernel module for NLS Codepage 1251 (Russian)
130endef
131
132$(eval $(call KernelPackage,nls-cp1251))
133
134
135define KernelPackage/nls-iso8859-1
136  SUBMENU:=Native Language Support
137  TITLE:=ISO 8859-1 (Latin 1; Western European Languages)
138  KCONFIG:=CONFIG_NLS_ISO8859_1
139  FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-1.ko
140  AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-1)
141  $(call AddDepends/nls)
142endef
143
144define KernelPackage/nls-iso8859-1/description
145 Kernel module for NLS ISO 8859-1 (Latin 1)
146endef
147
148$(eval $(call KernelPackage,nls-iso8859-1))
149
150
151define KernelPackage/nls-iso8859-2
152  SUBMENU:=Native Language Support
153  TITLE:=ISO 8859-2 (Latin 2; Central European Languages)
154  KCONFIG:=CONFIG_NLS_ISO8859_2
155  FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-2.ko
156  AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-2)
157  $(call AddDepends/nls)
158endef
159
160define KernelPackage/nls-iso8859-2/description
161 Kernel module for NLS ISO 8859-2 (Latin 2)
162endef
163
164$(eval $(call KernelPackage,nls-iso8859-2))
165
166
167define KernelPackage/nls-iso8859-13
168  SUBMENU:=Native Language Support
169  TITLE:=ISO 8859-13 (Latin 7; Baltic)
170  KCONFIG:=CONFIG_NLS_ISO8859_13
171  FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-13.ko
172  AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-13)
173  $(call AddDepends/nls)
174endef
175
176define KernelPackage/nls-iso8859-13/description
177 Kernel module for NLS ISO 8859-13 (Latin 7; Baltic)
178endef
179
180$(eval $(call KernelPackage,nls-iso8859-13))
181
182
183define KernelPackage/nls-iso8859-15
184  SUBMENU:=Native Language Support
185  TITLE:=ISO 8859-15 (Latin 9; Western, with Euro symbol)
186  KCONFIG:=CONFIG_NLS_ISO8859_15
187  FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-15.ko
188  AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-15)
189  $(call AddDepends/nls)
190endef
191
192define KernelPackage/nls-iso8859-15/description
193 Kernel module for NLS ISO 8859-15 (Latin 9)
194endef
195
196$(eval $(call KernelPackage,nls-iso8859-15))
197
198
199define KernelPackage/nls-koi8r
200  SUBMENU:=Native Language Support
201  TITLE:=KOI8-R (Russian)
202  KCONFIG:=CONFIG_NLS_KOI8_R
203  FILES:=$(LINUX_DIR)/fs/nls/nls_koi8-r.ko
204  AUTOLOAD:=$(call AutoLoad,25,nls_koi8-r)
205  $(call AddDepends/nls)
206endef
207
208define KernelPackage/nls-koi8r/description
209 Kernel module for NLS KOI8-R (Russian)
210endef
211
212$(eval $(call KernelPackage,nls-koi8r))
213
214
215define KernelPackage/nls-utf8
216  SUBMENU:=Native Language Support
217  TITLE:=UTF-8
218  KCONFIG:=CONFIG_NLS_UTF8
219  FILES:=$(LINUX_DIR)/fs/nls/nls_utf8.ko
220  AUTOLOAD:=$(call AutoLoad,25,nls_utf8)
221  $(call AddDepends/nls)
222endef
223
224define KernelPackage/nls-utf8/description
225 Kernel module for NLS UTF-8
226endef
227
228$(eval $(call KernelPackage,nls-utf8))
Note: See TracBrowser for help on using the repository browser.