* [PATCH] make use of NAME variable in mconf/gconf
@ 2004-02-16 14:52 DaMouse Networks
0 siblings, 0 replies; only message in thread
From: DaMouse Networks @ 2004-02-16 14:52 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 156 bytes --]
Ok, I saw you guys putting NAME stuff in the Makefile and it wasn't doing anything so I've put it into gconf/mconf for y'all :)
Hope you like it!
-DaMouse
[-- Attachment #2: menuconfig-NAME.patch --]
[-- Type: application/octet-stream, Size: 1594 bytes --]
--- a/scripts/kconfig/mconf.c 2004-02-12 22:38:15.000000000 +0000
+++ b/scripts/kconfig/mconf.c 2004-02-16 14:38:13.000000000 +0000
@@ -770,8 +770,8 @@
sym = sym_lookup("KERNELRELEASE", 0);
sym_calc_value(sym);
- sprintf(menu_backtitle, "Linux Kernel v%s Configuration",
- sym_get_string_value(sym));
+ sprintf(menu_backtitle, "Linux Kernel v%s \"%s\" Configuration",
+ sym_get_string_value(sym), getenv("NAME"));
mode = getenv("MENUCONFIG_MODE");
if (mode) {
--- a/scripts/kconfig/gconf.c 2004-02-12 22:28:26.000000000 +0000
+++ b/scripts/kconfig/gconf.c 2004-02-16 14:35:23.000000000 +0000
@@ -275,9 +275,10 @@
/*"style", PANGO_STYLE_OBLIQUE, */
NULL);
- sprintf(title, "Linux Kernel v%s.%s.%s%s Configuration",
+ sprintf(title, "Linux Kernel v%s.%s.%s%s \"%s\" Configuration",
getenv("VERSION"), getenv("PATCHLEVEL"),
- getenv("SUBLEVEL"), getenv("EXTRAVERSION"));
+ getenv("SUBLEVEL"), getenv("EXTRAVERSION"),
+ getenv("NAME"));
gtk_window_set_title(GTK_WINDOW(main_wnd), title);
gtk_widget_show(main_wnd);
--- a/Makefile 2004-02-16 14:46:27.000000000 +0000
+++ b/Makefile 2004-02-16 14:48:03.000000000 +0000
@@ -283,7 +283,7 @@
export VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION KERNELRELEASE ARCH \
CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC \
CPP AR NM STRIP OBJCOPY OBJDUMP MAKE AWK GENKSYMS PERL UTS_MACHINE \
- HOSTCXX HOSTCXXFLAGS LDFLAGS_BLOB LDFLAGS_MODULE CHECK
+ HOSTCXX HOSTCXXFLAGS LDFLAGS_BLOB LDFLAGS_MODULE CHECK NAME
export CPPFLAGS NOSTDINC_FLAGS OBJCOPYFLAGS LDFLAGS
export CFLAGS CFLAGS_KERNEL CFLAGS_MODULE
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-02-16 14:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-16 14:52 [PATCH] make use of NAME variable in mconf/gconf DaMouse Networks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®