Created
March 25, 2016 14:15
-
-
Save plntyk/4667f026132547955b80 to your computer and use it in GitHub Desktop.
set FAT_DEFAULT_CODEPAGE FAT_DEFAULT_IOCHARSET via OpenWrt menuconfig/vars
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 381f2c361831b0fb0b3fa8fd79d3f3565f0c9008 Mon Sep 17 00:00:00 2001 | |
From: Dirk Neukirchen <dirkneukirchen@web.de> | |
Date: Wed, 23 Mar 2016 14:01:06 +0100 | |
Subject: [PATCH] WIP: vfat changes | |
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> | |
--- | |
config/Config-kernel.in | 18 ++++++++++++++++++ | |
target/linux/generic/config-3.18 | 2 -- | |
target/linux/generic/config-4.1 | 2 -- | |
target/linux/generic/config-4.3 | 2 -- | |
target/linux/generic/config-4.4 | 2 -- | |
5 files changed, 18 insertions(+), 8 deletions(-) | |
diff --git a/config/Config-kernel.in b/config/Config-kernel.in | |
index 8ea11ed..f5dafca 100644 | |
--- a/config/Config-kernel.in | |
+++ b/config/Config-kernel.in | |
@@ -624,3 +624,21 @@ if KERNEL_IP_PNP | |
def_bool y | |
endif | |
+ | |
+# | |
+# VFAT related symbols | |
+# | |
+config KERNEL_VFAT_DEFAULTS | |
+ bool "Change vfat defaults" | |
+ default n | |
+ | |
+if KERNEL_VFAT_DEFAULTS | |
+ | |
+ config KERNEL_FAT_DEFAULT_CODEPAGE | |
+ int "vfat default codepage" | |
+ default 437 | |
+ config KERNEL_FAT_DEFAULT_IOCHARSET | |
+ string "vfat default iocharset" | |
+ default "iso8859-1" | |
+ | |
+endif | |
diff --git a/target/linux/generic/config-3.18 b/target/linux/generic/config-3.18 | |
index c2fedc5..0957d87 100644 | |
--- a/target/linux/generic/config-3.18 | |
+++ b/target/linux/generic/config-3.18 | |
@@ -1011,8 +1011,6 @@ CONFIG_EXTRA_TARGETS="" | |
# CONFIG_F2FS_FS is not set | |
# CONFIG_FAIR_GROUP_SCHED is not set | |
# CONFIG_FANOTIFY is not set | |
-CONFIG_FAT_DEFAULT_CODEPAGE=437 | |
-CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | |
# CONFIG_FAT_FS is not set | |
# CONFIG_FAULT_INJECTION is not set | |
# CONFIG_FB is not set | |
diff --git a/target/linux/generic/config-4.1 b/target/linux/generic/config-4.1 | |
index 3247b24..784b7ed 100644 | |
--- a/target/linux/generic/config-4.1 | |
+++ b/target/linux/generic/config-4.1 | |
@@ -1048,8 +1048,6 @@ CONFIG_EXTRA_TARGETS="" | |
# CONFIG_F2FS_IO_TRACE is not set | |
# CONFIG_FAIR_GROUP_SCHED is not set | |
# CONFIG_FANOTIFY is not set | |
-CONFIG_FAT_DEFAULT_CODEPAGE=437 | |
-CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | |
# CONFIG_FAT_FS is not set | |
# CONFIG_FAULT_INJECTION is not set | |
# CONFIG_FB is not set | |
diff --git a/target/linux/generic/config-4.3 b/target/linux/generic/config-4.3 | |
index 5a7ee07..c90aa10 100644 | |
--- a/target/linux/generic/config-4.3 | |
+++ b/target/linux/generic/config-4.3 | |
@@ -1076,8 +1076,6 @@ CONFIG_EXTRA_TARGETS="" | |
# CONFIG_F2FS_IO_TRACE is not set | |
# CONFIG_FAIR_GROUP_SCHED is not set | |
# CONFIG_FANOTIFY is not set | |
-CONFIG_FAT_DEFAULT_CODEPAGE=437 | |
-CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | |
# CONFIG_FAT_FS is not set | |
# CONFIG_FAULT_INJECTION is not set | |
# CONFIG_FB is not set | |
diff --git a/target/linux/generic/config-4.4 b/target/linux/generic/config-4.4 | |
index d6dae94..4882516 100644 | |
--- a/target/linux/generic/config-4.4 | |
+++ b/target/linux/generic/config-4.4 | |
@@ -1039,8 +1039,6 @@ CONFIG_EXTRA_TARGETS="" | |
# CONFIG_F2FS_IO_TRACE is not set | |
# CONFIG_FAIR_GROUP_SCHED is not set | |
# CONFIG_FANOTIFY is not set | |
-CONFIG_FAT_DEFAULT_CODEPAGE=437 | |
-CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | |
# CONFIG_FAT_FS is not set | |
# CONFIG_FAULT_INJECTION is not set | |
# CONFIG_FB is not set | |
-- | |
2.7.4 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment