aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/nls.mk
diff options
context:
space:
mode:
authorHsing-Wang Liao <kuoruan@gmail.com>2017-02-18 14:40:58 +0800
committerJohn Crispin <john@phrozen.org>2017-02-20 09:13:52 +0100
commit2cfc40a8adb8a229bdc614cd3a3f8ceed6071331 (patch)
treeefb85878da7183e4e09753aaa701b566908edcc0 /package/kernel/linux/modules/nls.mk
parenta4def18f29e1ffd9685e39e545f74ae654a8525f (diff)
downloadupstream-2cfc40a8adb8a229bdc614cd3a3f8ceed6071331.tar.gz
upstream-2cfc40a8adb8a229bdc614cd3a3f8ceed6071331.tar.bz2
upstream-2cfc40a8adb8a229bdc614cd3a3f8ceed6071331.zip
kernel: add Chinese codepages
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
Diffstat (limited to 'package/kernel/linux/modules/nls.mk')
-rw-r--r--package/kernel/linux/modules/nls.mk32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/nls.mk b/package/kernel/linux/modules/nls.mk
index 55c5c1a8a8..05fce27bbc 100644
--- a/package/kernel/linux/modules/nls.mk
+++ b/package/kernel/linux/modules/nls.mk
@@ -147,6 +147,38 @@ endef
$(eval $(call KernelPackage,nls-cp932))
+define KernelPackage/nls-cp936
+ SUBMENU:=Native Language Support
+ TITLE:=Codepage 936 (Simplified Chinese)
+ KCONFIG:=CONFIG_NLS_CODEPAGE_936
+ FILES:=$(LINUX_DIR)/fs/nls/nls_cp936.ko
+ AUTOLOAD:=$(call AutoLoad,25,nls_cp936)
+ $(call AddDepends/nls)
+endef
+
+define KernelPackage/nls-cp936/description
+ Kernel module for NLS Codepage 936 (Simplified Chinese)
+endef
+
+$(eval $(call KernelPackage,nls-cp936))
+
+
+define KernelPackage/nls-cp950
+ SUBMENU:=Native Language Support
+ TITLE:=Codepage 950 (Traditional Chinese)
+ KCONFIG:=CONFIG_NLS_CODEPAGE_950
+ FILES:=$(LINUX_DIR)/fs/nls/nls_cp950.ko
+ AUTOLOAD:=$(call AutoLoad,25,nls_cp950)
+ $(call AddDepends/nls)
+endef
+
+define KernelPackage/nls-cp950/description
+ Kernel module for NLS Codepage 950 (Traditional Chinese)
+endef
+
+$(eval $(call KernelPackage,nls-cp950))
+
+
define KernelPackage/nls-cp1250
SUBMENU:=Native Language Support
TITLE:=Codepage 1250 (Eastern Europe)