summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2009-08-02 12:31:31 (GMT)
committerPhil Sutter <phil@nwl.cc>2009-08-02 13:46:20 (GMT)
commita9d14d2f99c232b769c423ef40e903087a3f7877 (patch)
tree837c8b67f1d99695ca1d79d11bb4106cb47e9794 /config
parent6797b1d93206b3615a22fb003f7d656a041549b9 (diff)
hook in ADK version extraction, rename some stuff
Diffstat (limited to 'config')
-rw-r--r--config/confdata.c4
-rw-r--r--config/mconf.c16
2 files changed, 10 insertions, 10 deletions
diff --git a/config/confdata.c b/config/confdata.c
index 7cc195c..e869f2d 100644
--- a/config/confdata.c
+++ b/config/confdata.c
@@ -434,7 +434,7 @@ int conf_write(const char *name)
if (!out)
return 1;
- sym = sym_lookup("KERNELVERSION", 0);
+ sym = sym_lookup("ADKVERSION", 0);
sym_calc_value(sym);
time(&now);
env = getenv("KCONFIG_NOTIMESTAMP");
@@ -689,7 +689,7 @@ int conf_write_autoconf(void)
return 1;
}
- sym = sym_lookup("KERNELVERSION", 0);
+ sym = sym_lookup("ADKVERSION", 0);
sym_calc_value(sym);
time(&now);
fprintf(out, "#\n"
diff --git a/config/mconf.c b/config/mconf.c
index 25b60bc..9516a57 100644
--- a/config/mconf.c
+++ b/config/mconf.c
@@ -364,10 +364,10 @@ static void set_config_filename(const char *config_filename)
int size;
struct symbol *sym;
- sym = sym_lookup("KERNELVERSION", 0);
+ sym = sym_lookup("ADKVERSION", 0);
sym_calc_value(sym);
size = snprintf(menu_backtitle, sizeof(menu_backtitle),
- _("%s - Linux Kernel v%s Configuration"),
+ _("%s - OpenADK v%s Configuration"),
config_filename, sym_get_string_value(sym));
if (size >= sizeof(menu_backtitle))
menu_backtitle[sizeof(menu_backtitle)-1] = '\0';
@@ -904,7 +904,7 @@ int main(int ac, char **av)
if (conf_get_changed())
res = dialog_yesno(NULL,
_("Do you wish to save your "
- "new kernel configuration?\n"
+ "new OpenADK configuration?\n"
"<ESC><ESC> to continue."),
6, 60);
else
@@ -916,20 +916,20 @@ int main(int ac, char **av)
case 0:
if (conf_write(filename)) {
fprintf(stderr, _("\n\n"
- "Error during writing of the kernel configuration.\n"
- "Your kernel configuration changes were NOT saved."
+ "Error during writing of the OpenADK configuration.\n"
+ "Your OpenADK configuration changes were NOT saved."
"\n\n"));
return 1;
}
case -1:
printf(_("\n\n"
- "*** End of Linux kernel configuration.\n"
- "*** Execute 'make' to build the kernel or try 'make help'."
+ "*** End of OpenADK configuration.\n"
+ "*** Execute 'make' to build the firmware or try 'make help'."
"\n\n"));
break;
default:
fprintf(stderr, _("\n\n"
- "Your kernel configuration changes were NOT saved."
+ "Your OpenADK configuration changes were NOT saved."
"\n\n"));
}