mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: DaMouse Networks <damouse@ntlworld.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] make use of NAME variable in mconf/gconf
Date: Mon, 16 Feb 2004 14:52:21 +0000	[thread overview]
Message-ID: <20040216145221.248cb1fd@EozVul.WORKGROUP> (raw)

[-- 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 

                 reply	other threads:[~2004-02-16 14:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040216145221.248cb1fd@EozVul.WORKGROUP \
    --to=damouse@ntlworld.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®