linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] [PATCH] Add 'make' with no target as preferred build command
@ 2003-05-26 17:29 Paulo Andre'
  2003-05-26 20:34 ` Sam Ravnborg
  0 siblings, 1 reply; 4+ messages in thread
From: Paulo Andre' @ 2003-05-26 17:29 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 435 bytes --]

Hello,

It seems for 2.5/2.6 'make' is the preferred command for building the
kernel tree (also stated in davej's 2.6 "what to expect" document). That
scenario however isn't even presented when the user finishes the kernel
configuration. This is a simple patch to scripts/kconfig/mconf.c which
tackles that, perhaps not in the best fashion but certainly in the
simplest.

Applies on top of bk-curr. Please consider.


		Paulo Andre'



[-- Attachment #2: patch-scripts_kconfig_mconf.c.diff --]
[-- Type: text/plain, Size: 571 bytes --]

--- linux-2.5-vanilla/scripts/kconfig/mconf.c	2003-03-24 22:00:10.000000000 +0000
+++ linux-2.5/scripts/kconfig/mconf.c	2003-05-26 12:49:13.000000000 +0100
@@ -781,7 +781,7 @@
 		printf("\n\n"
 			"*** End of Linux kernel configuration.\n"
 			"*** Check the top-level Makefile for additional configuration.\n"
-			"*** Next, you may run 'make bzImage', 'make bzdisk', or 'make install'.\n\n");
+			"*** Next, you may run 'make', 'make bzImage', 'make bzdisk', or 'make install'.\n\n");
 	} else
 		printf("\n\nYour kernel configuration changes were NOT saved.\n\n");
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC] [PATCH] Add 'make' with no target as preferred build command
  2003-05-26 17:29 [RFC] [PATCH] Add 'make' with no target as preferred build command Paulo Andre'
@ 2003-05-26 20:34 ` Sam Ravnborg
  2003-05-26 22:38   ` Paulo Andre'
  2003-05-28 16:37   ` Roman Zippel
  0 siblings, 2 replies; 4+ messages in thread
From: Sam Ravnborg @ 2003-05-26 20:34 UTC (permalink / raw)
  To: Paulo Andre'; +Cc: Linus Torvalds, linux-kernel, Roman Zippel

On Mon, May 26, 2003 at 06:29:07PM +0100, Paulo Andre' wrote:
> Hello,
> 
> It seems for 2.5/2.6 'make' is the preferred command for building the
> kernel tree (also stated in davej's 2.6 "what to expect" document). That
> scenario however isn't even presented when the user finishes the kernel
> configuration. This is a simple patch to scripts/kconfig/mconf.c which
> tackles that, perhaps not in the best fashion but certainly in the
> simplest.

If we really want this boilerplate text then bzImage should not be
present. It is i386 centric.
Revised patch below. Also made it a bit more readable by wrapping
a long line.

Roman Zippel cc:ed as he is the kconfig maintainer.

	Sam

===== scripts/kconfig/mconf.c 1.5 vs edited =====
--- 1.5/scripts/kconfig/mconf.c	Sat Mar 15 18:25:55 2003
+++ edited/scripts/kconfig/mconf.c	Mon May 26 22:30:47 2003
@@ -780,10 +780,12 @@
 		conf_write(NULL);
 		printf("\n\n"
 			"*** End of Linux kernel configuration.\n"
-			"*** Check the top-level Makefile for additional configuration.\n"
-			"*** Next, you may run 'make bzImage', 'make bzdisk', or 'make install'.\n\n");
+			"*** Execute 'make' to build the kernel"
+		        " or try 'make help'.\n\n");
 	} else
-		printf("\n\nYour kernel configuration changes were NOT saved.\n\n");
+		printf("\n\n"
+			"*** Your kernel configuration changes were NOT saved."
+			"\n\n");
 
 	return 0;
 }

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC] [PATCH] Add 'make' with no target as preferred build command
  2003-05-26 20:34 ` Sam Ravnborg
@ 2003-05-26 22:38   ` Paulo Andre'
  2003-05-28 16:37   ` Roman Zippel
  1 sibling, 0 replies; 4+ messages in thread
From: Paulo Andre' @ 2003-05-26 22:38 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: Linus Torvalds, linux-kernel, Roman Zippel

On Mon, 26 May 2003 22:34:43 +0200
Sam Ravnborg <sam@ravnborg.org> wrote:

> If we really want this boilerplate text then bzImage should not be
> present. It is i386 centric.
> Revised patch below. Also made it a bit more readable by wrapping
> a long line.

Agreed.

> Roman Zippel cc:ed as he is the kconfig maintainer.

I apologize for not having cc'ed Roman Zippel in the first place. It
sounded like too simple a fix. My bad, and for that I'm sorry.

		Paulo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC] [PATCH] Add 'make' with no target as preferred build command
  2003-05-26 20:34 ` Sam Ravnborg
  2003-05-26 22:38   ` Paulo Andre'
@ 2003-05-28 16:37   ` Roman Zippel
  1 sibling, 0 replies; 4+ messages in thread
From: Roman Zippel @ 2003-05-28 16:37 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: Paulo Andre', linux-kernel

Hi,

On Mon, 26 May 2003, Sam Ravnborg wrote:

> If we really want this boilerplate text then bzImage should not be
> present. It is i386 centric.
> Revised patch below. Also made it a bit more readable by wrapping
> a long line.

Looks good, thanks.

bye, Roman


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-05-28 16:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-26 17:29 [RFC] [PATCH] Add 'make' with no target as preferred build command Paulo Andre'
2003-05-26 20:34 ` Sam Ravnborg
2003-05-26 22:38   ` Paulo Andre'
2003-05-28 16:37   ` Roman Zippel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).