1 diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
2 index 1199baf..a5f5102 100644
3 --- a/scripts/kconfig/conf.c
4 +++ b/scripts/kconfig/conf.c
5 @@ -557,8 +557,8 @@ int main(int ac, char **av)
7 if (stat(".config", &tmpstat)) {
9 - "*** You have not yet configured your kernel!\n"
10 - "*** (missing kernel .config file)\n"
11 + "*** You have not yet configured your " PROJECT_INFORMAL "!\n"
12 + "*** (missing " PROJECT_INFORMAL " .config file)\n"
14 "*** Please run some configurator (e.g. \"make oldconfig\" or\n"
15 "*** \"make menuconfig\" or \"make xconfig\").\n"
16 @@ -604,7 +604,7 @@ int main(int ac, char **av)
17 } else if (conf_get_changed()) {
18 name = getenv("KCONFIG_NOSILENTUPDATE");
20 - fprintf(stderr, _("\n*** Kernel configuration requires explicit update.\n\n"));
21 + fprintf(stderr, _("\n*** " PROJECT " configuration requires explicit update.\n\n"));
25 @@ -615,12 +615,12 @@ int main(int ac, char **av)
26 check_conf(&rootmenu);
28 if (conf_write(NULL)) {
29 - fprintf(stderr, _("\n*** Error during writing of the kernel configuration.\n\n"));
30 + fprintf(stderr, _("\n*** Error during writing of the " PROJECT_INFORMAL " configuration.\n\n"));
34 if (input_mode == ask_silent && conf_write_autoconf()) {
35 - fprintf(stderr, _("\n*** Error during writing of the kernel configuration.\n\n"));
36 + fprintf(stderr, _("\n*** Error during writing of the " PROJECT_INFORMAL " configuration.\n\n"));
40 diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
41 index 664fe29..06366ed 100644
42 --- a/scripts/kconfig/confdata.c
43 +++ b/scripts/kconfig/confdata.c
44 @@ -416,7 +416,7 @@ int conf_write(const char *name)
48 - sym = sym_lookup("KERNELVERSION", 0);
49 + sym = sym_lookup(VERSION_SYMBOL, 0);
52 env = getenv("KCONFIG_NOTIMESTAMP");
53 @@ -425,7 +425,7 @@ int conf_write(const char *name)
56 "# Automatically generated make config: don't edit\n"
57 - "# Linux kernel version: %s\n"
58 + "# " PROJECT " version: %s\n"
61 sym_get_string_value(sym),
62 @@ -672,21 +672,21 @@ int conf_write_autoconf(void)
66 - sym = sym_lookup("KERNELVERSION", 0);
67 + sym = sym_lookup(VERSION_SYMBOL, 0);
71 "# Automatically generated make config: don't edit\n"
72 - "# Linux kernel version: %s\n"
73 + "# " PROJECT " version: %s\n"
76 sym_get_string_value(sym), ctime(&now));
78 " * Automatically generated C config: don't edit\n"
79 - " * Linux kernel version: %s\n"
80 + " * " PROJECT " version: %s\n"
83 - "#define AUTOCONF_INCLUDED\n",
84 + "#define " AUTOCONF_DEFINE "\n",
85 sym_get_string_value(sym), ctime(&now));
87 for_all_symbols(i, sym) {
88 diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c
89 index 61d8166..ba62d64 100644
90 --- a/scripts/kconfig/gconf.c
91 +++ b/scripts/kconfig/gconf.c
92 @@ -271,8 +271,8 @@ void init_main_window(const gchar * glade_file)
93 /*"style", PANGO_STYLE_OBLIQUE, */
96 - sprintf(title, _("Linux Kernel v%s Configuration"),
97 - getenv("KERNELVERSION"));
98 + sprintf(title, _(PROJECT " v%s Configuration"),
99 + getenv(VERSION_SYMBOL));
100 gtk_window_set_title(GTK_WINDOW(main_wnd), title);
102 gtk_widget_show(main_wnd);
103 diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
104 index 8a07ee4..e694cda 100644
105 --- a/scripts/kconfig/lkc.h
106 +++ b/scripts/kconfig/lkc.h
111 +#include "lkc_local.h"
115 #ifndef KBUILD_NO_NLS
116 diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
117 index d0e4fa5..344f777 100644
118 --- a/scripts/kconfig/mconf.c
119 +++ b/scripts/kconfig/mconf.c
120 @@ -400,10 +400,10 @@ static void set_config_filename(const char *config_filename)
124 - sym = sym_lookup("KERNELVERSION", 0);
125 + sym = sym_lookup(VERSION_SYMBOL, 0);
127 size = snprintf(menu_backtitle, sizeof(menu_backtitle),
128 - _("%s - Linux Kernel v%s Configuration"),
129 + _("%s - " PROJECT " v%s Configuration"),
130 config_filename, sym_get_string_value(sym));
131 if (size >= sizeof(menu_backtitle))
132 menu_backtitle[sizeof(menu_backtitle)-1] = '\0';
133 @@ -931,8 +931,8 @@ int main(int ac, char **av)
137 - "*** End of Linux kernel configuration.\n"
138 - "*** Execute 'make' to build the kernel or try 'make help'."
139 + "*** End of " PROJECT " configuration.\n"
140 + "*** Execute 'make' to build the " PROJECT_INFORMAL " or try 'make help'."
144 diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c
145 index c35dcc5..004b7df 100644
146 --- a/scripts/kconfig/symbol.c
147 +++ b/scripts/kconfig/symbol.c
148 @@ -61,10 +61,10 @@ void sym_init(void)
150 sym_add_default(sym, p);
152 - sym = sym_lookup("KERNELVERSION", 0);
153 + sym = sym_lookup(VERSION_SYMBOL, 0);
154 sym->type = S_STRING;
155 sym->flags |= SYMBOL_AUTO;
156 - p = getenv("KERNELVERSION");
157 + p = getenv(VERSION_SYMBOL);
159 sym_add_default(sym, p);