summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHsing-Wang Liao <kuoruan@gmail.com>2017-02-18 14:40:58 +0800
committerJo-Philipp Wich <jo@mein.io>2017-03-01 20:37:36 +0100
commitb036a22fcc700239827b10ab0b123bc541eed415 (patch)
tree2ddb9029e0d187a6d00e565a21a3ecbf49bfd207
parentfffabd3c44137f07f8c8959c1b16ad6944bc5110 (diff)
downloadmtk-20170518-b036a22fcc700239827b10ab0b123bc541eed415.zip
mtk-20170518-b036a22fcc700239827b10ab0b123bc541eed415.tar.gz
mtk-20170518-b036a22fcc700239827b10ab0b123bc541eed415.tar.bz2
kernel: add Chinese codepages
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
-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 55c5c1a..05fce27 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)