summaryrefslogtreecommitdiff
path: root/support/kconfig/patches/01-kconfig-kernel-to-btbb.patch
diff options
context:
space:
mode:
Diffstat (limited to 'support/kconfig/patches/01-kconfig-kernel-to-btbb.patch')
-rw-r--r--support/kconfig/patches/01-kconfig-kernel-to-btbb.patch108
1 files changed, 108 insertions, 0 deletions
diff --git a/support/kconfig/patches/01-kconfig-kernel-to-btbb.patch b/support/kconfig/patches/01-kconfig-kernel-to-btbb.patch
new file mode 100644
index 0000000..d8dd7ac
--- /dev/null
+++ b/support/kconfig/patches/01-kconfig-kernel-to-btbb.patch
@@ -0,0 +1,108 @@
+---
+ confdata.c | 4 ++--
+ gconf.glade | 2 +-
+ mconf.c | 4 ++--
+ zconf.tab.c_shipped | 2 +-
+ zconf.y | 2 +-
+ 5 files changed, 7 insertions(+), 7 deletions(-)
+
+Index: kconfig/gconf.glade
+===================================================================
+--- kconfig.orig/gconf.glade 2013-12-27 22:14:32.395629843 +0100
++++ kconfig/gconf.glade 2013-12-27 22:14:32.387630158 +0100
+@@ -4,7 +4,7 @@
+
+ <widget class="GtkWindow" id="window1">
+ <property name="visible">True</property>
+- <property name="title" translatable="yes">Gtk Kernel Configurator</property>
++ <property name="title" translatable="yes">Gtk Tizen Building Block Configurator</property>
+ <property name="type">GTK_WINDOW_TOPLEVEL</property>
+ <property name="window_position">GTK_WIN_POS_NONE</property>
+ <property name="modal">False</property>
+Index: kconfig/mconf.c
+===================================================================
+--- kconfig.orig/mconf.c 2013-12-27 22:14:32.395629843 +0100
++++ kconfig/mconf.c 2013-12-27 22:14:42.179244153 +0100
+@@ -176,9 +176,9 @@
+ "Arrow keys navigate the menu. "
+ "<Enter> selects submenus ---> (or empty submenus ----). "
+ "Highlighted letters are hotkeys. "
+- "Pressing <Y> includes, <N> excludes, <M> modularizes features. "
++ "Pressing <Y> selects a feature, while <N> excludes a feature. "
+ "Press <Esc><Esc> to exit, <?> for Help, </> for Search. "
+- "Legend: [*] built-in [ ] excluded <M> module < > module capable"),
++ "Legend: [*] feature is selected [ ] feature is excluded"),
+ radiolist_instructions[] = N_(
+ "Use the arrow keys to navigate this window or "
+ "press the hotkey of the item you wish to select "
+@@ -959,7 +959,7 @@
+ if (conf_get_changed())
+ res = dialog_yesno(NULL,
+ _("Do you wish to save your new configuration?\n"
+- "(Press <ESC><ESC> to continue kernel configuration.)"),
+- 6, 60);
++ "(Press <ESC><ESC> to continue Tizen Building Block configuration.)"),
++ 6, 75);
+ else
+ res = -1;
+Index: kconfig/zconf.tab.c_shipped
+===================================================================
+--- kconfig.orig/zconf.tab.c_shipped 2013-12-27 22:14:32.395629843 +0100
++++ kconfig/zconf.tab.c_shipped 2013-12-27 22:14:32.391630000 +0100
+@@ -2297,7 +2297,7 @@
+
+ sym_init();
+ _menu_init();
+- rootmenu.prompt = menu_add_prompt(P_MENU, "Linux Kernel Configuration", NULL);
++ rootmenu.prompt = menu_add_prompt(P_MENU, "Tizen Building Block Configuration", NULL);
+
+ if (getenv("ZCONF_DEBUG"))
+ zconfdebug = 1;
+Index: kconfig/zconf.y
+===================================================================
+--- kconfig.orig/zconf.y 2013-12-27 22:14:32.395629843 +0100
++++ kconfig/zconf.y 2013-12-27 22:14:32.391630000 +0100
+@@ -493,7 +493,7 @@
+
+ sym_init();
+ _menu_init();
+- rootmenu.prompt = menu_add_prompt(P_MENU, "Linux Kernel Configuration", NULL);
++ rootmenu.prompt = menu_add_prompt(P_MENU, "Tizen Building Block Configuration", NULL);
+
+ if (getenv("ZCONF_DEBUG"))
+ zconfdebug = 1;
+Index: kconfig/confdata.c
+===================================================================
+--- kconfig.orig/confdata.c 2013-12-27 22:14:32.395629843 +0100
++++ kconfig/confdata.c 2013-12-27 22:14:32.391630000 +0100
+@@ -25,7 +25,7 @@
+ static const char *conf_filename;
+ static int conf_lineno, conf_warnings, conf_unsaved;
+
+-const char conf_defname[] = "arch/$ARCH/defconfig";
++const char conf_defname[] = ".defconfig";
+
+ static void conf_warning(const char *fmt, ...)
+ {
+@@ -63,7 +63,7 @@
+
+ const char *conf_get_configname(void)
+ {
+- char *name = getenv("KCONFIG_CONFIG");
++ char *name = getenv("TBB_CONFIG");
+
+ return name ? name : ".config";
+ }
+Index: kconfig/qconf.cc
+===================================================================
+--- kconfig.orig/qconf.cc 2013-12-27 22:12:15.825013567 +0100
++++ kconfig/qconf.cc 2013-12-27 22:14:57.826627300 +0100
+@@ -70,7 +70,7 @@
+ }
+
+ ConfigSettings::ConfigSettings()
+- : QSettings("kernel.org", "qconf")
++ : QSettings("tizen.org", "qconf")
+ {
+ }
+