| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 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:= \ |
| 139 | $(LINUX_DIR)/fs/nls/nls_cp932.ko \ |
| 140 | $(LINUX_DIR)/fs/nls/nls_euc-jp.ko |
| 141 | AUTOLOAD:=$(call AutoLoad,25,nls_cp932 nls_euc-jp) |
| 142 | $(call AddDepends/nls) |
| 143 | endef |
| 144 | |
| 145 | define KernelPackage/nls-cp932/description |
| 146 | Kernel module for NLS Codepage 932 (Japanese) |
| 147 | endef |
| 148 | |
| 149 | $(eval $(call KernelPackage,nls-cp932)) |
| 150 | |
| 151 | |
| 152 | define KernelPackage/nls-cp936 |
| 153 | SUBMENU:=Native Language Support |
| 154 | TITLE:=Codepage 936 (Simplified Chinese) |
| 155 | KCONFIG:=CONFIG_NLS_CODEPAGE_936 |
| 156 | FILES:=$(LINUX_DIR)/fs/nls/nls_cp936.ko |
| 157 | AUTOLOAD:=$(call AutoLoad,25,nls_cp936) |
| 158 | $(call AddDepends/nls) |
| 159 | endef |
| 160 | |
| 161 | define KernelPackage/nls-cp936/description |
| 162 | Kernel module for NLS Codepage 936 (Simplified Chinese) |
| 163 | endef |
| 164 | |
| 165 | $(eval $(call KernelPackage,nls-cp936)) |
| 166 | |
| 167 | |
| 168 | define KernelPackage/nls-cp950 |
| 169 | SUBMENU:=Native Language Support |
| 170 | TITLE:=Codepage 950 (Traditional Chinese) |
| 171 | KCONFIG:=CONFIG_NLS_CODEPAGE_950 |
| 172 | FILES:=$(LINUX_DIR)/fs/nls/nls_cp950.ko |
| 173 | AUTOLOAD:=$(call AutoLoad,25,nls_cp950) |
| 174 | $(call AddDepends/nls) |
| 175 | endef |
| 176 | |
| 177 | define KernelPackage/nls-cp950/description |
| 178 | Kernel module for NLS Codepage 950 (Traditional Chinese) |
| 179 | endef |
| 180 | |
| 181 | $(eval $(call KernelPackage,nls-cp950)) |
| 182 | |
| 183 | |
| 184 | define KernelPackage/nls-cp1250 |
| 185 | SUBMENU:=Native Language Support |
| 186 | TITLE:=Codepage 1250 (Eastern Europe) |
| 187 | KCONFIG:=CONFIG_NLS_CODEPAGE_1250 |
| 188 | FILES:=$(LINUX_DIR)/fs/nls/nls_cp1250.ko |
| 189 | AUTOLOAD:=$(call AutoLoad,25,nls_cp1250) |
| 190 | $(call AddDepends/nls) |
| 191 | endef |
| 192 | |
| 193 | define KernelPackage/nls-cp1250/description |
| 194 | Kernel module for NLS Codepage 1250 (Eastern Europe) |
| 195 | endef |
| 196 | |
| 197 | $(eval $(call KernelPackage,nls-cp1250)) |
| 198 | |
| 199 | |
| 200 | define KernelPackage/nls-cp1251 |
| 201 | SUBMENU:=Native Language Support |
| 202 | TITLE:=Codepage 1251 (Russian) |
| 203 | KCONFIG:=CONFIG_NLS_CODEPAGE_1251 |
| 204 | FILES:=$(LINUX_DIR)/fs/nls/nls_cp1251.ko |
| 205 | AUTOLOAD:=$(call AutoLoad,25,nls_cp1251) |
| 206 | $(call AddDepends/nls) |
| 207 | endef |
| 208 | |
| 209 | define KernelPackage/nls-cp1251/description |
| 210 | Kernel module for NLS Codepage 1251 (Russian) |
| 211 | endef |
| 212 | |
| 213 | $(eval $(call KernelPackage,nls-cp1251)) |
| 214 | |
| 215 | |
| 216 | define KernelPackage/nls-iso8859-1 |
| 217 | SUBMENU:=Native Language Support |
| 218 | TITLE:=ISO 8859-1 (Latin 1; Western European Languages) |
| 219 | KCONFIG:=CONFIG_NLS_ISO8859_1 |
| 220 | FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-1.ko |
| 221 | AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-1) |
| 222 | $(call AddDepends/nls) |
| 223 | endef |
| 224 | |
| 225 | define KernelPackage/nls-iso8859-1/description |
| 226 | Kernel module for NLS ISO 8859-1 (Latin 1) |
| 227 | endef |
| 228 | |
| 229 | $(eval $(call KernelPackage,nls-iso8859-1)) |
| 230 | |
| 231 | |
| 232 | define KernelPackage/nls-iso8859-2 |
| 233 | SUBMENU:=Native Language Support |
| 234 | TITLE:=ISO 8859-2 (Latin 2; Central European Languages) |
| 235 | KCONFIG:=CONFIG_NLS_ISO8859_2 |
| 236 | FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-2.ko |
| 237 | AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-2) |
| 238 | $(call AddDepends/nls) |
| 239 | endef |
| 240 | |
| 241 | define KernelPackage/nls-iso8859-2/description |
| 242 | Kernel module for NLS ISO 8859-2 (Latin 2) |
| 243 | endef |
| 244 | |
| 245 | $(eval $(call KernelPackage,nls-iso8859-2)) |
| 246 | |
| 247 | |
| 248 | define KernelPackage/nls-iso8859-6 |
| 249 | SUBMENU:=Native Language Support |
| 250 | TITLE:=ISO 8859-6 (Arabic) |
| 251 | KCONFIG:=CONFIG_NLS_ISO8859_6 |
| 252 | FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-6.ko |
| 253 | AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-6) |
| 254 | $(call AddDepends/nls) |
| 255 | endef |
| 256 | |
| 257 | define KernelPackage/nls-iso8859-6/description |
| 258 | Kernel module for NLS ISO 8859-6 (Arabic) |
| 259 | endef |
| 260 | |
| 261 | $(eval $(call KernelPackage,nls-iso8859-6)) |
| 262 | |
| 263 | |
| 264 | define KernelPackage/nls-iso8859-8 |
| 265 | SUBMENU:=Native Language Support |
| 266 | TITLE:=ISO 8859-8, CP1255 (Hebrew) |
| 267 | KCONFIG:=CONFIG_NLS_ISO8859_8 |
| 268 | FILES:=$(LINUX_DIR)/fs/nls/nls_cp1255.ko |
| 269 | AUTOLOAD:=$(call AutoLoad,25,nls_cp1255) |
| 270 | $(call AddDepends/nls) |
| 271 | endef |
| 272 | |
| 273 | define KernelPackage/nls-iso8859-8/description |
| 274 | Kernel module for Hebrew charsets (ISO-8859-8, CP1255) |
| 275 | endef |
| 276 | |
| 277 | $(eval $(call KernelPackage,nls-iso8859-8)) |
| 278 | |
| 279 | |
| 280 | define KernelPackage/nls-iso8859-13 |
| 281 | SUBMENU:=Native Language Support |
| 282 | TITLE:=ISO 8859-13 (Latin 7; Baltic) |
| 283 | KCONFIG:=CONFIG_NLS_ISO8859_13 |
| 284 | FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-13.ko |
| 285 | AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-13) |
| 286 | $(call AddDepends/nls) |
| 287 | endef |
| 288 | |
| 289 | define KernelPackage/nls-iso8859-13/description |
| 290 | Kernel module for NLS ISO 8859-13 (Latin 7; Baltic) |
| 291 | endef |
| 292 | |
| 293 | $(eval $(call KernelPackage,nls-iso8859-13)) |
| 294 | |
| 295 | |
| 296 | define KernelPackage/nls-iso8859-15 |
| 297 | SUBMENU:=Native Language Support |
| 298 | TITLE:=ISO 8859-15 (Latin 9; Western, with Euro symbol) |
| 299 | KCONFIG:=CONFIG_NLS_ISO8859_15 |
| 300 | FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-15.ko |
| 301 | AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-15) |
| 302 | $(call AddDepends/nls) |
| 303 | endef |
| 304 | |
| 305 | define KernelPackage/nls-iso8859-15/description |
| 306 | Kernel module for NLS ISO 8859-15 (Latin 9) |
| 307 | endef |
| 308 | |
| 309 | $(eval $(call KernelPackage,nls-iso8859-15)) |
| 310 | |
| 311 | |
| 312 | define KernelPackage/nls-koi8r |
| 313 | SUBMENU:=Native Language Support |
| 314 | TITLE:=KOI8-R (Russian) |
| 315 | KCONFIG:=CONFIG_NLS_KOI8_R |
| 316 | FILES:=$(LINUX_DIR)/fs/nls/nls_koi8-r.ko |
| 317 | AUTOLOAD:=$(call AutoLoad,25,nls_koi8-r) |
| 318 | $(call AddDepends/nls) |
| 319 | endef |
| 320 | |
| 321 | define KernelPackage/nls-koi8r/description |
| 322 | Kernel module for NLS KOI8-R (Russian) |
| 323 | endef |
| 324 | |
| 325 | $(eval $(call KernelPackage,nls-koi8r)) |
| 326 | |
| 327 | |
| 328 | define KernelPackage/nls-utf8 |
| 329 | SUBMENU:=Native Language Support |
| 330 | TITLE:=UTF-8 |
| 331 | KCONFIG:=CONFIG_NLS_UTF8 |
| 332 | FILES:=$(LINUX_DIR)/fs/nls/nls_utf8.ko |
| 333 | AUTOLOAD:=$(call AutoLoad,25,nls_utf8) |
| 334 | $(call AddDepends/nls) |
| 335 | endef |
| 336 | |
| 337 | define KernelPackage/nls-utf8/description |
| 338 | Kernel module for NLS UTF-8 |
| 339 | endef |
| 340 | |
| 341 | $(eval $(call KernelPackage,nls-utf8)) |
| 342 | |
| 343 | |
| 344 | define KernelPackage/nls-ucs2-utils |
| 345 | SUBMENU:=Native Language Support |
| 346 | TITLE:=UCS-2 common library |
| 347 | DEPENDS+=@LINUX_6_6 |
| 348 | HIDDEN:=1 |
| 349 | KCONFIG:=CONFIG_NLS_UCS2_UTILS |
| 350 | FILES:=$(LINUX_DIR)/fs/nls/nls_ucs2_utils.ko |
| 351 | $(call AddDepends/nls) |
| 352 | endef |
| 353 | |
| 354 | define KernelPackage/nls-ucs2-utils/description |
| 355 | UCS-2 common library |
| 356 | endef |
| 357 | |
| 358 | $(eval $(call KernelPackage,nls-ucs2-utils)) |